Add phase-aware frontend shell, polling client, and global exception handler
This commit is contained in:
8
TASKS.md
8
TASKS.md
@@ -12,7 +12,7 @@
|
||||
## Identity & Middleware
|
||||
- [x] Middleware to issue/read HttpOnly `player` cookie with Guid; SameSite=Strict; secure in production.
|
||||
- [x] Minimal API helpers to resolve current player and ensure existence in DB.
|
||||
- [ ] Global exception/validation handling and basic logging.
|
||||
- [x] Global exception handling and basic logging.
|
||||
|
||||
## Phase Enforcement
|
||||
- [x] Store current phase in `AppState`; default to Suggest.
|
||||
@@ -27,9 +27,9 @@
|
||||
- [x] Admin endpoints: switch phase, reset data; protect via env password.
|
||||
|
||||
## Frontend (wwwroot)
|
||||
- [ ] `index.html` shell with phase-driven sections.
|
||||
- [ ] `app.js` API client, polling, and render functions per phase; enforce blindness in UI.
|
||||
- [ ] `styles.css` basic responsive layout (desktop + mobile).
|
||||
- [x] `index.html` shell with phase-driven sections.
|
||||
- [x] `app.js` API client, polling, and render functions per phase; enforce blindness in UI.
|
||||
- [x] `styles.css` basic responsive layout (desktop + mobile).
|
||||
|
||||
## Persistence & Migrations
|
||||
- [x] Create initial EF Core migration for SQLite schema.
|
||||
|
||||
Reference in New Issue
Block a user