bug(challenge): silent no-op when all challenges are completed #72
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
When
challenge_index >= challenge_count()(player has beaten every challenge), pressing X or the Challenge button does nothing — no toast, no modal, no feedback.Location
solitaire_engine/src/challenge_plugin.rslines 95–97:Steps to reproduce
Expected behaviour
An
InfoToastexplains the player has completed all challenges.Severity
Medium — bad UX, player thinks the feature is broken.
Fix (commit
f444378)Replaced the silent
warn!+returnwith anInfoToastEventso the player receives clear feedback when all challenges have been completed:The toast fires immediately when the player presses X or taps the Challenge button and their
challenge_indexhas reached the end of the seed list. No game state changes are made — the button simply explains why nothing happened.