Loading articleโฆ
Loading 4weirdโฆ
Loading articleโฆ
DocsNotifications + Chat
Docs ยท remastery wave 1
The Wave 1 realtime layer: a global notification center with categories and unread badges, plus private direct chat with 1-on-1 threads and squad threading โ both powered by Supabase Realtime, both fail-open when the socket drops.
Notifications
A global dropdown subscribed to Realtime changes on notifications. Every notification carries a category (squad, game, chat, compute, system), a title, a message, an optional action URL, and metadata. A completed render, a sprint update, or a raid call plays a chime and increments the unread badge; an in-memory 5-second rate limiter keeps storms from melting the UI.
notification center
3 unreadChat
Direct messaging between squad co-developers and clan members: threads with participants and per-user last-read cursors, messages with attachments, realtime delivery over broadcast channels. Threads can be 1-on-1 or group; every read requires membership, and every insert requires the sender to be a participant.
๐ฌ 1-on-1 threads
Two participants, multisession delivery, read cursors per user so nobody loses their place.
๐ฅ Squad threading
Group threads for sprint war-rooms and raid coordination โ membership-gated, realtime, archived with the squad.
Resilience