Skip to content

Discard unsaved experimental feature edits on cancel - #61694

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

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

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Discard unsaved experimental feature edits on cancel

What changed

Close the experimental features popup without saving pending edits when the user presses Esc, Ctrl+C, or a remapped cancel key. Keep saving on the accept action (Enter by default), and update the footer from esc save/close to esc cancel.

Testing

Update tests to assert that cancellation discards toggles without emitting save events, including after a failed write and with a remapped cancel key. Refresh popup snapshots for the new hint.

## What changed

Close the experimental features popup without saving pending edits when the user presses `Esc`, `Ctrl+C`, or a remapped cancel key. Keep saving on the accept action (`Enter` by default), and update the footer from `esc save/close` to `esc cancel`.

## Testing

Update tests to assert that cancellation discards toggles without emitting save events, including after a failed write and with a remapped cancel key. Refresh popup snapshots for the new hint.

GitOrigin-RevId: d7640edaeca1db371a7087312179a001d7528b9a
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/d7640edaeca1db371a7087312179a001d7528b9a branch from eca0cd1 to 1a2a929 Compare November 15, 2026 21:11
@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-15T21:11:42.653495Z eca0cd1 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 1a2a929 into main Nov 15, 2026
11 of 24 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/d7640edaeca1db371a7087312179a001d7528b9a branch November 15, 2026 21:11
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 15, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — 1a2a9299 Deployed Nov 15, 2026 by ptidav via Generate label suggestions #63678
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.

3 participants