feat(web): add network-only PWA installability - #6190
Open
korsun009 wants to merge 2 commits into
Open
Conversation
Serve the manifest, registration script, network-only service worker, and icons under the runtime web base path so panels remain installable at arbitrary configured URLs. This does not add offline caching or change panel, API, database, or Xray behavior.
Keep the pull request focused on the PWA implementation, tests, and user-facing verification documentation.
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
Adds network-only PWA installability to the panel without introducing offline caching.
webBasePathWhy
Android browsers currently treat the panel as a regular website and may only offer a shortcut. Providing the minimal PWA surface allows installation as a standalone app while preserving the panel's existing network-only behavior and arbitrary secret base paths.
Type of change
Areas affected
How was this tested?
go test -count=1 ./...go vet ./...go build ./...npm run typechecknpm run lintnpm run teston Linux with Node 24 and headless Chromiumnpm run buildnpm run build-storybookScreenshots / recordings
N/A. This change adds browser installability metadata and does not alter the visible panel UI.
Breaking changes
None. Existing authentication, APIs, database state, Xray configuration, and network behavior are unchanged.
Checklist
go build ./...and the test suite pass locally.npm run lint,npm run typecheck, andnpm run buildpass.