Commit Graph

17 Commits

Author SHA1 Message Date
saml33 2f91dc3705 fix remove from favorites 2022-04-27 21:15:04 +10:00
joshgolden-dev 2f189fb3e3
Mango <> Notifi integration (#192)
* Use notifi SDK and make UI edits for notifi flow

* Upgrade Notifi SDK

The new SDK includes a different usage pattern for Alerts.

Handle wallet signature rejection case

Refactor sollet adapter to use @solana/wallet-adapter-wallets

Fixed undefined signature

Use groupName to separate account notifications

Mango allows a single user to have multiple accounts, which all manage alerts separately.

We'll log in to Notifi with the program ID and the wallet ID, and then filter
alerts on the client-side with groupName on the alert

Bump to SDK 0.6.1

Save notifi alert id to mango db

require login before deleting alert

Update SDK

The SDK exposes a new option for filterFrequency.

One shot alerts will be marked inside FilterOptions with a
`delayProcessingUntil` field. When the client recognizes these, it
should feel comfortable deleting them, since they should have triggered
already.

Clients can use the `isAlertObsolete` utility function to identify
these.

Clean up notifi alerts when out of sync

Add phone number note

* Ignore signMessage type warning

* Use useWallet hook

* Clean up

* Add telegram support

* Support international phone number

Co-authored-by: juni-notifi <hyungjoon.kim@notifi.network>
2022-04-25 12:16:42 -04:00
tjs b79f156ece pass in wallet to store actions when needed 2022-04-04 16:28:32 -04:00
Kieran Gillen 60cb08a5a5 Adds more null checks 2022-03-29 15:02:29 +02:00
tjs db8a0324aa add tailwind prettier plugin; run yarn format 2022-03-09 15:53:11 -05:00
rjpeterson 221feede2c fix localization errors around the word "new" 2022-02-26 11:38:31 -06:00
tjshipe 9717cff30c
Merge branch 'main' into missing-translations 2022-02-22 19:51:35 -05:00
saml33 b5efc88d30 use label component on form elements 2022-02-23 10:30:54 +11:00
rjpeterson deb577e818 let new alerts button width expand, delete duplicate locale keys, move spanish into alerts.json 2022-02-22 17:03:27 -06:00
tjshipe 8f0fdd2bc1
Merge branch 'main' into missing-translations 2022-02-22 13:54:44 -05:00
saml33 2ae323ee1c semantic headings and styles 2022-02-21 14:55:13 +11:00
saml33 b65b6cf4ba fix broken input styles 2022-02-21 09:18:23 +11:00
rjpeterson 0e16c3cb7b fix type that prev commint unfixed 2022-02-19 15:58:21 -06:00
rjpeterson f9e22ae8de make button wider so chinese text doesnt overflow, fixes #139 2022-02-19 15:53:56 -06:00
rjpeterson f84c753db7 compartmentalize alerts translations, add other overlooked translations 2022-02-19 15:35:43 -06:00
Tyler Shipe 4a0c77a3d9 increase information density 2022-01-31 10:52:28 -05:00
saml33 320cd06d76
Account health email alerts (#111)
* create alerts modal

* add translation variables

* translation variables

* handle error states

* add chinese

* limit number of active alerts

Co-authored-by: rjpeterson <r.james.peterson@gmail.com>
Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2022-01-02 20:42:59 -08:00