Replace Web Push and its service worker with page notifications over SSE
This commit is contained in:
@@ -47,3 +47,4 @@ When the owner tells the lead "deploy byre", or anything that means the same, th
|
||||
- API types come from `api/openapi.yaml` via `openapi-typescript` (`web/src/api.gen.ts`); call the API through the typed client in `web/src/api.ts`, never raw `fetch`.
|
||||
- `web/dist/` is committed so `go install` needs no Node. Regenerate it with `go generate ./web` whenever `web/src/` or the spec changes.
|
||||
- Every view mounted into a pane returns a dispose function that removes its state subscriptions.
|
||||
- Never use a service worker, for anything, including Web Push. Anything a page needs from the server comes over its SSE stream or the API.
|
||||
|
||||
Reference in New Issue
Block a user