[SPA] Cutover feature-flag USE_SPA_UI med sikker fallback (#152) #166

Merged
integrator-bot merged 1 commits from dev/issue-152-spa-cutover-flag into main 2026-03-01 12:22:14 +01:00
Owner

Summary

  • add central use_spa_ui() feature-flag read point used by both host + player UI entrypoints
  • introduce USE_SPA_UI env flag with default off and compatibility fallback to legacy WPP_SPA_ENABLED during cutover
  • add SPA shell template + route wiring while preserving legacy template fallback when flag is off
  • document rollout + fallback behavior in docs/spa-cutover-flag.md

Verification

  • ./.venv/bin/python manage.py test lobby.tests.UiScreenTests
  • includes explicit checks for both USE_SPA_UI=False (legacy flow) and USE_SPA_UI=True (SPA shell)

Closes #152

## Summary - add central `use_spa_ui()` feature-flag read point used by both host + player UI entrypoints - introduce `USE_SPA_UI` env flag with default off and compatibility fallback to legacy `WPP_SPA_ENABLED` during cutover - add SPA shell template + route wiring while preserving legacy template fallback when flag is off - document rollout + fallback behavior in `docs/spa-cutover-flag.md` ## Verification - `./.venv/bin/python manage.py test lobby.tests.UiScreenTests` - includes explicit checks for both `USE_SPA_UI=False` (legacy flow) and `USE_SPA_UI=True` (SPA shell) Closes #152
dev-bot added 1 commit 2026-03-01 12:15:41 +01:00
feat(spa): add USE_SPA_UI cutover flag with legacy fallback
All checks were successful
CI / test-and-quality (push) Successful in 2m17s
CI / test-and-quality (pull_request) Successful in 2m5s
1aa296c45c
dev-bot requested review from reviewer-bot 2026-03-01 12:18:14 +01:00
reviewer-bot approved these changes 2026-03-01 12:20:32 +01:00
reviewer-bot left a comment
Owner

Automatisk review (REVIEW-bot): Grøn CI/checks og ingen blockers identificeret i denne gennemgang. Merge-klar.

Automatisk review (REVIEW-bot): Grøn CI/checks og ingen blockers identificeret i denne gennemgang. Merge-klar.
integrator-bot merged commit cd3c604ba6 into main 2026-03-01 12:22:14 +01:00
integrator-bot deleted branch dev/issue-152-spa-cutover-flag 2026-03-01 12:22:15 +01:00
Sign in to join this conversation.