Skip to content

Enable resizing the sidebar chooser - #59824

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/511cd4bb5894e6f33f0cf5d7472bb3013361ffe0
Nov 6, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/511cd4bb5894e6f33f0cf5d7472bb3013361ffe0

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Enable resizing the sidebar chooser

Why

Sidebar resizing previously required an open side chat, leaving the chooser without the same width controls.

What changed

  • Support keyboard resizing, width presets, and divider dragging for the sidebar chooser, with resize hints that fit narrow sidebars.
  • Keep keyboard resize mode active across startup thread assignment and replacement of the chooser by a new side chat, so Enter finishes resizing without submitting the parent draft.
  • Activate resize bindings only when a split is available, and prevent divider drags from starting while the split is animating.

Testing

Add regression coverage for chooser resizing, width preservation when switching between the chooser and a chat, startup and side-chat creation transitions, draft preservation, and unavailable resize bindings in narrow terminals.

## Why

Sidebar resizing previously required an open side chat, leaving the chooser without the same width controls.

## What changed

- Support keyboard resizing, width presets, and divider dragging for the sidebar chooser, with resize hints that fit narrow sidebars.
- Keep keyboard resize mode active across startup thread assignment and replacement of the chooser by a new side chat, so `Enter` finishes resizing without submitting the parent draft.
- Activate resize bindings only when a split is available, and prevent divider drags from starting while the split is animating.

## Testing

Add regression coverage for chooser resizing, width preservation when switching between the chooser and a chat, startup and side-chat creation transitions, draft preservation, and unavailable resize bindings in narrow terminals.

GitOrigin-RevId: 511cd4bb5894e6f33f0cf5d7472bb3013361ffe0
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/511cd4bb5894e6f33f0cf5d7472bb3013361ffe0 branch from f072f2f to 5fab289 Compare November 6, 2026 04:53
@copyberry
copyberry Bot merged commit 5fab289 into main Nov 6, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-11-06T04:53:45.492924Z f072f2f 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.

@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/511cd4bb5894e6f33f0cf5d7472bb3013361ffe0 branch November 6, 2026 04:53
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 6, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — 5fab2893 Deployed Nov 6, 2026 by joeyzhu0122 via Identify potential duplicates (all issues) #61783
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants