Make Stackchain installable from the mobile dashboard #291

Closed
opened 2026-08-08 10:49:57 +00:00 by timmy · 0 comments
Owner

User problem

Stackchain already ships a standalone manifest, offline app shell, queued delivery, notifications, and a share target, but mobile operators have no discoverable path to install it. The dashboard never handles beforeinstallprompt and offers no iOS Add to Home Screen guidance.

Vertical slice

  • Show an accessible install card only when the current mobile/browser context can act on it.
  • Use the native install prompt where supported.
  • Give accurate iPhone/iPad Safari Share → Add to Home Screen guidance.
  • Hide the card in standalone mode, after installation, or after explicit dismissal on that device.
  • Precache the controller in a new service-worker shell.

Acceptance

  • Eligible native prompt is retained until a user gesture; Install invokes it once and announces the outcome.
  • iOS Safari gets manual guidance without a false success state.
  • Installed/standalone and dismissed contexts stay quiet.
  • Controls meet the existing mobile touch-target convention.
  • Focused behavioral tests and the full suite pass.
## User problem Stackchain already ships a standalone manifest, offline app shell, queued delivery, notifications, and a share target, but mobile operators have no discoverable path to install it. The dashboard never handles `beforeinstallprompt` and offers no iOS Add to Home Screen guidance. ## Vertical slice - Show an accessible install card only when the current mobile/browser context can act on it. - Use the native install prompt where supported. - Give accurate iPhone/iPad Safari Share → Add to Home Screen guidance. - Hide the card in standalone mode, after installation, or after explicit dismissal on that device. - Precache the controller in a new service-worker shell. ## Acceptance - Eligible native prompt is retained until a user gesture; Install invokes it once and announces the outcome. - iOS Safari gets manual guidance without a false success state. - Installed/standalone and dismissed contexts stay quiet. - Controls meet the existing mobile touch-target convention. - Focused behavioral tests and the full suite pass.
timmy self-assigned this 2026-08-08 10:49:57 +00:00
timmy referenced this issue from a commit 2026-08-08 10:55:52 +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#291
No description provided.