Skip to content

v0.26.0 — 0.26.0: compare the design with the built page in the sidebar (#25)

Latest

Choose a tag to compare

@github-actions github-actions released this 18 Nov 14:34
  • "View comparison" (after compare_design, or Export → "Compare with build"): design and the real page together as Split (drag line), Overlay (opacity, Invert) or Side by side, scrolling in sync
  • The real page goes through the studio's preview server (dev-server proxy with HMR; local HTML via the file server, root lifted for ../ assets within the session folder)
  • Framed designs: the real page covers only the main slot (same measurement as compare_design, lib/slot.js)
  • Score and red boxes from the last comparison (kept per design folder, lib/impl.js); click the score for the image; "Compare again" at the current size and theme; boxes hide when either side scrolls away from the top
  • Clicking through to another page in the real app offers "Compare this page"; outside links, scripts and forms are not followed inside the comparison
  • New endpoints /api/impl, /api/implcmp, /api/implshot; addresses limited to this computer, not the design itself or studio/DSH ports, no https
  • Tests: test/test-impl.mjs (records + picker sync in a real browser), implLayout / implAwayUrl, implServe, e2e ⑨y2

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com