Skip to content

fix(web): show filenames when commit dialog paths overflow - #6392

Open
frarredondo wants to merge 3 commits into
pingdotgg:mainfrom
frarredondo:fix/commit-dialog-path-truncation
Open

fix(web): show filenames when commit dialog paths overflow#6392
frarredondo wants to merge 3 commits into
pingdotgg:mainfrom
frarredondo:fix/commit-dialog-path-truncation

Conversation

@frarredondo

@frarredondo frarredondo commented Aug 12, 2026

Copy link
Copy Markdown

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
Capso Screenshot - T3 Code (Dev) 2026-08-12 at 15 42 05

After
Capso Recording 2026-08-12 at 15 39 59

Note

Show filenames when commit dialog file paths overflow using start-side truncation

  • Adds a new StartTruncatedPath component that uses dir="rtl" to truncate paths from the start, keeping the filename visible, with a tooltip showing the full path on hover.
  • Updates GitActionsControl to use StartTruncatedPath in the changed-file list and adds min-w-0 to the row button to allow proper flex truncation.

Macroscope summarized 1ff669d.

@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 7162cfcc-823d-411e-a07b-9baae6d7ebb8

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added size:M 30-99 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list. labels Aug 12, 2026
@frarredondo
frarredondo force-pushed the fix/commit-dialog-path-truncation branch from c963444 to 1ff669d Compare August 12, 2026 22:50
@frarredondo
frarredondo marked this pull request as ready for review August 12, 2026 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 30-99 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Commit changes dialog trunkates file paths so you don't see which files that are about to be commited

1 participant