AngleSharp / AngleSharp/AngleSharp.Io

Implement Notifications API with Permission Flow

Open
#41 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

Add Notifications support with explicit permission handling and injected delivery backend.

Scope:

  • Expose Notification constructor and static requestPermission.
  • Support permission states default, granted, denied.
  • Add close and basic event wiring.
    Technical Notes:
  • Permission and delivery must be platform-injected.
  • Integrate with Permissions API when available.
    Acceptance Criteria:
  • Notification creation is blocked when permission is denied.
  • requestPermission resolves through injected platform policy.
  • Unit tests cover permission transitions and delivery callback invocation.
    Out of Scope:
  • Native OS notification UI behavior.
  • Browser-specific anti-abuse policies.

Description

Implement Notifications API basics, including Notification construction, requestPermission, and permission-state enforcement through an injected platform permission/delivery backend.

Background

Notification support is frequently needed for app parity and user-flow simulation. A platform-injected model aligns with existing Clipboard/Geolocation patterns and keeps host behavior configurable.

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 examining the existing Clipboard and Geolocation patterns, then trace how Permissions API semantics can be represented through injected platform permission and delivery backends. Map the constructor, requestPermission, permission states, close, events, and delivery callback to the acceptance criteria; done when unit tests cover permission transitions and callback invocation.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
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.