Page MenuHomePhabricator

[web] Allow users to enable push notifs
ClosedPublic

Authored by michal on Feb 22 2023, 2:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 18 2024, 6:41 AM
Unknown Object (File)
Nov 18 2024, 2:12 AM
Unknown Object (File)
Nov 17 2024, 10:10 PM
Unknown Object (File)
Nov 6 2024, 2:36 AM
Unknown Object (File)
Nov 6 2024, 2:36 AM
Unknown Object (File)
Nov 6 2024, 2:36 AM
Unknown Object (File)
Nov 6 2024, 2:35 AM
Unknown Object (File)
Nov 6 2024, 2:30 AM
Subscribers

Details

Summary

Depending on notification permission we either want to show a modal that asks for permission or (if we already have the permission) create a notification subscription immediately. We want to do this both for existing users and when someone new logs in.

Test Plan

Test if subscription is created/ the modal shows up when someone logs in or open the page when logged in

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage