Adds a simple modal that asks for permission to display notifications. If user hasn't blocked the notifs yet we will request permission from the browser. If we get it we will then create a new subscription. The modal will be used in the laters diffs.
Details
Details
- Reviewers
ashoat tomek - Commits
- rCOMM18ba2d595d52: [web] Add notification permission modal
Check that the user is correctly asked for a permission and the subscription is correctly created.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
web/modals/push-notif-modal.react.js | ||
---|---|---|
57 ↗ | (On Diff #23061) | Usually we export default we are not planning to export something else from the file. We can always update it later |