Skip to content

Clarify presence and element awareness docs#247

Merged
spencerc99 merged 2 commits into
mainfrom
cx/docs-presence-awareness
Jun 30, 2026
Merged

Clarify presence and element awareness docs#247
spencerc99 merged 2 commits into
mainfrom
cx/docs-presence-awareness

Conversation

@spencerc99

Copy link
Copy Markdown
Owner

Summary

  • Explain that awareness is element-scoped presence, not a separate shared-state primitive.
  • Update the concepts, data essentials, presence, cursor, capabilities, React, and AI-guide docs to use consistent terminology.
  • Add vanilla and React examples for element awareness on the presence page.

Validation

  • bun run build in apps/docs

Note: before running the docs build in this fresh worktree, I built packages/common and packages/playhtml so the docs playground could import packages/playhtml/dist/playhtml.es.js. The docs build still emits existing warnings for fire-hydrant.png, React re-export chunking, chunk size, and missing sitemap site.

@pkg-pr-new

pkg-pr-new Bot commented Jun 30, 2026

Copy link
Copy Markdown

Open in StackBlitz

bun add https://pkg.pr.new/@playhtml/common@247
bun add https://pkg.pr.new/playhtml@247
bun add https://pkg.pr.new/@playhtml/react@247

commit: 0892db0

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying playhtml with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0892db0
Status: ✅  Deploy successful!
Preview URL: https://cafdb6f7.playhtml.pages.dev
Branch Preview URL: https://cx-docs-presence-awareness.playhtml.pages.dev

View logs

Clarify the explanation of presence and its usage in real-time scenarios. Update examples and descriptions for better understanding.
@spencerc99 spencerc99 marked this pull request as ready for review June 30, 2026 02:18
@spencerc99 spencerc99 merged commit a838926 into main Jun 30, 2026
1 check passed
@spencerc99 spencerc99 deleted the cx/docs-presence-awareness branch June 30, 2026 02:19
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