Repository navigation
feat(dashboard): Fade long sidebar titles instead of an ellipsis - #2854
Merged
Merged
Conversation
A sidebar conversation title that does not fit now fades out at the right edge, like the fade under the row actions. Co-Authored-By: bete <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
Found 2 test failures on Blacksmith runners: Failures
|
betegon
approved these changes
Nov 6, 2026
Contributor
|
47 screenshot changes — 47 changed · 0 added · 0 removed Review screenshots in Frameshift Show 12 more changed screenshots29 more changed screenshots in Frameshift. |
23 tasks done
This was referenced Nov 18, 2026
BYK
added a commit
that referenced
this pull request
Nov 18, 2026
…lipsis (#3665) 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 | <img src="https://junior-prod.sentry.dev/public/artifacts/899fce24-a2d3-4c3a-bf8c-c6a98180d4b6.png" width="480"> | <img src="https://junior-prod.sentry.dev/public/artifacts/46f8aa8d-ffb3-4fb2-a360-f81687773628.png" width="480"> | | Dark, desktop | <img src="https://junior-prod.sentry.dev/public/artifacts/9c1ee2f4-2798-42e2-b1df-70bdda13a9df.png" width="480"> | <img src="https://junior-prod.sentry.dev/public/artifacts/6590f596-ea98-47d1-be52-ec9f0c94462e.png" width="480"> | | Light, mobile | <img src="https://junior-prod.sentry.dev/public/artifacts/6ee9f9e1-d6ef-4061-a9e9-64de78b81e84.png" width="280"> | <img src="https://junior-prod.sentry.dev/public/artifacts/3124cd89-7848-458c-b7f1-696eae3c0152.png" width="280"> | | Dark, mobile | <img src="https://junior-prod.sentry.dev/public/artifacts/2b7c6996-6a53-47e5-bde5-2fa4259f2f60.png" width="280"> | <img src="https://junior-prod.sentry.dev/public/artifacts/cb9960ba-b563-446d-84e9-cbcb1aa5ce36.png" width="280"> | Follows up on BYK's review of #3658. <!-- 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
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.
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-3x.png)
A sidebar conversation title that does not fit now fades out over its last 2rem instead of ending in an ellipsis. It uses the same fade as the row actions from #2836.
The title span fills its grid column and has a fixed
mask-image. Short titles never reach the faded area, so they look the same as before. A title fades only when it is long or when the sidebar gets narrower. No JS measures overflow. One edge case: a title that just fits within the last 2rem of its column gets a light fade.The pinned drag preview keeps its ellipsis. Its title sizes to its content, so a fixed fade there would also fade short titles.
I checked this by hand in the mock dashboard. Long titles fade, short titles look the same, and the fade under the row actions still works on long titles. I could not run the dashboard e2e here because the sandbox has no system Chrome.
via @betegon.
--
View Session in Sentry