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)
Wed, Jul 10, 9:51 PM
Unknown Object (File)
Mon, Jul 8, 8:26 AM
Unknown Object (File)
Mon, Jul 8, 6:32 AM
Unknown Object (File)
Sun, Jul 7, 11:47 PM
Unknown Object (File)
Sun, Jul 7, 3:50 PM
Unknown Object (File)
Sun, Jul 7, 2:24 PM
Unknown Object (File)
Sat, Jul 6, 11:21 PM
Unknown Object (File)
Thu, Jul 4, 10:12 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
Lint Not Applicable
Unit
Tests Not Applicable