daypress
← Journal2026-11-03 · Billy

Testing the visual builder until it broke (and shipping 0.5.1)

Shipping v0.5.0 gave Daypress dynamic theme templates, Figma-style synced symbols, mega menus, and a full media DAM. Then we spent three hours actually building pages inside Daystudio, fixed a MutationObserver microtask freeze in Symbol Sync, redesigned the universal layout and header/footer slot matrix, and shipped v0.5.1.

Shipping 0.5.0 on paper vs. three hours inside our own visual builder

Late Monday night we tagged v0.5.0, our biggest architectural leap since the initial Daystudio AST compiler. It brought five major pieces of the 1.0 roadmap into the single Rust binary:

  • Dynamic theme templates: Visual Single Post, Archive, Category, Author, and 404 layouts with live token hydration ({{post.title}}, {{post.date}}, Billy, data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNjAwIDEyMDAiIHdpZHRoPSIxNjAwIiBoZWlnaHQ9IjEyMDAiPgogIDx0aXRsZT5QbGF0ZSBJWCDigJQgRXF1aWxpYnJpdW0gJmFtcDsgRnJhY3R1cmU8L3RpdGxlPgogIDxkZWZzPgogICAgPGZpbHRlciBpZD0iZyIgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSI+CiAgICAgIDxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjg1IiBudW1PY3RhdmVzPSIzIiBzZWVkPSI3IiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+CiAgICAgIDxmZUNvbG9yTWF0cml4IHZhbHVlcz0iMCAwIDAgMCAwLjA4ICAwIDAgMCAwIDAuMDcgIDAgMCAwIDAgMC4wNiAgMCAwIDAgMC43NyAtMC4zMTUiLz4KICAgICAgPGZlQ29tcG9zaXRlIGluMj0iU291cmNlR3JhcGhpYyIgb3BlcmF0b3I9ImluIi8+CiAgICA8L2ZpbHRlcj4KICAgIDxmaWx0ZXIgaWQ9ImdyIiB4PSItNSUiIHk9Ii01J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UiIHN0cm9rZT0iI2E4NDAxYiIgc3Ryb2tlLXdpZHRoPSIyLjUiIG9wYWNpdHk9IjAuNiIvPgoKICAgIDwhLS0gSGFybW9uaWMgY29udG91ciBsb29wIGJpbmRpbmcgdGhlIGZyYWN0dXJlIGJhY2sgaW50byB1bml0eSAtLT4KICAgIDxwYXRoIGQ9Ik0gNDIwIDU2MCBDIDM4MCA3ODAsIDYyMCA5ODAsIDkyMCA5NjAgQyAxMTgwIDk0MCwgMTI2MCA3MjAsIDExNjAgNTIwIiAKICAgICAgICAgIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzE2MTcxYSIgc3Ryb2tlLXdpZHRoPSIyLjUiIHN0cm9rZS1kYXNoYXJyYXk9IjEwIDgiIG9wYWNpdHk9IjAuNDUiLz4KICA8L2c+CgogIDwhLS0gU3BlY3VsYXIgcGFwZXIgZ3JhaW4gYW5kIHRhY3RpbGUgaW5rIHRleHR1cmUgLS0+CiAgPHJlY3Qgd2lkdGg9IjE2MDAiIGhlaWdodD0iMTIwMCIgZmlsbD0iI2YzZWVlNCIgZmlsdGVyPSJ1cmwoI2dzKSIgb3BhY2l0eT0iLjU1IiBzdHlsZT0ibWl4LWJsZW5kLW1vZGU6c2NyZWVuIi8+CiAgPHJlY3Qgd2lkdGg9IjE2MDAiIGhlaWdodD0iMTIwMCIgZmlsbD0iIzAwMCIgZmlsdGVyPSJ1cmwoI2cpIi8+Cjwvc3ZnPg==).
  • Figma-style synced components (Symbols): Reusable global AST subtrees with per-instance text, image, and URL slot overrides.
  • Visual mega menus & site-wide popups: Multi-column navigation panels, top announcement bars, and slide-in conversion modals.
  • Media Library DAM (/d-admin/upload): Virtual folders and tags, in-place file replacement without changing URLs or IDs (Enable Media Replace parity), dual AVIF + WebP encoding, an interactive focal-point crop picker, sanitized SVG uploads, and an Unused Asset Scanner.
  • Built-in Let's Encrypt TLS, R2/S3 offload & OS packages: Native ACME TLS on port :443, S3/Cloudflare R2 media offload, continuous SQLite replica streaming, and .deb, .rpm, and Homebrew packages.

