Refactor draft app with improved state management and components

* Rename WebSocket message types for better organization
* Improve state handling with dedicated methods like broadcast_state
* Restructure frontend components and remove unused code
This commit is contained in:
2025-08-24 12:06:41 -05:00
parent b38c779772
commit baddca8d50
22 changed files with 387 additions and 275 deletions

21
draft_cache.json Normal file
View File

@@ -0,0 +1,21 @@
{
"participants": [
"Alice",
"Bob"
],
"phase": "nominating",
"draft_order": [
"Bob",
"Alice"
],
"draft_index": 0,
"current_movie": "The Matrix",
"bids": [
{
"Alice": 10
},
{
"Bob": 12
}
]
}