You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Diff Files panel cuts off every file name and can't be resized #24017
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/desktop
Steps to reproduce
Open the Changes diff in a repo with nested folders (e.g. a Unity project).
Look at the Files panel on the right.
Try to drag it wider.
Expected behavior
File names are readable. The panel can be resized by dragging (like in Codex and Claude Code), ideally with a hover tooltip showing the full name.
Actual behavior
Almost every name is truncated (EntityHostGizm….cs, SceneHostC… meta), and there's no resize handle. I can't tell my files apart, so the panel is unusable.
Same missing handle as #17982, which was marked cosmetic. With real-world names it isn't.
I'm taking this one: the Files aside is a fixed w-[min(16rem,40%)] with shrink-0, in both the Changes diff panel and the PR code tab. I'll make it drag-resizable with the same pattern the preview panel already uses (useResizableWidth + RightPanelResizeHandle), persisting the width and clamping it so the diff column beside it keeps a readable minimum. The hover tooltip for truncated names isn't reachable through @pierre/trees (rows live in its shadow DOM and there's no per-row title API), so that stays out of the first pass — being able to widen the panel covers the readability ask.
Thanks a lot for picking this up so quickly! A resizable panel with a remembered width is exactly what I need, and covering the PR code tab too is a nice bonus.
Totally fine to leave the tooltip out of the first pass. Happy to test Kamkmgamer#2 on my Unity repo (deep folders, long names, .meta files everywhere) once it's up against main.
Activity
Kamkmgamer commentedon Oct 24, 2026
I'm taking this one: the Files aside is a fixed
w-[min(16rem,40%)]withshrink-0, in both the Changes diff panel and the PR code tab. I'll make it drag-resizable with the same pattern the preview panel already uses (useResizableWidth+RightPanelResizeHandle), persisting the width and clamping it so the diff column beside it keeps a readable minimum. The hover tooltip for truncated names isn't reachable through@pierre/trees(rows live in its shadow DOM and there's no per-row title API), so that stays out of the first pass — being able to widen the panel covers the readability ask.wrymn commentedon Oct 25, 2026
Thanks a lot for picking this up so quickly! A resizable panel with a remembered width is exactly what I need, and covering the PR code tab too is a nice bonus.
Totally fine to leave the tooltip out of the first pass. Happy to test Kamkmgamer#2 on my Unity repo (deep folders, long names,
.metafiles everywhere) once it's up against main.