feat: realtime sync, settings UX and chat list improvements
Some checks failed
CI / test (push) Failing after 21s

- add chat_updated realtime event and dynamic chat subscriptions

- auto-join invite links in web app

- implement Telegram-like settings panel (general/notifications/privacy)

- add browser notification preferences and keyboard send mode

- improve chat list with last message preview/time and online badge

- rework chat members UI with context actions and role crowns
This commit is contained in:
2026-03-08 10:59:44 +03:00
parent a4fa72df30
commit 99e7c70901
18 changed files with 1007 additions and 78 deletions

View File

@@ -37,6 +37,7 @@ class ChatAttachmentRead(BaseModel):
id: int
message_id: int
sender_id: int
message_type: str
message_created_at: datetime
file_url: str
file_type: str

View File

@@ -157,6 +157,7 @@ async def list_attachments_for_chat(
id=attachment.id,
message_id=attachment.message_id,
sender_id=message.sender_id,
message_type=message.type.value if hasattr(message.type, "value") else str(message.type),
message_created_at=message.created_at,
file_url=attachment.file_url,
file_type=attachment.file_type,