Every integration test in cargo test --workspace was green. Then we opened /d-admin/builder on our own website to reorganize the header navigation, move the full roadmap and feature ledger onto their own pages, and test Symbol Sync by hand. Within twenty minutes, we had a notebook full of things that passed unit tests on paper, but felt clunky, hidden, or brittle when you actually used the visual builder for three hours straight.

Unit tests prove that an API endpoint writes the right JSON into SQLite. Only sitting inside your own visual builder for three hours tells you where your workflows fight the user. Billy, Founder & Lead Engineer at Daypress
/d-admin/builder · Dogfooding Daystudio on daypress.dev with live AST nodes, Symbols & responsive breakpoints
/d-admin/builder · Dogfooding Daystudio on daypress.dev with live AST nodes, Symbols & responsive breakpoints

The first thing we noticed while restructuring daypress.dev was that cramming site headers, footers, single-post layouts, synced symbols, and announcement bars into a single admin tab made it hard to see how the whole site shell fit together. When you have a global masthead, a compact docs header, a single-dispatch template, and reusable CTA symbols, you need a clear mental model of what wraps what.

In v0.5.1, we redesigned the Theme Architecture Studio into four dedicated screens under Appearance, built to our framed-sheet editorial workspace standards:

  • Header & Footer Manager (/d-admin/headers-footers): Features a live Site Shell Blueprint bar at the top showing the active global Header, Content Layout, and Footer slots at a glance, paired with an interactive Universal Page & Route Assignment Matrix. You can assign headers and footers across system routes (All Pages, Single Posts, Category Archives, 404), apply bulk per-page overrides, or reset a page back to the global shell in 1 click.
  • Theme Layouts (/d-admin/theme-layouts): Dedicated workspace for dynamic Single Post, Single Page, Archive, and 404 templates with starter blueprints and a live token reference bar.
  • Synced Symbols (/d-admin/symbols): Global component library showing where each Symbol is used across the site and allowing 1-click binding as a Mega Menu dropdown panel.
  • Popups & Announcement Bars (/d-admin/popups): Dedicated trigger matrix for scroll-depth, time-delay, exit-intent, and cooldown rules.

We also upgraded the front-end Admin Bar on public pages so logged-in editors can inspect the active template stack (seeing exactly which Header, Dynamic Layout, and Footer rendered the current URL) and jump straight into editing either the page AST or its wrapping template in one click.

Rebuilding the mega menu canvas, pickers, page settings & navigator context menu

Next, we tackled every friction point we hit inside Daystudio while editing real pages and navigation bars:

  • Live visual mega menu canvas: In v0.5.0, configuring a mega menu meant filling out fields in the right inspector without seeing the open dropdown on the stage. In v0.5.1, selecting a nav item or clicking Edit Mega Menu on Canvas renders and pins the interactive multi-column mega menu panel directly on the Daystudio stage so you can style columns, links, badges, and bound Symbols visually.
  • In-builder Page Settings inspector: Previously, changing a page's URL slug, publication status, SEO title, meta description, OpenGraph image, or per-page Header/Footer override required backing out to /d-admin/edit. We added a dedicated Page Settings panel right inside the Daystudio topbar and inspector so you never lose your canvas state.
  • Visual Media Picker & Icon Picker modals: Typing image paths or pasting raw SVG paths into inspector inputs was a constant paper cut. Every image, background, and icon control in Daystudio now opens a searchable Media Picker (connected directly to your /d-admin/upload folders) or a categorized SVG Icon Picker.
  • Navigator right-click context menu: When working with deeply nested grids and containers in the left Navigator tree, dragging nodes around isn't always the fastest move. You can now right-click any node in the Navigator tree to duplicate it, wrap it in a Container or Grid, convert it into a Synced Symbol, copy/paste styles, or delete it.

