Add PWA support for installable desktop experience#49
Open
richardpringle wants to merge 1 commit into
Open
Conversation
Add minimal Progressive Web App support so the Valet dashboard can be installed as a desktop app from Chrome (and other browsers that support PWA). This eliminates the need to hunt through browser tabs to find it. Changes: - Add web app manifest (manifest.json) with app name, icons, and standalone display mode - Add app icons (192x192, 512x512, 512x512 maskable, apple-touch-icon) matching the existing dark theme with cyan 'V' branding - Add minimal service worker (sw.js) with fetch handler to satisfy Chrome's PWA installability criteria — no offline caching - Register service worker from main.tsx on page load - Add manifest link, apple-touch-icon, and apple-mobile-web-app meta tags to index.html This is intentionally minimal — no offline support, no push notifications, no caching strategy. Just enough for the install prompt. Includes a TODO for future ACP (Agent Client Protocol) integration to bridge cloud-hosted agent sessions with local dev tools.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add minimal Progressive Web App (PWA) support so the Valet dashboard can be installed as a desktop app from Chrome — no more hunting through browser tabs to find it.
What's included
manifest.json) — name, icons, standalone display mode, theme colors matching the existing dark UIsw.js) — satisfies Chrome's PWA installability criteria with a basic fetch handler. No offline caching or advanced features.main.tsxon page loadindex.htmlWhat's NOT included (intentionally)
This is the minimum viable PWA — just enough for the browser install prompt.
Future: ACP Integration
A TODO is included in the service worker for future Agent Client Protocol (ACP) integration. The PWA is the foundation for a native-feeling desktop experience that can bridge cloud-hosted agent sessions with local dev tools.
Files changed
packages/client/index.htmlpackages/client/src/main.tsxpackages/client/public/manifest.jsonpackages/client/public/sw.jspackages/client/public/icons/icon-192.pngpackages/client/public/icons/icon-512.pngpackages/client/public/icons/icon-512-maskable.pngpackages/client/public/icons/apple-touch-icon.png