Show the unread Updates count on the installed app icon #1278

Closed
opened 2026-08-22 20:23:37 +00:00 by rockachopa · 0 comments
Member

Product gap

Installed mobile operators can only discover unread Updates after opening Stackchain. The dashboard already receives an authoritative unread total (notificationPagination.total) and renders an in-app queue count, but does not use the PWA Badging API.

Slice

Add an explicit, device-local Device Setup preference for a privacy-safe numeric app-icon badge. Reconcile it only from server-confirmed unread totals, retain the last confirmed value while offline, clear at zero or when disabled, and degrade cleanly where Badging is unsupported.

Acceptance

  • Device Setup offers a touch-safe opt-in only when the Badging API is available.
  • Enabling sets the exact last server-confirmed unread total; duplicate totals do not churn the browser API.
  • Authoritative refreshes reconcile the badge, and zero clears it.
  • Disabling clears the badge and preference.
  • Offline/stale data never invents a newer total.
  • Packaged assets and focused/full tests pass.

Non-duplication evidence

Read-only audit checked all 642 historical issue titles and recent commits at 71631c6. No app-icon Badging implementation exists. Closed #743 concerns only the in-app mobile queue badge, not the operating-system/PWA icon.

## Product gap Installed mobile operators can only discover unread Updates after opening Stackchain. The dashboard already receives an authoritative unread total (`notificationPagination.total`) and renders an in-app queue count, but does not use the PWA Badging API. ## Slice Add an explicit, device-local Device Setup preference for a privacy-safe numeric app-icon badge. Reconcile it only from server-confirmed unread totals, retain the last confirmed value while offline, clear at zero or when disabled, and degrade cleanly where Badging is unsupported. ## Acceptance - Device Setup offers a touch-safe opt-in only when the Badging API is available. - Enabling sets the exact last server-confirmed unread total; duplicate totals do not churn the browser API. - Authoritative refreshes reconcile the badge, and zero clears it. - Disabling clears the badge and preference. - Offline/stale data never invents a newer total. - Packaged assets and focused/full tests pass. ## Non-duplication evidence Read-only audit checked all 642 historical issue titles and recent commits at `71631c6`. No app-icon Badging implementation exists. Closed #743 concerns only the in-app mobile queue badge, not the operating-system/PWA icon.
timmy was assigned by rockachopa 2026-08-22 20:23:37 +00:00
Sign in to join this conversation.
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#1278
No description provided.