The Symbol Sync freeze: hunting down a MutationObserver microtask loop

The most interesting bug we caught while dogfooding v0.5.0 happened when we clicked a Synced Symbol instance inside Daystudio to test per-instance slot overrides. The moment the inspector opened, the browser tab froze solid and the page got stuck loading.

When we profiled the tab, the culprit was in canvas_pro_dynamic.rs. To inject the Dynamic Data ({{...}}) token bar and the Symbol Override controls whenever the user selected a node on the canvas, we attached a MutationObserver to #daystudio-inspector:

// The bug in v0.5.0: why a synchronous boolean flag does not stop a MutationObserver loop
let isEnhancingInspector = false;
function enhanceDynamicInspector() {
  if (isEnhancingInspector) return;
  isEnhancingInspector = true;
  try {
    // Appends Symbol override cards and {{token}} buttons into #daystudio-inspector
    injectSymbolOverrideControls(inspectorEl);
  } finally {
    isEnhancingInspector = false;
  }
}

At first glance, that if (isEnhancingInspector) return; guard looks like it should prevent infinite recursion. And if MutationObserver fired synchronously like a legacy DOM mutation event, it would! But MutationObserver callbacks are queued as asynchronous microtasks. Here is what actually happened on every click:

  1. Selecting a node updated #daystudio-inspector, queuing microtask #1.
  2. Microtask #1 ran enhanceDynamicInspector(), set isEnhancingInspector = true, mutated the DOM inside #daystudio-inspector (which queued microtask #2 in the browser), and then immediately executed the finally block, setting isEnhancingInspector = false.
  3. Before the browser could paint a single frame or yield to the event loop, microtask #2 ran, saw isEnhancingInspector === false, mutated the DOM again, and queued microtask #3 forever.

The fix was to explicitly disconnect the observer before mutating the observed container, flush any pending records with takeRecords(), and only re-attach .observe() inside finally:

// The v0.5.1 fix: disconnect + takeRecords() before re-observing
function enhanceDynamicInspector() {
  if (isEnhancingInspector) return;
  isEnhancingInspector = true;
  if (inspectorObserver) inspectorObserver.disconnect();
  try {
    injectSymbolOverrideControls(inspectorEl);
  } finally {
    if (inspectorObserver && inspectorEl) {
      inspectorObserver.takeRecords();
      inspectorObserver.observe(inspectorEl, { childList: true, subtree: true });
    }
    isEnhancingInspector = false;
  }
}

We applied the exact same disconnect-and-flush pattern to drawerObserver on #drawer-panel-container, turning an infinite microtask hang into a sub-millisecond inspector render.

What is next in 0.6: custom post types, structured fields (ACF parity) & collection grids

With v0.5.1 live, Daypress now has universal theme templates, synced components, visual mega menus, a full Media Library DAM, built-in Let's Encrypt TLS, and a significantly sharper Daystudio visual builder. We also cleaned up daypress.dev itself: moving the full 0.1 to 1.0 checklist onto its own Roadmap page and giving the capability tour its own Features page so the homepage stays focused.

Next up on the road to 1.0 is v0.6: zero-code Custom Post Types and Custom Taxonomies in /d-admin/, typed structured field schemas with 1-click Advanced Custom Fields (ACF) migration, and filterable, sortable Daystudio Collection Grids. Grab the v0.5.1 release binary, test your wildest layouts in Daystudio, and let us know what breaks next.