Skip to content

fix(tui): require deliberate approval dialog input - #6755

Merged
Hmbown merged 1 commit into
mainfrom
fix/modal-approval-input
Sep 29, 2026
Merged

Hmbown merged 1 commit into
mainfrom
fix/modal-approval-input

Conversation

@Hmbown

@Hmbown Hmbown commented Sep 29, 2026 •

Copy link
Copy Markdown
Owner

No-Issue: verified approval-dialog input handling findings from the current audit.

Elevation dialogs can receive typing that began before they opened, and their default selection previously permitted a grant. Start on Abort, ignore stale/modified/non-press keys, and require deliberate unmodified navigation plus Enter or a click on an offered row. The existing view timestamp gate and keybinding table govern both approval dialog kinds; compact rendering retains all choices and controls.

Validation: 25 focused Rust tests passed (0 failed, 0 ignored), including stale input, modifier/repeat handling, six render sizes, mouse choices, localization and existing approval shortcuts. npm test: 636 passed; npm run check:web: passed. Independent source review, formatting and diff checks passed. The first Rust compile exposed an unfulfilled dead-code expectation; it was corrected before the successful retry. Hosted cross-platform checks remain required.

Start elevation at Abort; require unmodified navigation or a visible row click. Ignore stale, modified, repeated and release-key answers through the existing view timestamp and keybinding authorities. Keep all offered elevation choices visible in compact dialogs.

Validation: 25 focused Rust tests passed, 0 failed, 0 ignored; npm test 636 passed; npm run check:web passed. Formatting and diff checks passed. Initial Rust compile caught an unfulfilled dead_code expectation; the annotation was corrected before the passing retry.
Copilot AI balanced review requested due to automatic review settings September 29, 2026 12:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Hmbown
Hmbown merged commit 6ce2d2e into main Sep 29, 2026
36 of 37 checks passed
@Hmbown
Hmbown deleted the fix/modal-approval-input branch September 29, 2026 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants