Commit Graph

189 Commits

Author SHA1 Message Date
saml33 7e3a0167a8 fix pages 2022-06-17 11:00:43 +10:00
saml33 604ee92a90 side nav poc 2022-06-14 10:13:25 +10:00
Riordan Panayides afb90bfed5 Upgrade mango-client, changes for testnet 2022-06-11 14:58:39 +01:00
tjs 2cb5fbb210 use latest mango client 2022-06-08 10:55:04 -04:00
saml33 cf31cebdd5
relative long/short chart (#299)
* 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>
2022-06-08 17:01:15 +03:00
tjs cd85c652eb use latest mango client 2022-06-05 22:21:25 -04:00
tjs 39075c88c5 use latest mango client 2022-06-05 21:16:34 -04:00
Maximilian Schneider f2e707ed85 list GMT 2022-06-02 15:57:10 -04:00
tjshipe 1c1a6e7ef5
Merge pull request #291 from blockworks-foundation/mobile-tabs
scrolling mobile tabs
2022-05-30 14:24:23 -04:00
Maximilian Schneider a1a016c54f upgrade buffer layout package 2022-05-28 18:10:50 +03:00
saml33 f8205ea52b scrolling mobile tabs 2022-05-27 21:38:49 +10:00
Adrian Brzeziński 055931e718
upgrade mango-client to 3.4.8 (#279) 2022-05-18 19:02:45 +02:00
tjs f2967dfc6b move fns from @nfteyez/sol-rayz into app 2022-05-17 13:16:26 -04:00
saml33 0d78055d6e fix conflicts 2022-05-17 08:05:09 +10:00
Adrian Brzeziński 3bee514052
upgrade mango client (#271)
* upgrade mango client

* fix prettier
2022-05-16 17:51:17 +02:00
saml33 050790d284 fix conflicts 2022-05-16 08:08:51 +10:00
tjs bd3a8fcf47 Merge branch 'main' into production 2022-05-13 18:20:09 -04:00
tjs b43f2e6232 Merge remote-tracking branch 'origin/revert-192-mango-notifi-integration' into main 2022-05-13 17:57:07 -04:00
tjs 19482d38e1 Add exodus wallet support 2022-05-13 16:48:22 -04:00
saml33 2aeff1032e support nfts as profile pics 2022-05-11 13:29:35 +10:00
tjs d4169c3c4f use latest mango client 2022-05-01 10:03:27 -04:00
Maximilian Schneider 42c2f3a33b Revert "Mango <> Notifi integration (#192)"
This reverts commit 2f189fb3e3.
2022-04-25 12:36:42 -04: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 917ee7c7fc upgrade to latest jup-ag pkg 2022-04-20 17:04:54 -04:00
tjs 5f90105276 upgrade to latest jup-ag pkg 2022-04-20 17:04:16 -04:00
tjshipe 13925d6eff Merge pull request #261 from blockworks-foundation/ts/wallet-update
update to the latest wallet adapter pkgs
2022-04-20 15:33:00 -04:00
tjs eae4477a2e update to the latest wallet adapter pkgs 2022-04-20 14:05:32 -04:00
tjs 7ecc1f2440 use latest mango client 2022-04-18 21:10:09 -04:00
tjs ef27cae29d use latest mango client 2022-04-18 20:48:26 -04:00
Luc Succes f7801941a5 Merges main 2022-04-06 07:24:51 -06:00
tjshipe 05a2a3c1f6
Merge pull request #231 from blockworks-foundation/sentry
Sets up Sentry & custom ErrorBoundary
2022-03-31 22:56:15 -04:00
tjs 9ad1801a89 use latest mango client 2022-03-31 22:30:45 -04:00
Luc Succes 82c348c1da Merges main 2022-03-31 09:24:25 -07:00
Kieran Gillen 5e9cd4219d Adds temp client package 2022-03-31 13:05:29 +02:00
Kieran Gillen dd6349d15d Merge branch 'main' of github.com:blockworks-foundation/mango-ui-v3 into kieran/strict-nullcheck 2022-03-31 12:33:10 +02:00
tjshipe 7644f23931
Merge pull request #232 from blockworks-foundation/trade-history-filters
change date picker
2022-03-30 22:21:46 -04:00
tjs 962b827869 fix redeem all mngo notifications 2022-03-29 23:51:03 -04:00
saml33 7ede39e0fc change date picker 2022-03-30 13:37:39 +11:00
Luc Succes 9718bf5d38 Merges main 2022-03-29 12:11:23 -04:00
Luc Succes 294cc10e8c Merges main 2022-03-29 08:28:08 -04:00
Kieran Gillen a6aaf551dd Merge branch 'main' of github.com:blockworks-foundation/mango-ui-v3 into kieran/strict-nullcheck 2022-03-29 12:02:37 +02:00
Kieran Gillen a1b8465203 Moves next analyze to devDep 2022-03-29 10:43:01 +02:00
Kieran Gillen d4ad0e23f1 Adds yarn anyalize 2022-03-28 21:26:54 -04:00
saml33 36bd258c15 filter trade history 2022-03-29 10:43:42 +11:00
tjs f13b3a5376 updates packages 2022-03-28 12:56:03 -04:00
Kieran Gillen 6da4d5f76f Merge branch 'main' of github.com:blockworks-foundation/mango-ui-v3 into kierangillen/wallet-updates 2022-03-28 18:22:13 +02:00
Kieran Gillen 140c26542a Updates TS version 2022-03-28 16:17:54 +02:00
tjs 79ebdba891 separate try/catch for avg entry and break even on perps 2022-03-27 13:11:00 -04:00
Kieran Gillen 794861e3ba Merge branch 'main' of github.com:blockworks-foundation/mango-ui-v3 into kierangillen/wallet-updates 2022-03-25 10:21:25 +01:00
tjs 3e807499b8 Revert "update jup pkg"
This reverts commit e850387628.
2022-03-25 01:59:00 -04:00