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, Feb 21, 1:54 PM
Unknown Object (File)
Wed, Feb 21, 1:53 PM
Unknown Object (File)
Wed, Feb 21, 1:53 PM
Unknown Object (File)
Wed, Feb 21, 12:57 PM
Unknown Object (File)
Wed, Feb 21, 12:57 PM
Unknown Object (File)
Wed, Feb 21, 2:21 AM
Unknown Object (File)
Sun, Feb 18, 1:38 AM
Unknown Object (File)
Sat, Feb 17, 11:45 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