Skip to content

Conversation

wbamberg
Copy link
Contributor

@wbamberg wbamberg commented Sep 23, 2025

This adds a couple of demos of the Notifications API, one showing persistent notifications, and one showing non-persistent notifications.

I wonder if it might be better to have the persistent one creating the notification in the SW, as well as managing it. That might be a more common use case, but it makes things a little more complicated...

Part of the fix for mdn/content#30931.

@wbamberg wbamberg requested a review from a team as a code owner September 23, 2025 04:18
@wbamberg wbamberg requested review from pepelsbey and chrisdavidmills and removed request for a team and pepelsbey September 23, 2025 04:18
Copy link
Contributor

@chrisdavidmills chrisdavidmills left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wbamberg I think this is a really nice set of demos, which shows off the persistent/non-persistent concepts well. I don't have much here except for a few language suggestions, so I'm going to approve it.

@chrisdavidmills
Copy link
Contributor

@wbamberg another note — I pulled the PR down locally to test the demos, and they seem to work fine in Firefox and Chrome.

@wbamberg wbamberg merged commit c3ca45a into mdn:main Sep 23, 2025
1 check passed
@wbamberg
Copy link
Contributor Author

Thank you Chris!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants