AngleSharp / AngleSharp/AngleSharp.Io

Add Push API Core (PushManager and Subscriptions)

Open
#45 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

api enhancement up-for-grabs
Dominant language
C#
Stars
37
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Proposal

Provide Push API primitives for subscription lifecycle and payload delivery wiring.

Scope:

  • Expose PushManager on service worker registration.
  • Implement subscribe, getSubscription, and unsubscribe.
  • Model PushSubscription shape and endpoint/keys data.
    Technical Notes:
  • Use injected push transport backend.
  • Integrate with Notifications and Permissions constraints.
    Acceptance Criteria:
  • Subscriptions are origin-scoped and retrievable.
  • Unsubscribe removes active subscription state.
  • Tests cover permission-denied and backend failure paths.
    Out of Scope:
  • Real vendor push service integration by default.
  • Full encrypted payload stack in first pass.

Description

Add Push API core primitives: PushManager access on service worker registration, subscribe/getSubscription/unsubscribe, and subscription object modeling.

Background

Push is central to modern engagement workflows and service-worker-driven messaging. A minimal subscription lifecycle is sufficient for many test and integration scenarios.

Specification

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the service worker registration, Notifications, and Permissions integration points, then review the linked Push API specification. Define how the injected push transport supports subscribe, getSubscription, and unsubscribe, including origin scoping and subscription endpoint/keys data. Done means the acceptance criteria and permission-denied and backend-failure tests are covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.