Keep the installed app badge current from background Updates #1283

Merged
timmy merged 1 commits from timmy/1281-background-updates-app-badge into main 2026-08-22 22:36:25 +00:00
Owner

Closes #1281

What changed

  • attach the bounded authoritative unread total to individual and digest Web Push payloads
  • persist the device-local badge opt-in in service-worker-readable storage and purge it with private device state
  • reconcile supported installed-app badges from valid background Update pushes without duplicate churn
  • preserve existing private notification copy, actions, and routes

Verification

  • RED: 5 focused behavioral tests failed before implementation
  • focused: 203 passed
  • full unit/integration suite: 2406 passed
  • packaged mobile Home + sign-out journeys: 8 passed
  • pip-audit: no known vulnerabilities
Closes #1281 ## What changed - attach the bounded authoritative unread total to individual and digest Web Push payloads - persist the device-local badge opt-in in service-worker-readable storage and purge it with private device state - reconcile supported installed-app badges from valid background Update pushes without duplicate churn - preserve existing private notification copy, actions, and routes ## Verification - RED: 5 focused behavioral tests failed before implementation - focused: 203 passed - full unit/integration suite: 2406 passed - packaged mobile Home + sign-out journeys: 8 passed - pip-audit: no known vulnerabilities
timmy added 1 commit 2026-08-22 22:12:15 +00:00
feat: keep background Updates badge current (Closes #1281)
All checks were successful
CI / lint (pull_request) Successful in 4m52s
CI / build-release (pull_request) Successful in 15s
CI / browser-journey (pull_request) Successful in 7m5s
CI / release-candidate (pull_request) Has been skipped
05405bf2e8
timmy merged commit 6eb2709477 into main 2026-08-22 22:36:25 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#1283
No description provided.