- expose email in user search/contact responses
- add add-contact-by-email API endpoint
- show email in contacts/search and add contact form by email in Contacts tab
- move voice/audio players to single global audio engine with shared volume
- stop/reset previous track when switching to another media
- keep playback alive across chat switches via global audio element
- list refresh sessions by redis scan fallback when user session set is missing
- add user twofa fields and migration
- add 2FA setup/enable/disable endpoints
- enforce OTP on login when 2FA enabled
- add web login OTP field and settings UI
- store refresh session metadata in redis (ip/user-agent/created_at)
- add auth APIs: list sessions, revoke one, revoke all
- add web privacy UI for active sessions
- keep archived list synced while browsing chats
- add archived entry in All tab with unread count-like badge
- show loading/empty states in Archived tab
- register notifications service worker and handle click-to-open chat/message
- route realtime notifications through service worker with fallback
- support ?chat=&message= deep-link navigation in chats page
- enforce 1s minimum voice message length
- lift scroll-to-bottom button to avoid overlap with composer action
- show one action button in composer: mic when empty, send when text exists
- add floating scroll-to-bottom button in message list
- exclude non-text/media messages from Chat Info links list to avoid duplicates
- replace modal message search with header inline search controls
- add global top audio bar linked to active inline audio player
- improve chat info header variants and light theme readability
- 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
- add retry logic for presigned media upload
- add retry for text send with idempotent client message id
- avoid dropping already sent media message when attachment metadata call fails
- add chat_notification_settings table and migration
- add chat notifications API (get/update muted)
- skip message notifications for muted recipients
- add mute/unmute control in chat info panel
- add websocket events user_online/user_offline
- broadcast presence changes on first connect and final disconnect only
- apply live presence updates in web chat store and realtime hook
- move public discover into unified left search (users + groups/channels)
- remove separate Discover Chats dialog/menu entry
- block send/forward in channels for member role on backend
- expose my_role in chat payload for client-side permissions
- hide message composer for channel members and show read-only notice
- hide members management sections for private/saved chats in info panel
- return enriched chat detail via serialize_chat_for_user
- add user last_seen_at with alembic migration and persist on realtime disconnect
- extend chat serialization with private online/last_seen, group members/online, channel subscribers
- add Redis batch presence lookup helper
- update web chat list/header to display status counters and last-seen labels
- improve delivery receipt handling using last_delivered/last_read boundaries
- include chat info panel and related API/type updates
- add message selection mode from context menu
- support batch delete for me and conditional batch delete for everyone
- add undo snackbar for delete-for-me with delayed backend commit
- add restoreMessages helper in chat store for undo rollback
backend:
- add unread_count to ChatRead serialization
- compute unread_count per chat using message_receipts and hidden messages
web:
- add unread badges in chat list
- track unread boundary per chat in store
- show 'New messages' divider in message list
- update realtime flow to increment/clear unread on incoming events
backend:
- add message_hidden table for per-user message hiding
- support DELETE /messages/{id}?for_all=true|false
- implement delete-for-me vs delete-for-all logic by chat type/permissions
- add POST /chats/{chat_id}/clear and route saved chat deletion to clear
web:
- saved messages action changed from delete to clear
- message context menu now supports delete modal: for me / for everyone
- add local store helpers removeMessage/clearChatMessages
- include realtime stability improvements and app error boundary
- render chat/message context menus via portal to document.body
- clamp menu coordinates to viewport while keeping near-cursor placement
- remove visible chat id fallbacks from chat/discover UI
- hide 'delete for everyone' checkbox for channels; show channel-specific hint
- replace forward-by-chat-id prompt with searchable chat picker modal
backend:
- add required user name and optional bio fields
- extend auth/register and user schemas/services with name/bio
- add alembic migration 0006 with safe backfill name=username
- compute per-user chat display_title for private chats
- keep Saved Messages delete-for-all protections
web:
- registration now includes name
- add profile edit modal (name/username/bio/avatar url)
- show private chat names via display_title
- fix context menus to open near cursor with viewport clamping
- stabilize +/close floating button to remove visual jump
- add Saved Messages system chat with dedicated API
- add public group/channel metadata and discover/join endpoints
- add chat delete flow with for_all option and channel-wide delete
- switch message actions to context menu and improve reply/forward visuals
- improve microphone permission handling for voice recording