You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Part of #663 (slice 5). Needs slice 4 for the heading label.
Goal
The Chat card and the Message card on the fixed conversation panel (R14, R-G, R-H, R-J). Both kinds stay off.
Scope
One anon PostgREST read in parallel with the owner read. RLS decides what the anon role can see, so a private channel gives no card. Never the service role.
Selected columns only. Chat: the channel and up to 10 live message ids, for the bucketed count. Message: created_at, type, reactions, the reply count and the channel. Never the message text or the author.
Guards. An id shape pre-filter, a 60 s memo of definite answers, a cap of 4 reads per replica, and a 300 ms abort. A timeout, an error or a full cap gives the Document card and is never memoized.
Chat card. Pad name, the room name as the title, and the base-200 panel with "N messages" (1 to 9, then 10+) and 4 fixed bubbles. No bubble follows data.
Message card. The same panel. The date sits in the header. The linked message is lit with the deep-link wash, with its top reaction (no person emoji, R-H) and its reply count, both bucketed.
Page head.og:title "Chat: {room} — {pad}". Legacy chat links (act=ch) give the same cardVersion.
Not in this slice
An attachment pill (no noun is ruled). Outline row pills (R-B).
Owed by the maintainer
Production REST to Supabase round trip, p95 well under 300 ms for a week before Message turns on.
Acceptance checks
A random c makes no read. 10 slow reads give fallback cards within 300 ms.
Status, 2026-11-03. The Chat and Message cards and the anon chat read are pushed and deployed on 2026-11-03, in 34116d296. Both kinds are off. Left:
maintainer: one week of production REST to Supabase p95, well under 300 ms, before Message turns on. The "Social preview card" dashboard row shows social_card_chat_read_seconds.
Activity
HMarzban commentedon Nov 1, 2026
Built on
mainand checked locally, not committed yet. Status and the checks owed before switch-on are in #663 (comment of 2026-11-01).feat(hocuspocus): draw a social preview card for pad links
HMarzban commentedon Nov 3, 2026
Status, 2026-11-03. The Chat and Message cards and the anon chat read are pushed and deployed on 2026-11-03, in
34116d296. Both kinds are off. Left:social_card_chat_read_seconds.