Skip to content

feat(datagrid): open foreign key reference in a new tab on Cmd-click#1427

Merged
datlechin merged 1 commit into
mainfrom
fix/1421-fk-open-new-tab
May 27, 2026
Merged

feat(datagrid): open foreign key reference in a new tab on Cmd-click#1427
datlechin merged 1 commit into
mainfrom
fix/1421-fk-open-new-tab

Conversation

@datlechin
Copy link
Copy Markdown
Member

Closes #1421.

Clicking a foreign key arrow replaced the current tab. Now a plain click still navigates in the current tab, and Cmd-click opens the referenced table in a new tab, filtered to the matching row. This follows the Safari and Finder convention where Cmd-click opens a new tab.

Changes

  • Cmd-click an FK arrow opens the referenced table in a new active tab, filtered to the row. Plain click keeps the current-tab behavior.
  • The right-click menu gains "Open in New Tab" next to "Open
    ".
  • The modifier intent is threaded from the click site through the data-grid delegate chain to the coordinator.
  • Tests

    FKNavigationTests covers the new-tab payload and filter, plain-click replacement, and the same-tab fast path.

@datlechin datlechin merged commit af0f332 into main May 27, 2026
1 check passed
@datlechin datlechin deleted the fix/1421-fk-open-new-tab branch May 27, 2026 05:27
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.

feat: Open foreign keys reference in new tab

1 participant