Skip to content

fix(dashboard): Leave links on Inbox cards to the browser's menu - #4202

Merged
BYK merged 3 commits into
mainfrom
byk/link-browser-menu
Nov 24, 2026
Merged

BYK merged 3 commits into
mainfrom
byk/link-browser-menu

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

#4089 freed only open Inbox cards from the Conversation menu. Closed cards, stacks and In flight rows still took every right-click, and on phones every long press, so a link on a card never got the browser's menu to open it in a new tab or copy it. #3922 also made every link in message text open in the same tab. That stranded people outside Junior on a phone or in the iOS home screen app, which has no back button.

Menu. browserMenuOnLinks in components/ui/context-menu.tsx is one set of trigger props. When the target is in an a[href] or an img, it skips the Base UI handler and stops the event. Base UI's document listener would otherwise cancel the right-click, and an outer stack trigger would take it. It also turns the iOS link callout back on. The card trigger, the stack and the In flight row use it. A row's own link (the stack title, a card's head link, an In flight row) has data-row-menu and keeps the Conversation menu, so open cards still open it from their title. The classic UI's ConversationRowContextMenu stays as it is.

New tab. SameTabLink becomes MessageLink. A cross-origin http(s) link opens in a new tab (rel="noreferrer", as OutboundLink sets it). Plain links get the outbound icon again. Hover-preview links in running text and the object row get no icon, so a paragraph of links still reads as text, as before #3922. Same-origin links keep #3922's behavior: Conversation links route in the app, and other paths stay plain links. Object card title, field and footer links, and app chrome, do not change.

design/inbox-stacks.md now says where the browser's menu opens.

Screenshots

A closed card whose summary links to another site (outbound icon) and to a Thread in this dashboard (no icon). Neither screenshot can show the browser's own menu; the e2e cases check that the page does not cancel it.

Dark Light
Desktop desktop dark desktop light
Mobile mobile dark mobile light

via @BYK.

--

View Session [Sentry]

A right-click or long press on a link or an image in an Inbox card, stack
or In flight row now gets the browser's own menu. A row's own title link
keeps the Conversation menu.

Links to other sites in message text open in a new tab again. Plain links
end with the outbound icon. Links to this dashboard stay in the tab.

Co-Authored-By: BYK <[email protected]>
@sentry-junior
sentry-junior Bot requested a review from BYK November 24, 2026 15:03
@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
junior-docs Ready Ready Preview Nov 24, 2026 3:24pm UTC

Request Review

@github-actions github-actions Bot added the risk: medium PR risk score: medium label Nov 24, 2026
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

14 screenshot changes — 10 changed · 4 added · 0 removed

Review screenshots in Frameshift

Conversation Attached Linked Work Denied · Desktop
Conversation Attached Linked Work Denied · Desktop
Changed
Conversation Attached Linked Work Denied Light · Desktop
Conversation Attached Linked Work Denied Light · Desktop
Changed
Conversation Long Transcript Memory · Desktop
Conversation Long Transcript Memory · Desktop
Changed
Conversation Stop Active · Mobile
Conversation Stop Active · Mobile
Changed
Conversation Text Attachment · Desktop
Conversation Text Attachment · Desktop
Changed
Conversation Text Attachment · Mobile
Conversation Text Attachment · Mobile
Changed
Show 4 more changed screenshots
Conversation Text Attachment Light · Desktop
Conversation Text Attachment Light · Desktop
Changed
Conversation Text Attachment Light · Mobile
Conversation Text Attachment Light · Mobile
Changed
Inbox Wake Reason Card · Desktop
Inbox Wake Reason Card · Desktop
Changed
Inbox Wake Reason Card Light · Desktop
Inbox Wake Reason Card Light · Desktop
Changed

@BYK
BYK merged commit bdfa278 into main Nov 24, 2026
56 checks passed
@BYK
BYK deleted the byk/link-browser-menu branch November 24, 2026 16:16

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 8100284f Deployed Nov 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant