Repository navigation
feat(push): choose which notifications each device gets - #598
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 53 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
# Conflicts: # docs/ci.md # scripts/ci/budgets.json
# Conflicts: # docs/ci.md # scripts/ci/budgets.json
# Conflicts: # docs/ci.md # scripts/ci/budgets.json
# Conflicts: # docs/ci.md # scripts/ci/budgets.json
|
Note Clanker Claude Opus 5.5 is responding on behalf of meetsu #614 split |
# Conflicts: # packages/ui/src/lib/strings.en.ts # packages/ui/src/lib/strings.fr.ts # scripts/ci/budgets.json
# Conflicts: # docs/ci.md # scripts/ci/budgets.json
|
Note Clanker Claude Opus 5.5 is responding on behalf of meetsu #621 split |
# Conflicts: # packages/contracts/src/index.ts
Note
Clanker Claude Opus 5.5 is responding on behalf of meetsu
Each device chooses which notifications it gets (approvals, questions, finished turns, errors), and the Android app now shows a question or an approval request even while it is open.
what changed
NotificationKinds.svelte).push.ts).push.kindschanges a device's kinds without resubscribing; paired devices may call it for their own subscription (access.ts).requestKind).new Notification(), so the app on its own origin showed none.to question
pushCoverskeeps the page quiet when push is on and the notice comes from a group member, assuming every member forwards to the device's push home. A member too old to forward would go silent while push is on.verified
bun run check: 0 errors, architecture check included.push.ts.7593ddca, both built here (bun scripts/ci/budgets.ts measure): see Bundle size.Bundle size
uiDist+6,848 bytes (0.14 %): the four kind switches (NotificationKinds.svelte) with their strings in both catalogues, and the page notices sent through the service worker (notify.ts,sw.js).uiEntryChunk+166 bytes (0.03 %);coreJavaScript+1,915 bytes (0.04 %) for the per-subscription kinds inpush.ts.captures
Desktop, General: