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

feat: click-to-jump navigation for relationship editors#149
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
Copy link
Copy Markdown

vercel Bot commented May 15, 2026

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

Project Deployment Actions Updated (UTC)
playground Ready Ready Preview, Comment May 21, 2026 9:03pm

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
@tstirrat15 tstirrat15 force-pushed the feature/relationship-editor-click-to-jump branch from fcca756 to 1a7d0ab Compare May 21, 2026 21:03
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