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)
Tue, Mar 21, 10:46 AM
Unknown Object (File)
Sun, Mar 12, 5:18 AM
Unknown Object (File)
Thu, Mar 9, 9:34 AM
Unknown Object (File)
Thu, Mar 9, 7:04 AM
Unknown Object (File)
Sun, Mar 5, 2:58 AM
Unknown Object (File)
Feb 23 2023, 3:26 AM
Unknown Object (File)
Feb 23 2023, 3:26 AM
Unknown Object (File)
Feb 22 2023, 3:14 PM
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
Lint Not Applicable
Unit
Tests Not Applicable