Skip to content

refactor(editor): bring #14 (editor split + client tests) into main - #16

Merged
TheGeniusOfEternity merged 3 commits into
mainfrom
fix/widget-render-parity
Sep 28, 2026
Merged

TheGeniusOfEternity merged 3 commits into
mainfrom
fix/widget-render-parity

Conversation

@TheGeniusOfEternity

Copy link
Copy Markdown
Owner

#14 was merged into its stacked base fix/widget-render-parity instead of main (the base branch wasn't deleted after #13, so GitHub didn't retarget it). This PR carries exactly that merge to main; see #14 for the description and test plan.

TheGeniusOfEternity and others added 3 commits September 28, 2026 23:27
- Move layout rules and widget normalization to model/layout.ts, the
  local draft cache to model/editorCache.ts
- Extract useWidgetEditor (load, autosave, save race), useGridDrag and
  useBlockPreviews hooks
- Split UI into EditorHeader, BlockLibrary, EditorCanvas, EditorBlock,
  WidgetConfigPanel, BlockConfigPanel and MobileFallback
- Share the iframe/SVG embed snippet builder with the gallery
- Add client tests (31) and drop --passWithNoTests
refactor(editor): split widget editor and add client tests
@vercel

vercel Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
widgecode Ignored Ignored Preview Sep 28, 2026 8:44pm UTC

@TheGeniusOfEternity
TheGeniusOfEternity merged commit 22c23a7 into main Sep 28, 2026
3 checks passed
@TheGeniusOfEternity
TheGeniusOfEternity deleted the fix/widget-render-parity branch September 28, 2026 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant