Skip to content

[codex] Add Figma-style workspace tooling - #1

Draft
aravindksk7 wants to merge 3 commits into
masterfrom
codex/figma-workspace
Draft

[codex] Add Figma-style workspace tooling#1
aravindksk7 wants to merge 3 commits into
masterfrom
codex/figma-workspace

Conversation

@aravindksk7

Copy link
Copy Markdown
Owner

Summary

  • add Live Preview and component property controls, including theme-aware backgrounds
  • add Layers, Design Tokens, multi-select alignment, command palette, and presentation workflows
  • add comments, version history, and responsive viewport previews
  • update README, built-in Help, feature inventory, and focused documentation
  • add Playwright coverage and icon build tooling

Verification

  • npm test — 228 passed
  • post-merge focused suite — 45 passed
  • npm audit — 0 vulnerabilities

aravindksk7 and others added 3 commits June 13, 2026 09:00
…stence

Arrow glitch: _redrawEdge() redrew dragged edges centre-to-centre, burying
the marker-end arrowhead beneath node shapes (edges paint below nodes) and
slicing edges through node interiors. Endpoints are now clipped to each
node bounding box (_nodeExtents/_clipToNodeBorder) with a quadratic curve
through a perpendicular-offset midpoint so parallel edges stay separated.

IndexedDB: new MeridianDB layer (db "meridian" v1: documents/layout/styles
stores) persists the diagram source, node positions, group sizes/layouts,
colours, labels, and collapsed groups. Saves write through both tiers via
persistSet/persistRemove; hydrate() runs before boot (localStorage wins
when present and backfills IndexedDB, missing cache is restored from
IndexedDB; legacy localStorage-only installs migrate on first run).

UI: Settings -> Storage tab with live record counts, "Clear layout &
styles", and a confirmed "Erase all saved data" wipe (MeridianDB.clearAll).
Collapsed groups are re-read after hydration to fix a parse-time ordering
gap.

Tests: node-drag-arrows.spec.js (5) and indexeddb-persistence.spec.js (12).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: claude-flow <ruv@ruv.net>
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