Skip to content

Cancel stop confirmation on Esc#1179

Open
Tomasz Turkowski (tturkowski) wants to merge 1 commit into
nextfrom
fix/devtui-stop-confirm-esc-cancel
Open

Cancel stop confirmation on Esc#1179
Tomasz Turkowski (tturkowski) wants to merge 1 commit into
nextfrom
fix/devtui-stop-confirm-esc-cancel

Conversation

@tturkowski

Copy link
Copy Markdown
Contributor

What changed?

Pressing Esc on the "Leaving the workspace" stop confirmation now cancels it, same as navigating to "Cancel" and pressing Enter. The footer hint was updated to show esc as a shortcut.

image

Why it changed?

Previously users had to arrow/tab over to the "Cancel" button and press Enter just to back out of the dialog. Esc is more natural way to dismiss a confirmation, so this makes canceling faster.

How it was tested?

Updated the existing unit test to assert Esc emits a cancel result.

Related issue

None.

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