Skip to content

feat(ENG-2045): split web UI onto stable port with PWA offline support#381

Merged
wzlng merged 1 commit intoproj/local-web-uifrom
feat/ENG-2045-port
Apr 13, 2026
Merged

feat(ENG-2045): split web UI onto stable port with PWA offline support#381
wzlng merged 1 commit intoproj/local-web-uifrom
feat/ENG-2045-port

Conversation

@wzlng
Copy link
Copy Markdown
Collaborator

@wzlng wzlng commented Apr 13, 2026

Separate the web UI from the daemon's dynamic transport port onto a fixed port (default 7700) so users can bookmark http://localhost:7700. Add PWA with Service Worker so the app loads from cache even when the daemon is down, showing a 'Run
Command "webui" not found

Run "brv --help" to see available commands to start' screen.

  • Add WebUiServer on stable port, keep Socket.IO transport on dynamic port
  • Browser connects Socket.IO cross-origin to daemon via /api/ui/config
  • Add vite-plugin-pwa for offline caching with workbox
  • Add Command "webui" not found

Run "brv --help" to see available commands flag to set and persist preferred port

  • Add webui:getPort / webui:setPort transport endpoints
  • Remove /ui base path (served at root since dedicated port)
  • Review URLs use webui port instead of transport port
  • Graceful fallback when webui port is occupied (daemon still runs)

Separate the web UI from the daemon's dynamic transport port onto a
fixed port (default 7700) so users can bookmark http://localhost:7700.
Add PWA with Service Worker so the app loads from cache even when the
daemon is down, showing a 'Run
Command "webui" not found

Run "brv --help" to see available commands to start' screen.

- Add WebUiServer on stable port, keep Socket.IO transport on dynamic port
- Browser connects Socket.IO cross-origin to daemon via /api/ui/config
- Add vite-plugin-pwa for offline caching with workbox
- Add
Command "webui" not found

Run "brv --help" to see available commands flag to set and persist preferred port
- Add webui:getPort / webui:setPort transport endpoints
- Remove /ui base path (served at root since dedicated port)
- Review URLs use webui port instead of transport port
- Graceful fallback when webui port is occupied (daemon still runs)
@wzlng wzlng merged commit 4cebd53 into proj/local-web-ui Apr 13, 2026
5 of 6 checks passed
@wzlng wzlng deleted the feat/ENG-2045-port branch April 20, 2026 08:05
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