Skip to content

feat: click-to-jump navigation for relationship editors - #149

Open
josephschorr wants to merge 2 commits into
mainfrom
feature/relationship-editor-click-to-jump
Open

josephschorr wants to merge 2 commits into
mainfrom
feature/relationship-editor-click-to-jump

Conversation

@josephschorr

Copy link
Copy Markdown
Member

Add Cmd/Ctrl+click "go to definition" from the text and grid relationship editors to the schema editor

@vercel

vercel Bot commented May 15, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
playground Ready Ready Preview Sep 29, 2026 5:01pm UTC

Request Review

Add Cmd/Ctrl+click "go to definition" from the text and grid relationship
editors to the schema editor, plus a modifier-held hover affordance
(underline + pointer cursor) indicating which tokens/cells are jumpable.

- schema-jump store coordinates cross-document navigation to the schema tab
- jump-targets helpers resolve types/relations/caveats to schema positions
- text editor uses a native Monaco DefinitionProvider + editor opener
- grid editor uses onCellClicked plus a per-cell cursor and canvas underline
- useModifierKeyHeld hook tracks the Ctrl/Cmd modifier state

This branch was successfully deployed

1 active deployment
Preview — 0d6095d6 Deployed Sep 29, 2026 by vercel[bot]
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.

2 participants