-
Notifications
You must be signed in to change notification settings - Fork 457
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add push notifications (#2369)
* feat: implement Firebase Cloud Messaging * fix: move to custom `next-pwa` worker * Revert "fix: move to custom `next-pwa` worker" This reverts commit 2654d76. * fix: remove `next-pwa` * fix: convert SW to TS + add notification text * fix: improve notifications * refactor: separate types + add test * fix: improve UI + add partial tests * fix: add more test coverage * fix: list Safes * fix: migrate to SDK * feat: basic notification preferences * fix: tests * fix: implement designs * feat: per-Safe preferences * refactor: move registrations to IndexedDB * fix: adjust style, add banner + registration list * fix: split databases + finish design * fix: database reactivity with `ExternalStore` * fix: update tests * fix: preferences, env vars, not in UI + tweaks * feat: add deep link to notification * fix: add tracking + rename to push notifications * fix: test * fix: condense preferences * fix: address review comments + adjust design * fix: test * refactor: clean up code * refactor: make `_parseWebhookNotification` a map * fix: register for confirmation requests by default * fix: adjust text + fix tests * fix: reduce service worker bundle size * fix: don't re-export * wip: reimplement next-pwa * fix: `next-pwa` with custom worker * chore: convert env var to JSON * refactor: abstract code from component + fix test * fix: env issue * refactor: leverage SDK * feat: add cached tracking * fix: test * fix: mock response on Safe Apps share page * revert: cached tracking * refactor: restructure/rename + add error codes * fix: address review comments * fix: address comments * fix: regenerate lockfile * fix: address comments * feat: add push notification tracking (#2500) * feat: add push notification tracking * fix: address review comments * fix: error message * feat: add close button to banner * fix: remove unnecessary types + qa findings * fix: texts, confirmation registration + enable all * fix: mock * fix: spacing * fix: spacing * fix: use EIP-191 * fix: test * feat: add feature flag * fix: test * fix: add space + only show banner on added Safes * fix: remove space * fix: e2e
- Loading branch information
Showing
48 changed files
with
8,080 additions
and
2,239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.