Add "maybe" status option and long-press functionality

This update introduces a new "maybe" status for entries, represented by a distinct UI button and background. Additionally, long-press functionality has been implemented, allowing users to toggle the "confirmed" status through prolonged interaction. UI components and styles have been updated to reflect these changes, improving usability.
This commit is contained in:
2026-02-03 09:11:04 +01:00
parent 718ef2adc6
commit e8be5a5893
2 changed files with 127 additions and 62 deletions

View File

@@ -75,7 +75,7 @@ def patch_sheet(req: Request, game_id: str, entry_id: str, data: dict, db: Sessi
if note_tag not in (None, "i", "m", "s"):
raise HTTPException(400, "invalid note_tag")
if status is not None and status not in (0, 1, 2):
if status is not None and status not in (0, 1, 2, 3):
raise HTTPException(400, "invalid status")
st = db.query(SheetState).filter(