Skip to content

Return focus to the agents overview composer on Escape - #44360

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/8920677c42b0c9ff5023979e198f069abcfcf54b
Sep 10, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 10, 2026 •

Copy link
Copy Markdown

Return focus to the agents overview composer on Escape

Why

Pressing Esc in the agents overview task list dismissed the overview or
exited Codex when no primary thread existed, instead of returning to the draft.

What changed

Make list cancellation return focus to the composer, including while
reconnecting, preserving the draft and cursor position.

Testing

Add regression coverage for returning from the list to the composer with Vim
mode enabled or disabled, both online and reconnecting. Verify draft and cursor
preservation, resumed text entry, and the absence of app events.

## Why

Pressing `Esc` in the agents overview task list dismissed the overview or
exited Codex when no primary thread existed, instead of returning to the draft.

## What changed

Make list cancellation return focus to the composer, including while
reconnecting, preserving the draft and cursor position.

## Testing

Add regression coverage for returning from the list to the composer with Vim
mode enabled or disabled, both online and reconnecting. Verify draft and cursor
preservation, resumed text entry, and the absence of app events.

GitOrigin-RevId: 8920677c42b0c9ff5023979e198f069abcfcf54b
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/8920677c42b0c9ff5023979e198f069abcfcf54b branch from e92e49f to a62e98d Compare September 10, 2026 01:06
@copyberry
copyberry Bot merged commit a62e98d into main Sep 10, 2026
10 of 18 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/8920677c42b0c9ff5023979e198f069abcfcf54b branch September 10, 2026 01:06
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 10, 2026

This branch was previously deployed

1 inactive deployment
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.