refactor client to use native Notifications API (v2) #234

Manually merged
norm merged 5 commits from native-notifications into main 2022-11-29 17:38:46 +00:00
Owner

This refactors the client to always use the native notification API even if push notifications are not enabled and/or you currently have Foundkey open.

Follow up from #219.

This refactors the client to always use the native notification API even if push notifications are not enabled and/or you currently have Foundkey open. Follow up from #219.
Johann150 added 5 commits 2022-11-12 20:25:37 +00:00
It is now possible for the client to trigger notifications "manually"
if push notifications are not configured on the server.
client: pass along notifications if push notifs disabled
All checks were successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
cd87e262fe
client: remove unused notification-toast component
Some checks failed
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/lint-foundkey-js Pipeline was successful
ci/woodpecker/pr/lint-backend Pipeline failed
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
45ee9951dc
Johann150 added this to the (deleted) project 2022-11-12 20:25:48 +00:00
Johann150 force-pushed native-notifications from 45ee9951dc to 24506ba557 2022-11-26 15:41:14 +00:00 Compare
norm approved these changes 2022-11-29 17:28:38 +00:00
norm left a comment
Owner

Works for me.

Works for me.
norm manually merged commit 5b574d40f9 into main 2022-11-29 17:38:46 +00:00
norm deleted branch native-notifications 2022-11-29 17:39:34 +00:00
Author
Owner

Would probably be a good idea to also merge #235, otherwise instances where the admin hasn't set up the service worker won't get the notification toast any more but also not get native notifications.

Would probably be a good idea to also merge #235, otherwise instances where the admin hasn't set up the service worker won't get the notification toast any more but also not get native notifications.
Johann150 added the
fix
label 2022-12-23 10:18:53 +00:00
Johann150 removed this from the (deleted) project 2022-12-23 10:18:55 +00:00
Sign in to join this conversation.
No reviewers
No labels
feature
fix
upkeep
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: FoundKeyGang/FoundKey#234
No description provided.