In DualityGameComponent, the on-screen mode button calls toggleMode() which tracks games.duality / toggle-mode before flipping modes. Pressing Space on the canvas flips mode directly in onKeyDown and never calls ActivityTrackingService.track.
Impact
Keyboard users who switch pacman↔snake via Space are invisible in analytics; button toggles are counted. Funnel / engagement metrics under-count mode switches.
Repro
Open Duality game.
Focus the canvas and press Space → mode flips, no track.
Click the mode toggle button → track("games.duality", "toggle-mode") fires.
Expected
Space and the button should share the same toggle path (or Space should also track).
Source
projects/spikersoft/src/app/_components/_games/duality/duality-game.component.ts — onKeyDown vs toggleMode.
Found during Wave 6 coverage tick 11 (a3).
## Summary
In `DualityGameComponent`, the on-screen mode button calls `toggleMode()` which tracks `games.duality` / `toggle-mode` before flipping modes. Pressing **Space** on the canvas flips `mode` directly in `onKeyDown` and never calls `ActivityTrackingService.track`.
## Impact
Keyboard users who switch pacman↔snake via Space are invisible in analytics; button toggles are counted. Funnel / engagement metrics under-count mode switches.
## Repro
1. Open Duality game.
2. Focus the canvas and press Space → mode flips, no track.
3. Click the mode toggle button → `track("games.duality", "toggle-mode")` fires.
## Expected
Space and the button should share the same toggle path (or Space should also track).
## Source
`projects/spikersoft/src/app/_components/_games/duality/duality-game.component.ts` — `onKeyDown` vs `toggleMode`.
Found during Wave 6 coverage tick 11 (a3).
Resolved in spikersoft-angular PR #819 (merged to master). Duality Space key tracks activity when toggling mode. Closing.
Resolved in spikersoft-angular [PR #819](https://git.spikersoft.com/spikerj/spikersoft-angular/pulls/819) (merged to `master`). Duality Space key tracks activity when toggling mode. Closing.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
In
DualityGameComponent, the on-screen mode button callstoggleMode()which tracksgames.duality/toggle-modebefore flipping modes. Pressing Space on the canvas flipsmodedirectly inonKeyDownand never callsActivityTrackingService.track.Impact
Keyboard users who switch pacman↔snake via Space are invisible in analytics; button toggles are counted. Funnel / engagement metrics under-count mode switches.
Repro
track("games.duality", "toggle-mode")fires.Expected
Space and the button should share the same toggle path (or Space should also track).
Source
projects/spikersoft/src/app/_components/_games/duality/duality-game.component.ts—onKeyDownvstoggleMode.Found during Wave 6 coverage tick 11 (a3).
Resolved in spikersoft-angular PR #819 (merged to
master). Duality Space key tracks activity when toggling mode. Closing.