Repository navigation
Keel realtime: live notifications, reminders, calendar - #85
Merged
Merged
Conversation
Bump keel to 0.2.0 and enable its realtime feature on the server:
- Install WebSockets + SSE and add a `realtime { }` block registering
three OUT events (notification, eventChanged, remindersChanged) with
per-user / page / calendar channel authorization.
- Publish eventChanged on create/update/move/delete, notification count
on notification read/create, and remindersChanged on reminder changes.
- Regen page-types to expose the `events` contract.
Safe best-effort publishing via a process-wide RealtimeBus handle so a
missing/not-configured realtime never breaks a request.
- bump @kolektiv/keel, keel-svelte, keel-pack to 0.2.0 - live unread notification badge via kalendee.notification on user:<id> - prompt reminder poll on kalendee.remindersChanged - refresh home window on kalendee.eventChanged (in-place reload)
Deploying kalendee-docs with
|
| Latest commit: |
ccb8540
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://47502bdb.kalendee-docs.pages.dev |
| Branch Preview URL: | https://chore-keel-websocket-impl.kalendee-docs.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Wires keel realtime (WebSocket + SSE) into kalendee.
user:,page:kalendee.homeandcalendar:channels with authorize, publishing from notifications, event changes and remindersDepends on keel 0.2.1 (KolektivComputer/keel#85) being published, so CI may fail until then.
server/pack/pnpm-lock.yamlstill pins 0.2.0 and needs apnpm installonce 0.2.1 is out.