fix(web): truncate long project switcher names - #5348
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ApprovabilityVerdict: Approved e8b399b This PR contains purely CSS/styling changes to truncate long project names and add hover tooltips. No logic or runtime behavior changes - just visual presentation adjustments that are low-risk and self-contained. You can customize Macroscope's approvability policy. Learn more. |
## What's Changed * fix(mcp): unblock Kimi models in OpenCode with preview tools by @hwanseoc in pingdotgg/t3code#5128 * fix(web): clear main branch lint warnings by @t3dotgg in pingdotgg/t3code#5384 * fix(mobile): preserve grouped project workspaces by @shivamhwp in pingdotgg/t3code#4642 * fix(mobile): prevent Android thread search crash by @shivamhwp in pingdotgg/t3code#5386 * fix(web): truncate long project switcher names by @FllipEis in pingdotgg/t3code#5348 * fix(mobile): avoid double dividers between thread sections by @shivamhwp in pingdotgg/t3code#5391 * fix(web): keep the composer command menu anchored to the composer by @StiensWout in pingdotgg/t3code#5336 * fix(web): restore terminal link hover styles by @StiensWout in pingdotgg/t3code#5382 * fix(ci): isolate releases from shared API rate limits by @t3dotgg in pingdotgg/t3code#5394 **Full Changelog**: pingdotgg/t3code@v0.0.32-nightly.20260805.1002...v0.0.32-nightly.20260805.1005 Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.32-nightly.20260805.1005
(cherry picked from commit 3c5bdb8)
(cherry picked from commit 3c5bdb8)
(cherry picked from commit 3c5bdb8)
(cherry picked from commit 3c5bdb8)
(cherry picked from commit 3c5bdb8)
…inal-polish-63f7 sync: port upstream terminal font reliability, late UI polish, and faster post-update reconnect (pingdotgg#5348–pingdotgg#5444)
(cherry picked from commit 3c5bdb8)
What Changed
This applies to both web and desktop. Mobile uses a separate native project picker and is unchanged.
Why
Long project names overflowed the project switcher and introduced a horizontal scrollbar, breaking the menu layout.
The menu already applied truncation styles, but they were attached to an inline element. Since inline elements do not provide the constrained box required by
text-overflow: ellipsis, the project name continued to overflow. The selected project name in the headline was also unconstrained.Verification
vp lint apps/web/src/components/chat/DraftHeroHeadline.tsx --report-unused-disable-directivesvp fmt --check apps/web/src/components/chat/DraftHeroHeadline.tsxvp run --filter @t3tools/web typecheckgit diff --checkUI Changes
Before
After
Checklist
Model and harness: GPT-5.6 Sol via T3 Code.
Note
Cursor Bugbot is generating a summary for commit e8b399b. Configure here.
Note
Truncate long project names in the project switcher with tooltip fallback
Long project names in
DraftHeroHeadlinenow truncate at a max width ofmax-w-64, and the full name is shown via the browser's native tooltip (titleattribute) on both the trigger and menu items. Also removes thecursor-pointerclass from the menu trigger.Macroscope summarized e8b399b.