fix(web): show filenames when commit dialog paths overflow - #6392
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 |
c963444 to
1ff669d
Compare
ApprovabilityVerdict: Approved a28977d This PR adds a self-contained UI component for start-truncating paths (keeping filenames visible) with tooltip support. Changes are limited to presentation, include tests, and carry minimal risk. You can customize Macroscope's approvability policy. Learn more. |
## What's Changed * fix(web): show filenames when commit dialog paths overflow by @frarredondo in pingdotgg/t3code#6392 ## New Contributors * @frarredondo made their first contribution in pingdotgg/t3code#6392 **Full Changelog**: pingdotgg/t3code@v0.0.34-nightly.20260816.1108...v0.0.34-nightly.20260816.1109 Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.34-nightly.20260816.1109
Fixes #6369
Commit dialog was clipping paths from the end, so a long file just looked like
apps/desktop/src/comp…. Now it clips from the start so you can still see the filename. Hover the path for the full thing.Before
After
Note
Show filenames when commit dialog file paths overflow using start truncation
StartTruncatedPathcomponent that displays a path truncated from the start (preserving the filename) using RTL text direction, with a tooltip showing the full path.GitActionsControlto useStartTruncatedPathin the changed-files list, replacing a plainspanand adjusting flex layout classes to support proper truncation.Macroscope summarized 2e66890.