Skip to content

feat(gameui): add canvas quit confirmation - #2750

Open
houko wants to merge 1 commit into
mainfrom
fix/issue-2738-canvas-quit
Open

houko wants to merge 1 commit into
mainfrom
fix/issue-2738-canvas-quit

Conversation

@houko

@houko houko commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Add a gameui-backed quit confirmation for canvas games. It keeps the same input model as other gameui screens, focuses Cancel first, maps Escape/Back to Cancel, and supports optional save/retry reporting.

Validation

  • go tool nsgo test ./pkg/gameui -run 'TestCanvasQuitConfirmationUsesCanvasInputAndCancelBack|TestQuitConfirmation' -count=1
  • go tool nsgo check ./pkg/gameui
  • go run ./tools/changelog check
  • bun run verify-notes

@github-actions github-actions Bot added enhancement New feature or request size/M documentation Improvements or additions to documentation area/agents pkg/gameui labels Dec 1, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/agents documentation Improvements or additions to documentation enhancement New feature or request pkg/gameui size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant