dashboard: installable as an app, the page starts without network #2

Merged
mi merged 1 commits from claude-code/pwa-installable into main 2026-10-10 19:04:26 +02:00
Owner

First step of #dash.pwa: the dashboard installs as an app and its page starts without network.

  • manifest.webmanifest with the favicon as SVG, PNG icons 192/512, a maskable icon (the favicon without rounded corners) and an apple-touch-icon.
  • sw.js: keeps page, styles and fonts, network first, so a deploy shows at once. It never touches /api/ — no PR or session data outlives the page.
  • The title bar of the installed app follows the header colour, light or dark, also after the toggle.
  • The server serves .png and .webmanifest; version 0.3.0; README and Werkbaum updated.

Checked: 53 tests green. In headless Chrome the service worker controls the page, caches 10 files and nothing under /api/; offline the page loads with fonts and shows "offline"; Page.getInstallabilityErrors is empty. Not yet checked on a phone — that stays open in the Werkbaum.

🤖 Generated with Claude Code

First step of `#dash.pwa`: the dashboard installs as an app and its page starts without network. - `manifest.webmanifest` with the favicon as SVG, PNG icons 192/512, a maskable icon (the favicon without rounded corners) and an `apple-touch-icon`. - `sw.js`: keeps page, styles and fonts, **network first**, so a deploy shows at once. It never touches `/api/` — no PR or session data outlives the page. - The title bar of the installed app follows the header colour, light or dark, also after the toggle. - The server serves `.png` and `.webmanifest`; version 0.3.0; README and Werkbaum updated. Checked: 53 tests green. In headless Chrome the service worker controls the page, caches 10 files and nothing under `/api/`; offline the page loads with fonts and shows "offline"; `Page.getInstallabilityErrors` is empty. Not yet checked on a phone — that stays open in the Werkbaum. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
mi added 1 commit 2026-10-10 18:46:30 +02:00
A web app manifest with icons, and a service worker that keeps the page,
styles and fonts, network first; it never touches /api/, so no data
outlives the page. The title bar of the installed app follows the header's
light or dark colour. Version 0.3.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mi force-pushed claude-code/pwa-installable from 66066431e2 to b6819818b5 2026-10-10 18:46:30 +02:00 Compare
mi merged commit 15db91ef51 into main 2026-10-10 19:04:26 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mi/werkregie#2