mirror of
https://github.com/openai/codex.git
synced 2026-05-03 21:01:55 +03:00
983 B
983 B
Task 07: Undo Feedback Decision with Esc Key
This task is specific to codex-rs.
Status
General Status: Not started
Summary: Not started; missing Implementation details (How it was implemented and How it works).
Goal
Enhance the user-approval dialog so that if the user opted to leave feedback (“No, enter feedback”) they can press Esc to cancel the feedback flow and return to the previous approval choice menu (e.g. “Yes, proceed” vs. “No, enter feedback”).
Acceptance Criteria
- While the feedback-entry textarea is active, pressing
Esccloses the feedback editor and reopens the yes/no confirmation dialog. - The cancellation must restore the dialog state without losing any partially entered feedback text.
Implementation
How it was implemented
(Not implemented yet)
How it works
(Not implemented yet)
Notes
- Changes in
tui/src/bottom_pane/approval_modal_view.rsand input handling in the approval modal.