Commit Graph

306 Commits

Author SHA1 Message Date
Riordan Panayides dd1c0fab1d Merge changes from production (#364) 2022-07-17 20:04:50 +02:00
Riordan Panayides 20f54be2ad Merge branch 'main' into pan/prod-to-main 2022-07-17 16:41:08 +01:00
Riordan Panayides 9906501e94 Hardcode required info for delisted markets 2022-07-13 00:28:49 +01:00
Riordan Panayides 127c9c657a Filter inactive markets from markets api response 2022-07-12 14:03:24 +01:00
saml33 c02ef0ff48 fix undefined error 2022-06-23 22:37:37 +10:00
saml33 14cf369d20 handle stats loading 2022-06-22 10:38:24 +10:00
Riordan Panayides afb90bfed5 Upgrade mango-client, changes for testnet 2022-06-11 14:58:39 +01: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 dd3590284f show country returned by ip check 2022-06-05 21:17:12 -04:00
saml33 f8205ea52b scrolling mobile tabs 2022-05-27 21:38:49 +10:00
tjs bd3a8fcf47 Merge branch 'main' into production 2022-05-13 18:20:09 -04:00
tjs 4ae62b618f add maxbookdelay to see open orders while clock is behind 2022-05-01 10:09:12 -04:00
tjs d6d48b5491 use long book delay to show orders while network clock is behind 2022-05-01 10:04:01 -04:00
tjs 65555a5473 update fees page 2022-04-14 15:13:26 -04:00
tjs 54fe21f5f6 update fees page 2022-04-14 15:12:54 -04:00
tjs 73fe0f6655 Merge branch 'main' into share-positions-2 2022-04-13 15:55:54 -04:00
Luc Succes f7801941a5 Merges main 2022-04-06 07:24:51 -06:00
tjs b79f156ece pass in wallet to store actions when needed 2022-04-04 16:28:32 -04:00
tjs 813cd3c1c9 use finalized blockhashes; remove saving old blockhashes 2022-04-03 17:04:15 -04:00
Kieran Gillen 5d92b4fe6f Merge branch 'main' of github.com:blockworks-foundation/mango-ui-v3 into mango-group-config 2022-04-01 15:00:12 +02:00
Kieran Gillen f10a1dbce0 Deletes useMangoGroupConfig hook 2022-03-31 16:58:01 +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
tjs 578846d9b9 use new api for stats page 2022-03-30 22:53:00 -04:00
Kieran Gillen 764ea28cb4 Adds more null checking 2022-03-30 19:10:15 +02:00
Kieran Gillen 39e4a6def5 Adds more null checks 2022-03-30 13:08:05 +02:00
tjs b66f990104 only use lodash that's needed 2022-03-29 22:46:21 -04:00
Luc Succes 9718bf5d38 Merges main 2022-03-29 12:11:23 -04:00
Kieran Gillen 60cb08a5a5 Adds more null checks 2022-03-29 15:02:29 +02: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
saml33 36bd258c15 filter trade history 2022-03-29 10:43:42 +11: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 8736900401 Adds more null checks 2022-03-28 17:42:18 +02:00
Kieran Gillen 8c276acfe2 Adds more null checks 2022-03-28 17:13:54 +02:00
Kieran Gillen 2deb4ec75f Adds more null checks 2022-03-28 16:18:35 +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 8734f7e181 WIP: Null checking 2022-03-25 17:00:48 +01:00
Kieran Gillen c1507c234f Merge branch 'main' of github.com:blockworks-foundation/mango-ui-v3 into kierangillen/wallet-updates 2022-03-24 18:41:25 +01:00
tjs af2965098b fix notifications, use accountsdb to fetch mango accts 2022-03-24 01:50:33 -04:00
Kieran Gillen cd8549b1dc Reverts revert wallet adapter 2022-03-22 10:18:58 +01:00
Luc Succes 7316a16e46 Merges main 2022-03-21 14:07:25 -04:00
tjs d62fb894e1 reset trade history in wallet 2022-03-20 21:48:07 -04:00
tjs fa7edcc119 switch away from toLocaleString
toLocaleString is quite slow
2022-03-20 21:30:12 -04:00
tjs 32fc5052e9 store order lines in mango store and show preferences in local storage 2022-03-20 18:50:05 -04:00
tjs 2fd1e8676c more type checks 2022-03-20 04:07:03 -04:00
tjs 4c0eb2114e refactor trade history to use the mango store
reduces rerenders
update usePerpPosition with tradeHistory
2022-03-20 04:06:30 -04:00
saml33 e9550fddda
Markets Page (#182)
* update api endpoint

* update to new api
2022-03-19 17:57:54 +01:00
tjs 9ce177ca3d Revert solana wallet adapter 2022-03-18 14:41:23 -04:00
tjs 45127eb8c0 use latest mango client 2022-03-18 10:34:46 -04:00
saml33 af9505ac22 format numbers 2022-03-18 08:01:16 +11:00