Skip to content

feat(presence): PRES-3 tail — Chat channel presence stack#149

Merged
th3-br41n merged 1 commit into
mainfrom
feat/pres-3-tail
Jul 12, 2026
Merged

feat(presence): PRES-3 tail — Chat channel presence stack#149
th3-br41n merged 1 commit into
mainfrom
feat/pres-3-tail

Conversation

@th3-br41n

Copy link
Copy Markdown
Contributor

<PresenceStack peers={usePresence(activeChannel.id, CHANNEL_TYPE, useSelf())} /> at the leading edge of the Chat header-right — who's LIVE in the open channel (distinct from the channel member roster), cross-device in the shell. Three lines via the shared primitive.

Chat per-app tsc + build + 47 chat tests + lint clean. Behavioural is real-shell.

Note: Database is imperative-DOM (app.ts), so usePresence (a hook) can't drop in cleanly — it needs a React island / imperative adapter, deferred.

`<PresenceStack peers={usePresence(activeChannel.id, CHANNEL_TYPE, useSelf())} />`
at the leading edge of the Chat header-right — who's LIVE in the open channel
(distinct from the channel member roster), cross-device in the shell. Three lines
via the shared primitive.

Chat per-app tsc + build + 47 chat tests + lint clean. Behavioural is real-shell.

Note: Database is imperative-DOM (app.ts), so `usePresence` (a hook) can't drop
in cleanly — it needs a React island / imperative adapter, deferred.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@th3-br41n th3-br41n merged commit 5ea54e6 into main Jul 12, 2026
2 of 3 checks passed
@th3-br41n th3-br41n deleted the feat/pres-3-tail branch July 12, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant