Skip to content

fix: escape key in hint popup not counted as action; arcade mode headers#200

Merged
bug-ops merged 1 commit intomainfrom
fix/194-escape-hint-counted-as-actio
Mar 25, 2026
Merged

fix: escape key in hint popup not counted as action; arcade mode headers#200
bug-ops merged 1 commit intomainfrom
fix/194-escape-hint-counted-as-actio

Conversation

@bug-ops
Copy link
Owner

@bug-ops bug-ops commented Mar 25, 2026

Summary

Test plan

  • Start a scenario, press ? to open hint, press Escape to close — score remains unaffected, no "Mastery Up: Escape" notification
  • Verify optimal solve after hint dismissal shows correct action count
  • Launch Arcade → Survival — header shows SURVIVAL MODE
  • Launch Arcade → Daily Challenge — header shows DAILY CHALLENGE
  • CI: 1857 tests pass, clippy clean, fmt clean

Closes #194
Closes #197

@github-actions github-actions bot added bug Something isn't working documentation Improvements or additions to documentation ui User interface components input Input handling and key mapping labels Mar 25, 2026
@bug-ops bug-ops enabled auto-merge (squash) March 25, 2026 22:54
fix: arcade sub-modes now display correct header title (#197)

- In handle_task_keys, guard Escape key when hint panel is visible:
  return Message::ShowHint (toggle/dismiss) instead of falling through
  to ExecuteCommand("Escape"), which was incorrectly counted as a player
  action and granted mastery credit to the Escape key.
- Add mode_title() helper in minigame renderer that matches on
  MiniGameMode to return the correct header string. Survival and Daily
  Challenge now show their own titles instead of "ARCADE MODE".
@bug-ops bug-ops force-pushed the fix/194-escape-hint-counted-as-actio branch from ef02281 to 40033f9 Compare March 25, 2026 23:02
@bug-ops bug-ops merged commit a229e1d into main Mar 25, 2026
18 checks passed
@bug-ops bug-ops deleted the fix/194-escape-hint-counted-as-actio branch March 25, 2026 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation input Input handling and key mapping ui User interface components

Projects

None yet

1 participant