Add Presence API announcement, docs, and changelog#3010
Conversation
Appwrite WebsiteProject ID: Website (appwrite/website)Project ID: Tip Git integration provides automatic deployments with optional PR comments |
Greptile SummaryThis PR adds a full announcement, documentation, and changelog entry for the new Appwrite Presence API — a first-class resource for tracking short-lived user statuses with built-in Realtime broadcast, automatic expiry, and permission-aware subscriptions.
Confidence Score: 4/5Safe to merge; the documentation is comprehensive and the issues raised in previous review rounds appear to be addressed in the current iteration. The subscribe examples now use the correct wildcard event format throughout, the heartbeat helper calls upsert() instead of update() so expiresAt slides forward as documented, and the channel tables consistently list upsert/update/delete with no stale create references. The remaining open questions from prior threads (ID.unique() reuse pattern, update()-event semantics) are still present in the content but were pre-existing discussion points — they do not introduce new wrong behavior in the current diff. No new functional defects were identified. src/routes/docs/apis/realtime/presence/+page.markdoc is the largest new file and deserves a final human read-through; the other files are straightforward additions. Important Files Changed
Reviews (18): Last reviewed commit: "update code examples to include permissi..." | Re-trigger Greptile |
|
@ArnabChatterjee20k I'm still working on some more updates, will ping on Discord once ready |
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
…ns and method usage
- Rust `list` code block did not compile: `Query::equal` returns a
`Query` but `list` expects `Vec<String>`, and `vec!["online".into()]`
was type-ambiguous. Use
`Query::equal("status", vec!["online".to_string()]).to_string()`.
- Add the Presence API announcement cover image, optimized to avif.
bd1f1a9 to
2060e68
Compare


What does this PR do?
(Provide a description of what this PR does.)
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)
Related PRs and Issues
(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)
Have you read the Contributing Guidelines on issues?
(Write your answer here.)