No way to retreive DWP notification without registering a service worker

Aperta
#422 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
12/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
api

Direzione di ricerca

This is a spec-design question, not a code change, and the payload names no file or test. Start by reading the linked ServiceWorkerRegistration.getNotifications definition in the Notifications spec and the push-api spec's Declarative Web Push text. Done means a proposal for a service-worker-free way to list notifications, agreed in the thread. Expect to discuss it with maintainers first.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

A page may want to close outdated push notifications on load. This is currently doable by calling ServiceWorkerRegistration.getNotifications and then calling close() on each resulting notification object, but this is weird because DWP doesn't need a service worker.

There should be a way to access them without having to register a service worker.

Lingua principale
HTML
Stelle
158
Fork
43
Merge medio
2g 6h
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di w3c/push-api

Tutte le issue di w3c/push-api

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.