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

@@ -24,6 +24,9 @@ export interface Chat {
counterpart_username?: string | null;
counterpart_is_online?: boolean | null;
counterpart_last_seen_at?: string | null;
last_message_text?: string | null;
last_message_type?: MessageType | null;
last_message_created_at?: string | null;
my_role?: ChatMemberRole | null;
created_at: string;
}
@@ -102,6 +105,7 @@ export interface ChatAttachment {
id: number;
message_id: number;
sender_id: number;
message_type: MessageType;
message_created_at: string;
file_url: string;
file_type: string;