Skip to content

Refactor TUI sidebar layout and focus handling around panels - #61167

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/ee6180bad691da3a76bd23835077aeb11c7d969d
Nov 12, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Refactor TUI sidebar layout and focus handling around panels

What changed

Rename SidebarLayout::Chooser to SidebarLayout::Panel and use panel helpers for geometry, transcript visibility, focus routing, and shortcut hints. Retain chooser_focus() for chooser-specific logic.

When changing panel focus, reuse the pane's visible content instead of explicitly selecting SidebarContent::Chooser. Update existing sidebar tests to use the renamed geometry helper.

## What changed

Rename `SidebarLayout::Chooser` to `SidebarLayout::Panel` and use panel helpers for geometry, transcript visibility, focus routing, and shortcut hints. Retain `chooser_focus()` for chooser-specific logic.

When changing panel focus, reuse the pane's visible content instead of explicitly selecting `SidebarContent::Chooser`. Update existing sidebar tests to use the renamed geometry helper.

GitOrigin-RevId: ee6180bad691da3a76bd23835077aeb11c7d969d
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/ee6180bad691da3a76bd23835077aeb11c7d969d branch from 12d8adc to ae50f97 Compare November 12, 2026 19:04
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor
Codex Review Summary: 🔄 Running

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

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-11-12T19:04:25.908124Z 12d8adc 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 merged commit ae50f97 into main Nov 12, 2026
7 of 23 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/ee6180bad691da3a76bd23835077aeb11c7d969d branch November 12, 2026 19:04
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 12, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — ae50f973 Deployed Nov 12, 2026 by vinnellahh via Identify potential duplicates (all issues) #63184
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.

5 participants