Files
romm/frontend
Georges-Antoine Assi 2cc8c02101 feat(v2): record EmulatorJS play sessions in the v2 shell, not v1 Player
Wire usePlaySession into the v2 EmulatorJS view so a session is recorded on
any exit path (in-emulator Exit/Save & Quit, back nav, or route change),
starting when the game goes live and flushing on unmount. flush() is
idempotent so overlapping exit paths can't double-submit.

Remove the play-session ingest from the shared v1 Player component so there
is a single source of truth and no double-recording. immediateExit now only
navigates back to the game details view.

Note: Player.vue is also mounted by the v1 EmulatorJS view, which no longer
records sessions as a result; acceptable while v1 is frozen and slated for
removal.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-21 16:32:39 -04:00
..
2026-06-22 10:06:03 -04:00
2025-09-09 20:19:30 -04:00
2026-05-30 20:53:52 -04:00
2026-06-25 17:17:23 -04:00