Skip to content

Add quit confirmation dialog when pressing ESC on dashboard#50

Merged
bborn merged 1 commit intomainfrom
task/117-warn-before-closing-the-entire-tasks-app
Jan 9, 2026
Merged

Add quit confirmation dialog when pressing ESC on dashboard#50
bborn merged 1 commit intomainfrom
task/117-warn-before-closing-the-entire-tasks-app

Conversation

@bborn
Copy link
Copy Markdown
Owner

@bborn bborn commented Jan 9, 2026

Summary

  • Added a confirmation dialog that appears when pressing ESC or Q on the dashboard view
  • Prevents accidental app exits by requiring user to confirm quit action
  • User can select "Quit" to exit or "Cancel" to return to dashboard
  • ESC while in the dialog also cancels

Test plan

  • Launch the tasks app
  • Press ESC or Q on the dashboard - should see "Quit Tasks?" confirmation
  • Press Cancel or ESC - should return to dashboard
  • Press Quit - should exit the app
  • Ctrl+C should still immediately quit without confirmation

🤖 Generated with Claude Code

Previously, pressing ESC or Q on the dashboard would immediately quit
the app. Now it shows a confirmation dialog asking "Quit Tasks?" with
Quit/Cancel options to prevent accidental exits.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bborn bborn merged commit 26d8c24 into main Jan 9, 2026
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.

1 participant