Repository navigation
fix(dashboard): Open the Conversation menu from In flight, and only from an open card's title - #4089
Merged
Merged
Conversation
…open cards' text to the browser In flight rows had no Conversation menu. Inbox cards opened it on a right-click anywhere, open or closed, so an open card's text could not be selected or copied. In flight rows now open the same menu as Inbox cards, on a right-click or from a ⋯ button that shows on hover or keyboard focus. A pane row without a count no longer keeps a gap for one, so its title uses the full width and fades only under the ⋯ while it shows. Phones always show the ⋯, as classic rows do. A closed card keeps the menu anywhere on it. An open card opens it only from its Conversation title. Stacks keep the menu anywhere, and the classic UI does not change. Co-Authored-By: BYK <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
28 screenshot changes — 28 changed · 0 added · 0 removed Review screenshots in Frameshift Show 12 more changed screenshots10 more changed screenshots in Frameshift. |
BYK
approved these changes
Nov 23, 2026
22 tasks done
BYK
added a commit
that referenced
this pull request
Nov 24, 2026
#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 |  |  | | Mobile |  |  | <!-- junior-request-attribution:start --> via @BYK. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:agent%3Afbcbf5ea8eaffff26d43b68c7136b90c --> -- [View Session](https://junior-prod.sentry.dev/conversations/agent%3Afbcbf5ea8eaffff26d43b68c7136b90c) [[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3Afbcbf5ea8eaffff26d43b68c7136b90c/?project=4510944073809921) <!-- junior-session-footer:end --> --------- Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: BYK <[email protected]>
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.
Two Conversation menu problems in the new Inbox UI:
What changes
In flight rows
useInboxRowActions).⋯button at the right end shows on hover or keyboard focus and opens the same menu. It reuses the classic sidebar's row action classes, so on phones it always shows and the title stops before it, as classic rows do.⋯while the button shows or its menu is open. This also gives count-less destinations their full width.Inbox cards
useInboxRowActionsnow returns the menu rows and the dialogs apart from the context menu content, so a row with more than one menu renders the dialogs once. The classic UI does not change.Screenshots
Mock data.
In flight right-click menu
Open card with its text selected
⋯on hoverLong In flight title at rest, using the full width
via @BYK.
--
View Session [Sentry]