Repository navigation
fix(dashboard): Leave links on Inbox cards to the browser's menu - #4202
Merged
Merged
Conversation
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]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
14 screenshot changes — 10 changed · 4 added · 0 removed Review screenshots in Frameshift |
This was referenced Nov 24, 2026
BYK
approved these changes
Nov 24, 2026
23 tasks done
This branch was successfully deployed
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.
#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.
browserMenuOnLinksincomponents/ui/context-menu.tsxis one set of trigger props. When the target is in ana[href]or animg, 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) hasdata-row-menuand keeps the Conversation menu, so open cards still open it from their title. The classic UI'sConversationRowContextMenustays as it is.New tab.
SameTabLinkbecomesMessageLink. A cross-originhttp(s)link opens in a new tab (rel="noreferrer", asOutboundLinksets 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.mdnow 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.
via @BYK.
--
View Session [Sentry]