Major overhaul to the Notes/Issues. Minor tweaks to the UI. Added Profile photos

This commit is contained in:
2026-02-19 06:30:57 +02:00
parent a9a1531d57
commit f09979c653
21 changed files with 988 additions and 308 deletions

View File

@@ -0,0 +1,24 @@
from pydantic import BaseModel
from typing import List, Optional
class HelpdeskMessage(BaseModel):
"""Helpdesk message as stored in Firestore."""
id: str
sender_id: str = ""
sender_name: str = ""
type: str = "" # Problem, Suggestion, Question, Other
date_sent: str = ""
subject: str = ""
message: str = ""
phone: str = ""
device_id: str = ""
device_name: str = ""
acknowledged: bool = False
acknowledged_by: str = ""
acknowledged_at: str = ""
class HelpdeskListResponse(BaseModel):
messages: List[HelpdeskMessage]
total: int