Skip to content

feat(dashboard): Fade overflowing text in the new UI instead of an ellipsis - #3665

Merged
BYK merged 3 commits into
mainfrom
feat/inbox-fade-overflow
Nov 18, 2026
Merged

BYK merged 3 commits into
mainfrom
feat/inbox-fade-overflow

Conversation

@sentry-junior

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

Copy link
Copy Markdown
Contributor

In the new UI, a line of text that does not fit now fades out at its right edge, as the classic sidebar does since #2854, instead of ending in "…". This covers row titles and subtitles, pills, link lines and chips, headers, and the Automations and Memories pages under inbox/ and review-desk/.

  • client/textFade.ts holds the one look. fadeTextClass is CSS only, for text that fills its column. fadeOverflowClass with the fadeWhenOverflowing ref is for text that is only as wide as itself: a ResizeObserver sets data-overflow while the text is wider than its box, so a title that fits never fades.
  • A link or button fades the text inside it, not itself, because a mask also hides the element's own focus ring.
  • title tooltips stay. Multi-line clamps stay as they are. Files that the classic UI also renders keep their ellipsis: ReviewDeskSidebar, ReviewItemDetails, review-desk/ReviewItemCard, ReviewItemChangeRow and ComposerQuestion.
  • dashboard-style:check now rejects truncate and text-ellipsis in the new UI and points to textFade.ts.

Mock data, with the "Quarterly reliability review" row given a long title:

Before After
Light, desktop
Dark, desktop
Light, mobile
Dark, mobile

Follows up on BYK's review of #3658.

via @BYK.

--

View Session [Sentry]

@sentry-junior
sentry-junior Bot requested a review from BYK November 18, 2026 13:38
@vercel

vercel Bot commented Nov 18, 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 18, 2026 1:38pm UTC

Request Review

@github-actions github-actions Bot added the risk: high PR risk score: high label Nov 18, 2026
@BYK
BYK enabled auto-merge (squash) November 18, 2026 13:39

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit ae7b9a7. Configure here.

@github-actions

Copy link
Copy Markdown
Contributor

45 screenshot changes — 45 changed · 0 added · 0 removed

Review screenshots in Frameshift

Automation Skill Editor · Desktop
Automation Skill Editor · Desktop
Changed
Automations Expanded Row · Mobile
Automations Expanded Row · Mobile
Changed
Automations Expanded Row Light · Mobile
Automations Expanded Row Light · Mobile
Changed
Automations Light · Mobile
Automations Light · Mobile
Changed
Automations Runs Filters · Desktop
Automations Runs Filters · Desktop
Changed
Conversation Fork Dialog · Desktop
Conversation Fork Dialog · Desktop
Changed
Show 12 more changed screenshots
Conversation Fork Dialog · Mobile
Conversation Fork Dialog · Mobile
Changed
Conversation Question Stepper · Desktop
Conversation Question Stepper · Desktop
Changed
Conversation Row Context Menu · Desktop
Conversation Row Context Menu · Desktop
Changed
Conversation Row Context Menu Light · Desktop
Conversation Row Context Menu Light · Desktop
Changed
Inbox · Desktop
Inbox · Desktop
Changed
Inbox Automations · Mobile
Inbox Automations · Mobile
Changed
Inbox Automations Light · Mobile
Inbox Automations Light · Mobile
Changed
Inbox Conversations · Desktop
Inbox Conversations · Desktop
Changed
Inbox Conversations · Mobile
Inbox Conversations · Mobile
Changed
Inbox Conversations Light · Desktop
Inbox Conversations Light · Desktop
Changed
Inbox Conversations Light · Mobile
Inbox Conversations Light · Mobile
Changed
Inbox Decisions · Desktop
Inbox Decisions · Desktop
Changed

27 more changed screenshots in Frameshift.

@BYK
BYK merged commit ad67e8a into main Nov 18, 2026
49 checks passed
@BYK
BYK deleted the feat/inbox-fade-overflow branch November 18, 2026 13:48
BYK pushed a commit that referenced this pull request Nov 18, 2026
#3659 and #3665 each added an import of
`cn` to `CommandPalette.tsx` and `ReviewItemCard.tsx`, so `main`
declares it twice in both files and no longer compiles.

This removes the second import in each file.

<!-- junior-request-attribution:start -->
via @BYK.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:local%3Aweb%3A17b6d7f555623680001f2a90 -->

--

[View
Session](https://junior-prod.sentry.dev/conversations/local%3Aweb%3A17b6d7f555623680001f2a90)
[[Sentry]](https://sentry.sentry.io/explore/conversations/local%3Aweb%3A17b6d7f555623680001f2a90/?project=4510944073809921)

<!-- junior-session-footer:end -->

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
BYK added a commit that referenced this pull request Nov 18, 2026
`fadeWhenOverflowing` from #3665 remeasures only when
the element's box changes size. A box that takes its width from its
column, such as an In flight title in the Inbox pane, keeps that width
when its text gets longer. So a title that a refetch made too long never
got `data-overflow`: its end was cut off, with no fade and no ellipsis.

The ref now also watches the element's text with a MutationObserver, and
remeasures when it changes.

Follows up on Bugbot's review of #3665.

<!-- junior-request-attribution:start -->
via @BYK.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:agent%3A9c3cead303d6007ba8d1369cd5178a92 -->

--

[View
Session](https://junior-prod.sentry.dev/conversations/agent%3A9c3cead303d6007ba8d1369cd5178a92)
[[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3A9c3cead303d6007ba8d1369cd5178a92/?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

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

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant