Page MenuHomePhabricator

[web] Allow users to enable push notifs
ClosedPublic

Authored by michal on Feb 22 2023, 2:52 AM.
Tags
None
Referenced Files
F1695288: D6833.id.diff
Fri, May 3, 3:57 AM
F1694596: D6833.id23294.diff
Thu, May 2, 11:05 PM
F1694590: D6833.id22924.diff
Thu, May 2, 11:04 PM
F1694587: D6833.id23242.diff
Thu, May 2, 11:04 PM
F1694396: D6833.id.diff
Thu, May 2, 10:12 PM
F1694052: D6833.diff
Thu, May 2, 8:55 PM
Unknown Object (File)
Thu, May 2, 1:22 AM
Unknown Object (File)
Thu, May 2, 1:15 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