Files
boxofficefantasy/boxofficefantasy
Anthony Correa 9ddc8663a9 feat: improve draft admin UI, draft state sync, and styling
Major refactor of Draft admin and participant Websocket state sync
Use consistent state dict serialization in DraftStateManager (to_dict, dict-like access, etc.)
Always include up-to-date participants and draft status in sync payloads
Draft phase/order summary now sent as objects instead of calling .get_summary()
UI/UX updates:
Updated DraftAdmin.jsx:
Connects DraftParticipant panel for real-time participant state
Centralizes phase advance, bidding, and sync controls
Moves phase selector into a dedicated panel
Refine markup/extends in room_admin.dj.html (use block body, fix root data attribute)
Minor fixes to DraftCountdownClock.jsx to robustly handle NaN time
CSS/layout:
Refactor .draft-participant styling to .wrapper within #draft-participant-root and #draft-admin-root for better responsive layout and code clarity
Server code:
Simplify draft consumer/manager state interaction, drop unused cache keys, update order determination and phase management, and ensure DRY status object responses
Small code style and consistency cleanups
Misc:
Add debugpy launch task in code-workspace and clean workspace JSON (style/consistency)
Minor formatting and error handling improvements
2025-08-15 11:06:27 -05:00
..
2025-08-01 13:03:58 -05:00
2025-07-21 21:31:13 -05:00
2025-07-26 14:52:54 -05:00
2025-07-25 09:40:05 -05:00
2025-07-21 21:31:13 -05:00
2025-08-01 13:03:58 -05:00
2025-07-21 21:31:13 -05:00
2025-07-25 09:40:05 -05:00
2025-07-26 14:52:54 -05:00
2025-07-21 21:31:13 -05:00
2025-07-26 14:52:54 -05:00