Installable as an app #72

Merged
jcoffey-dev merged 1 commits from feature/pwa into main 2026-09-30 17:23:07 +00:00
Owner

Browsers now offer to install the console, and it opens in its own window with the inbuxa icon.

  • public/manifest.json: every URL is relative to <base>, which the server rewrites per mount, so /admin and /account each install as their own app. It's .json because the server's bundle loader types files by extension and doesn't know .webmanifest. There's no id on purpose.
  • public/img/: the 192, 512, maskable and apple-touch icons, the same 2026-09-27a cut the webmail ships.
  • index.html: the manifest link, the theme color (--primary), and the apple-touch icon and title.

No service worker: installing doesn't need one any more, and a cached shell would only pin a stale build.

Verified: I served the build under /admin/ with the base rewritten the way the server does it. The manifest, start URL, scope and all four icons resolved under /admin/, and Chrome fired beforeinstallprompt (platforms ["web"]).

No new strings.

Browsers now offer to install the console, and it opens in its own window with the inbuxa icon. - `public/manifest.json`: every URL is relative to `<base>`, which the server rewrites per mount, so `/admin` and `/account` each install as their own app. It's `.json` because the server's bundle loader types files by extension and doesn't know `.webmanifest`. There's no `id` on purpose. - `public/img/`: the 192, 512, maskable and apple-touch icons, the same 2026-09-27a cut the webmail ships. - `index.html`: the manifest link, the theme color (`--primary`), and the apple-touch icon and title. No service worker: installing doesn't need one any more, and a cached shell would only pin a stale build. Verified: I served the build under `/admin/` with the base rewritten the way the server does it. The manifest, start URL, scope and all four icons resolved under `/admin/`, and Chrome fired `beforeinstallprompt` (platforms `["web"]`). No new strings.
jcoffey-dev added 1 commit 2026-09-30 17:15:39 +00:00
Installable as an app
ci / build (pull_request) Successful in 1m42s
ci / publish (pull_request) Skipped
86f1420bc1
A web app manifest, the brand icons and the theme color, so browsers offer
to install the console and it opens in its own window. Every URL is relative
to <base>, which the server rewrites per mount, so /admin and /account each
install as their own app. No service worker: installing no longer needs one,
and the console has nothing to do offline.
jcoffey-dev merged commit 258c0c3470 into main 2026-09-30 17:23:07 +00:00
jcoffey-dev deleted branch feature/pwa 2026-09-30 17:23:07 +00:00
Sign in to join this conversation.