No way to retreive DWP notification without registering a service worker

Đang mở
#422 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
12/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
api

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
HTML
Star
158
Fork
43
Merge trung bình
2 ngày 6 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của w3c/push-api

Tất cả issue của w3c/push-api

Issue tương tự

Thêm issue về Backend & API Design

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.