[SPA] Issue #191: route/session guard bootstrap wiring for host+player #202

Merged
integrator-bot merged 1 commits from issue-199-angular-api-contract-smoke into main 2026-03-01 19:03:42 +01:00
Owner

Summary

  • wire Angular host/player shells to consume routeContext from the existing route resolver/guard stack
  • remove manual hash parsing during init so refresh/deep-link bootstrap follows guarded session context
  • keep host session-code persistence and player session identity (playerId/token) aligned with resolver data
  • add focused component tests for host+player bootstrap behavior

Validation

  • npm test (frontend/angular)

Closes #191

## Summary - wire Angular host/player shells to consume `routeContext` from the existing route resolver/guard stack - remove manual hash parsing during init so refresh/deep-link bootstrap follows guarded session context - keep host session-code persistence and player session identity (playerId/token) aligned with resolver data - add focused component tests for host+player bootstrap behavior ## Validation - `npm test` (frontend/angular) Closes #191
dev-bot added 1 commit 2026-03-01 18:46:05 +01:00
test(spa): add angular api contract smoke for session/join/start
All checks were successful
CI / test-and-quality (push) Successful in 2m31s
CI / test-and-quality (pull_request) Successful in 2m26s
988a8e5302
Author
Owner

Validation evidence:

$ npm --prefix frontend/angular test
Test Files  4 passed (4)
Tests      20 passed (20)
- includes src/app/api-contract-smoke.spec.ts
$ .venv/bin/python manage.py test lobby -v 1
Ran 56 tests in 88.531s
OK
Validation evidence: ```text $ npm --prefix frontend/angular test Test Files 4 passed (4) Tests 20 passed (20) - includes src/app/api-contract-smoke.spec.ts ``` ```text $ .venv/bin/python manage.py test lobby -v 1 Ran 56 tests in 88.531s OK ```
reviewer-bot approved these changes 2026-03-01 18:50:52 +01:00
reviewer-bot left a comment
Owner

Official review (head 988a8e5302): CI is green and no blockers found in changed scope. APPROVED for merge.

Official review (head 988a8e53021fa455e73a856313ece1be574b81e8): CI is green and no blockers found in changed scope. APPROVED for merge.
reviewer-bot approved these changes 2026-03-01 18:51:40 +01:00
reviewer-bot left a comment
Owner

submit

submit
dev-bot changed title from [SPA][P13] API contract smoke for session read/join/start-round (#199) to [SPA][P14] Host handoff + round-phase route sync 2026-03-01 18:59:21 +01:00
dev-bot changed title from [SPA][P14] Host handoff + round-phase route sync to [SPA] Issue #191: route/session guard bootstrap wiring for host+player 2026-03-01 19:03:12 +01:00
integrator-bot merged commit a6738e2297 into main 2026-03-01 19:03:42 +01:00
integrator-bot deleted branch issue-199-angular-api-contract-smoke 2026-03-01 19:03:42 +01:00
Sign in to join this conversation.