Skip to content

feat(dashboard): Fade long sidebar titles instead of an ellipsis - #2854

Merged
betegon merged 1 commit into
mainfrom
feat/sidebar-title-fade
Nov 6, 2026
Merged

betegon merged 1 commit into
mainfrom
feat/sidebar-title-fade

Conversation

@sentry-junior

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

Copy link
Copy Markdown
Contributor

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

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]>
@vercel

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

Request Review

@blacksmith-sh

blacksmith-sh Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Found 2 test failures on Blacksmith runners:

Failures

Test View Logs
[chromium] › packages/junior-dashboard/e2e/
conversations-read-position.spec.ts:95:1 › catches the reader up on several unread Turn
s
View Logs
packages/junior-dashboard/e2e/conversations-read-position.spec.ts/
catches the reader up on several unread Turns
View Logs

Fix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

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

Review screenshots in Frameshift

Automation Page · Desktop
Automation Page · Desktop
Changed
Automation Run Details · Desktop
Automation Run Details · Desktop
Changed
Automation Run Details Light · Desktop
Automation Run Details Light · Desktop
Changed
Conversation Attachment · Desktop
Conversation Attachment · Desktop
Changed
Conversation Captured Memories Popover · Desktop
Conversation Captured Memories Popover · Desktop
Changed
Conversation Captured Memories Popover · Mobile
Conversation Captured Memories Popover · Mobile
Changed
Show 12 more changed screenshots
Conversation Child Agent Drawer · Desktop
Conversation Child Agent Drawer · Desktop
Changed
Conversation Child Agent Page · Desktop
Conversation Child Agent Page · Desktop
Changed
Conversation Child Agents · Desktop
Conversation Child Agents · Desktop
Changed
Conversation Child Agents · Mobile
Conversation Child Agents · Mobile
Changed
Conversation Create Focused · Desktop
Conversation Create Focused · Desktop
Changed
Conversation Details Watched Linked Work · Desktop
Conversation Details Watched Linked Work · Desktop
Changed
Conversation Details Watched Linked Work · Mobile
Conversation Details Watched Linked Work · Mobile
Changed
Conversation Event Details · Desktop
Conversation Event Details · Desktop
Changed
Conversation Event Details Mobile · Desktop
Conversation Event Details Mobile · Desktop
Changed
Conversation Event Log · Desktop
Conversation Event Log · Desktop
Changed
Conversation Event Log Virtual · Desktop
Conversation Event Log Virtual · Desktop
Changed
Conversation Fork Dialog · Desktop
Conversation Fork Dialog · Desktop
Changed

29 more changed screenshots in Frameshift.

@betegon
betegon merged commit e9ebf82 into main Nov 6, 2026
59 of 61 checks passed
@betegon
betegon deleted the feat/sidebar-title-fade branch November 6, 2026 21:41
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

1 active deployment
Preview – junior-docs — e0067ea8 Deployed Nov 6, 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