Skip to content

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

Merged
shivamhwp merged 6 commits into
pingdotgg:mainfrom
frarredondo:fix/commit-dialog-path-truncation
Aug 16, 2026
Merged

fix(web): show filenames when commit dialog paths overflow#6392
shivamhwp merged 6 commits into
pingdotgg:mainfrom
frarredondo:fix/commit-dialog-path-truncation

Conversation

@frarredondo

@frarredondo frarredondo commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

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 truncation

  • Adds a new StartTruncatedPath component that displays a path truncated from the start (preserving the filename) using RTL text direction, with a tooltip showing the full path.
  • Updates GitActionsControl to use StartTruncatedPath in the changed-files list, replacing a plain span and adjusting flex layout classes to support proper truncation.

Macroscope summarized 2e66890.

@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: d091b597-bedc-451e-9286-3776aec69cf6

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
@macroscopeapp

macroscopeapp Bot commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: 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.

@shivamhwp
shivamhwp merged commit 4c1d99d into pingdotgg:main Aug 16, 2026
16 checks passed
github-actions Bot added a commit to omarcresp/t3code-flake that referenced this pull request Aug 16, 2026
@frarredondo
frarredondo deleted the fix/commit-dialog-path-truncation branch August 17, 2026 16:54
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

2 participants