From 4c1d99d7f3e722c5e88c0dda6a96f9de8f296115 Mon Sep 17 00:00:00 2001 From: Francisco Arredondo <95440147+frarredondo@users.noreply.github.com> Date: Sun, 16 Aug 2026 03:02:05 -0700 Subject: [PATCH] fix(web): show filenames when commit dialog paths overflow (#6392) Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com> --- apps/web/src/components/GitActionsControl.tsx | 12 +++---- .../components/StartTruncatedPath.test.tsx | 31 +++++++++++++++++++ .../web/src/components/StartTruncatedPath.tsx | 25 +++++++++++++++ 3 files changed, 62 insertions(+), 6 deletions(-) create mode 100644 apps/web/src/components/StartTruncatedPath.test.tsx create mode 100644 apps/web/src/components/StartTruncatedPath.tsx diff --git a/apps/web/src/components/GitActionsControl.tsx b/apps/web/src/components/GitActionsControl.tsx index 7b824370b39d258edf44e8f45aebd665026d6460..d448a720ebfc6a16b2dbb5ef9f7b6d15ac5b0e84 100644 --- a/apps/web/src/components/GitActionsControl.tsx +++ b/apps/web/src/components/GitActionsControl.tsx @@ -51,6 +51,7 @@ import { resolveThreadBranchUpdate, } from "./GitActionsControl.logic"; import { AnimatedHeight } from "./AnimatedHeight"; +import { StartTruncatedPath } from "./StartTruncatedPath"; import { Button } from "~/components/ui/button"; import { Checkbox } from "~/components/ui/checkbox"; import { @@ -1923,14 +1924,13 @@ export default function GitActionsControl({ )}