Skip to content

Resize Changes and PR file columns without losing narrow layouts - #1949

Merged
currentbits merged 2 commits into
mainfrom
coder/next-feature-1929
Nov 8, 2026
Merged

currentbits merged 2 commits into
mainfrom
coder/next-feature-1929

Conversation

@currentbits

Copy link
Copy Markdown
Owner

Long filenames were constrained by the fixed Changes file column, while PR Code always stacked its file list above the diff.

Add a shared file/diff layout that supports bounded drag and keyboard resizing, reset and remembered width. It reserves space for the diff and switches to a stacked layout when the pane or window is narrow. File selection/navigation remain in their existing components; pointer cancellation, hidden-separator focus and stored-width validation are covered.

Validation: 71 focused renderer tests, typecheck and preload consistency pass. A real Chromium fixture verified drag, narrow stacking, width restoration, reload persistence, invalid storage and no page errors; wide/narrow screenshots were inspected. Independent review found no material issues and repeated the four layout tests. Packaged Electron and other browser engines were not exercised.

Integration note: pending PR #1924 also changes the former .changesSplit responsive CSS. This change moves that layout into scoped FileDiffLayout styles; reconcile that small overlap when the other PR lands.

Closes #1929. Part of #1926.

Created with GPT-6.1 Sol in Codex, including GPT-6.1 Sol implementation and review workers.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-08T11:26:56.948095Z 45473d4 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 45473d4085

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/components/thread/ChangesPanel.tsx Resolved
@currentbits
currentbits merged commit 55a9f9e into main Nov 8, 2026
10 checks passed
@currentbits
currentbits deleted the coder/next-feature-1929 branch November 8, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Resizable Changes and PR file columns

1 participant