Show live player presence and Captain/Gat roster badges

This commit is contained in:
2026-09-04 19:32:22 -07:00
parent 8b67d78f25
commit fcbc617fe3
10 changed files with 162 additions and 18 deletions
+4
View File
@@ -28,6 +28,10 @@ When you run into a repeatable problem during testing (e.g. port assignment coll
- Rollback tests must fetch Player/Obstacle/Challenge/Vote rows again by ID after `apply_game_state`; it deletes and recreates those rows, so old ORM instances cannot be refreshed.
- The project `.venv` uses Python 3.9. Use `Optional[T]` (or postponed annotations) instead of evaluated `T | None` annotations, which fail during import.
- Multi-socket TestClient tests must use `with TestClient(app) as client` so sockets share one event loop; separate portals can hang on cross-socket broadcasts. Close sockets explicitly before asserting disconnect messages. Override lifespan when using an isolated test database.
## Versioning & changelog
The app shows its version number and a player-facing changelog in the ☰ menu → About. Both come from `frontend/src/lib/changelog.js` (rendered by `frontend/src/components/AboutModal.svelte`).