Skip to content

feat(pwa): enable installable mobile shell#1291

Merged
entrius merged 1 commit into
testfrom
pwa-mobile-shell
May 28, 2026
Merged

feat(pwa): enable installable mobile shell#1291
entrius merged 1 commit into
testfrom
pwa-mobile-shell

Conversation

@anderdc
Copy link
Copy Markdown
Collaborator

@anderdc anderdc commented May 28, 2026

Summary

  • Adds a web app manifest, launcher icons, and PWA meta tags so "Add to Home Screen" pins Gittensor in standalone mode on iOS/Android (no URL bar, no scroll-up search popup).
  • Manifest-only setup — no service worker — so there's nothing to invalidate when we ship UI changes.
  • Icons are generated from public/gt-logo-white.png via scripts/gen-icons.py (Pillow). Maskable variants use a black safe-zone canvas so circular Android masks don't clip the glyph.

Test plan

  • npm run build succeeds; dist/ contains manifest.webmanifest and icons/.
  • On iOS Safari: open the site → Share → Add to Home Screen → icon shows the Gittensor glyph; launching opens standalone (no URL bar).
  • On Android Chrome: open the site → menu → Install app / Add to Home Screen → launcher icon respects the maskable safe zone (no glyph clipping under circular masks).
  • Address-bar theme color is #000000 on first paint (matches the site body bg).

Add a web app manifest, launcher icons, and the meta tags needed for
"Add to Home Screen" to pin Gittensor in standalone mode (no URL bar,
no scroll-up search popup) on iOS and Android. Manifest-only — no
service worker — so there's no offline cache to invalidate.

Icons are generated from public/gt-logo-white.png via
scripts/gen-icons.py (Pillow). Maskable variants use a black safe-zone
so circular Android masks don't clip the glyph.
@entrius entrius merged commit 870c53e into test May 28, 2026
2 checks passed
@entrius entrius deleted the pwa-mobile-shell branch May 28, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants