Skip to content

[Bug]: Diff Files panel cuts off every file name and can't be resized #24017

Open

Description

@wrymn

Before submitting

  • 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

  1. Open the Changes diff in a repo with nested folders (e.g. a Unity project).
  2. Look at the Files panel on the right.
  3. 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.

Files panel with truncated names

Impact

Major degradation or frequent failure

Version or commit

No response

Environment

macOS 26 (Darwin 25.6), T3 Code desktop

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

No response

Activity

  1. added
    bugSomething is broken or behaving incorrectly.
    needs-triageIssue needs maintainer review and initial categorization.
    on Oct 23, 2026
  2. Kamkmgamer commented on Oct 24, 2026

    @Kamkmgamer
    Contributor

    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.

  3. wrymn commented on Oct 25, 2026

    @wrymn
    Author

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions