Files
openclaw/ui
Eduardo Cruz 34c8bfb87e fix: address all review feedback for PWA/Web Push PR
- sw.js: guard cache.put with response.ok to prevent caching error responses
- sw.js: skip /api/ and /rpc routes from service worker fetch handler
- main.ts: only register service worker in production, unregister in dev
- push-web.ts: move setVapidDetails to broadcastWebPush (set once, not per-send)
- push-web.ts: auto-remove expired 410 Gone subscriptions per Web Push spec
- push-subscription.ts: remove unused detectWebPushState/DEFAULT_STATE
- push-subscription.ts: roll back local PushManager on gateway registration failure
- push-subscription.ts: always unsubscribe locally even if gateway request fails
- app.ts: split initWebPushState and reconcileWebPushState for proper timing
- app-gateway.ts: trigger push reconciliation on gateway connect (onHello)
- config.ts: fix misleading notification copy (auto-broadcast is not yet implemented)
- schema/push.ts: add HTTPS pattern and maxLength to endpoint/key schemas
2026-04-25 04:40:01 -05:00
..