No way to retreive DWP notification without registering a service worker

Abierto
#422 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
12/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
javascript
Área
api

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
HTML
Estrellas
158
Forks
43
Merge medio
2 d 6 h
PR fusionados (30 d)
2

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de w3c/push-api

Todos los issues de w3c/push-api

Issues similares

Más issues de Backend & API Design

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.