Skip to content

PWA + service worker (offline-friendly) #103

Description

@truthixify

Continues work from a Wave 6 issue that was closed at wave wrap-up. Fresh assignments welcome.

Extra labels: feature, perf
Tier: M (2-4 days) | Type: feature

Context. Vite SPA hits the network on every visit. Service worker + manifest lets returning users load instantly + use cached activity offline. Enables install.

Scope.

  • vite-plugin-pwa with NetworkFirst for RPC, CacheFirst for static assets.
  • Manifest with maskable icons (multiple sizes).
  • Integrate with existing stellar-notification-sw.ts (merge or coexist).
  • Offline-state banner.

Acceptance.

  • Lighthouse PWA audit ≥ 90
  • Cold second visit loads without network
  • Notifications sw still fires on incoming events
  • Icons render on iOS, Android, desktop Chrome

Files. vite.config.ts, public/manifest.webmanifest (new), src/sw/stellar-notification-sw.ts.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programdripsFunded via Drips NetworkfeatureNew feature workhelp wantedExtra attention is neededperfPerformance / optimization

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions