[codex] Add Figma-style workspace tooling - #1
Draft
aravindksk7 wants to merge 3 commits into
Draft
Conversation
…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>
# Conflicts: # README.md # meridian.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Verification