Prevent accidental deletion after submitting a local review comment
Open 💬 0 comments Opened Jun 23, 2026 by st0012
What version of the Codex App are you using (From “About Codex” dialog)?
26.616.71553
What subscription do you have?
Pro
What platform is your computer?
Darwin 24.6.0 arm64 arm
What issue are you seeing?
In the Codex App local Review view, after I submit a local inline comment, the newly created comment shows a Delete button in the same physical location as the previous Comment button.
If I click too quickly, or accidentally double-click the submit button, the second click immediately hits the delete button and removes the local comment I just added.
This makes it easy to unintentionally discard a freshly written review comment.
What steps can reproduce the bug?
- Open a local thread with changes visible in the Review panel / diff view.
- Click to add a local inline comment on a changed line.
- Type a comment.
- Click the comment/submit button twice quickly.
- The comment is submitted, then immediately removed by the second click.
https://github.com/user-attachments/assets/da045e46-04c6-42f7-83d7-8675845b19fe
What is the expected behavior?
- There could be a debounce for the 2nd click
- Or, we can require confirmation for comment deletion, which matches GH's behaviour even for pending comments
Additional information
_No response_