Repository navigation
feat(designer): split mockup screens into designs/screens/*.html - #56
TheGreatAxios merged 7 commits into
Conversation
166c562 to
5eac1e4
Compare
Nothing triage asked to change still fails, so this request no longer stands.
5eac1e4 to
816e38a
Compare
816e38a to
9d071b2
Compare
|
Per-screen files assemble into the shell, and an old single-file Preview and check-app drop An exact starter |
4bc8a51 to
389ba4e
Compare
d3c0481 to
4fe8770
Compare
Nothing triage asked to change still fails, so this request no longer stands.
A missing room snapshot is not zero designers at work, so the live mockup keeps reading until the snapshot says the design is filed or idle.
4fe8770 to
8c34d95
Compare
|
Triage: In progress Triage is waiting for CI to finish before it decides. This comment shows the verdict once it has. |
Closes CL-11931
What changed
<section data-screen="home">out ofworkflows/designer/starter/.builder/designs/index.htmlintoworkflows/designer/starter/.builder/designs/screens/home.html, leavingdesigns/index.htmlwith the shared app shell, navigation,<!-- builder:screens -->marker, and router script.spliceDesignScreensandsyncDesignScreensOnDisk(apps/hub/src/builds/starter.ts, wired intoapps/hub/src/builds/sidecar-tools.tsandapps/hub/src/artifacts/design-draft.ts) so every edit to.builder/designs/re-splicesdesigns/screens/*.htmlintodesigns/index.htmlon disk and in packed design bundles while omitting only the exact untouched starterhome.htmlonce another screen exists.mockupPage(apps/web/src/pages/workspace/design-preview.tsx) andcheck-app(workflows/coder/check/check-app.ts) to match the hub's exact starterhome.htmlpredicate so a customizedhome.htmlthat retains the starter heading and adds copy still assembles.check_design(apps/hub/src/builds/design-check.tsandapps/hub/src/artifacts/design-tools.ts) to automatically pack and file adesign_optionartifact in Postgres whencheck-apppasses, and enabledfileBeforeDone: trueon the designer'scompactingDirector(apps/hub/src/workflows/compaction.ts,apps/hub/src/workflows/entries/designer.ts).workflows/designer/src/prompt.ts,workflows/designer/skills/react-ui/SKILL.md,workflows/designer/starter/README.md, andworkflows/designer/README.mdfor per-screen files, the 3-screen cap, and automatic filing on a passingcheck_design.How it was verified
bun run format:checkbun run lintbun run typecheckbun run test(including new tests inapps/hub/src/builds/starter.test.ts,apps/hub/src/artifacts/design-draft.test.ts,apps/hub/src/workflows/compaction.test.ts,workflows/designer/src/prompt.test.ts, andapps/web/src/pages/workspace/preview-interactions.test.tsx)bun run pins:verifybun run vendor:verify