mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-18 16:12:11 +00:00
fix(push): stop handling the clear push in the service worker
The worker answered a `type: "clear"` push by closing the dose reminder for that slot and showing nothing. Browsers do not allow a push without a visible notification on a subscription that promised one: Safari removes the subscription after a few, Chromium shows its own "updated in the background" notice. The server no longer sends it, so the branch and its tests go; a reminder stays until it is tapped or the next reminder with the same tag replaces it.
This commit is contained in:
1 parent
b3b4c9684e
commit
25d087aaa2
3 files changed
+5
-67
No files matched your search
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$comment": "Comment lines that open with a release version, per file under src/. Maintained by src/__tests__/version-stamp-ratchet.test.ts.",
|
||||
"count": 2888,
|
||||
"total": 9204,
|
||||
"count": 2887,
|
||||
"total": 9203,
|
||||
"entries": {
|
||||
"__tests__/account-payload-consumer-guard.test.ts": 2,
|
||||
"__tests__/acting-account-boundary-guard.test.ts": 7,
|
||||
@@ -55,7 +55,6 @@
|
||||
"__tests__/recurrence-course-anchor-guard.test.ts": 1,
|
||||
"__tests__/relation-links-backup-completeness.test.ts": 1,
|
||||
"__tests__/resolved-field-consumer-guard.test.ts": 1,
|
||||
"__tests__/service-worker.test.ts": 1,
|
||||
"__tests__/session-surface-guard.test.ts": 7,
|
||||
"__tests__/settings-legacy-routes.test.ts": 1,
|
||||
"__tests__/shared-record-navigation.test.tsx": 1,
|
||||
|
||||
Reference in new issue
Block a user