* Added Cancel All button to desktop table.
* Added Cancel All button to mobile table.
* Fixed notification issue with handleCancelAllOrders.
* Ran Prettier.
* Moved cancel-all button to order row.
* Ran Prettier.
* Extending cancel all to spot market too.
* Adding for spot market
* run prettier
Co-authored-by: godmode galactus <godmodegalactus@gmail.com>
Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
* relative long/short chart
* eth icon bug
* simplify language and chart styling
* fix sol icon bug
* sort segments and include unsettled positions
* make chart angle relative to value
* sol, msol color
* simplify math
* change language
* re-work account overview layout
* increase tabs margin-b
* correctly net unsettled perps and add dust treshold
* layout
* xl breakpoint
* add spot balances to store
* add missing file
* update long / short exposure values and charts
Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
* 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>