Commit Graph

411 Commits

Author SHA1 Message Date
saml33 7e3a0167a8 fix pages 2022-06-17 11:00:43 +10:00
tjs 5d08202417 yarn format 2022-06-16 17:52:54 -04:00
saml33 604ee92a90 side nav poc 2022-06-14 10:13:25 +10:00
rjpeterson 08f6d2943e fix dayjs not setting locale on load 2022-06-11 16:26:02 -07:00
tjshipe 984018bf85
Merge pull request #305 from blockworks-foundation/fix-mobile-tabs
fix tab width on mobile (stats page)
2022-06-09 15:32:23 -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
saml33 363b595260 re-order hover css 2022-06-08 10:55:46 +10:00
saml33 187a40dfe3 remove fastclick, remove button hover on mobile 2022-06-08 09:30:07 +10:00
saml33 ca402a0896 fix tab width on mobile 2022-06-06 11:47:38 +10:00
saml33 754059ea02 add fast click 2022-06-06 09:19:47 +10:00
tjshipe 1c1a6e7ef5
Merge pull request #291 from blockworks-foundation/mobile-tabs
scrolling mobile tabs
2022-05-30 14:24:23 -04:00
saml33 5a07210de4 pass an optional width 2022-05-29 11:52:04 +10:00
tjshipe b28aed7984
Merge pull request #287 from blockworks-foundation/improve-no-account-flow
improve no account flow
2022-05-28 12:21:08 -04:00
ImpossiblePairs 21eb477e9a
Fix Risk Calculator PERP loading unreliably (#289)
* Fix Risk Calculator PERP loading unreliably

- Removed reliance on multiple variables for loading perp positions, notably making the MNGO-PERP fail to load correctly.
- Removed base position from Unsettled Funding calculation as it's displayed in quote token, not the perp token
- Fixed perps In Orders calculation so it was consistent in both places it's present

* Ran lint and prettier
2022-05-28 18:35:23 +03:00
saml33 f8205ea52b scrolling mobile tabs 2022-05-27 21:38:49 +10:00
saml33 0a0b1f7f84 improve no account flow 2022-05-24 14:39:40 +10:00
saml33 962eb994cc load profile.json on leaderboard page 2022-05-19 12:42:54 +10:00
tjshipe 11e6911671
Merge pull request #274 from blockworks-foundation/mobile-tweaks
mobile market card (markets page)
2022-05-18 16:39:00 -04:00
tjshipe 00c5361da7
Merge pull request #264 from blockworks-foundation/clarkeni/performance_per_token
Clarkeni/performance per token
2022-05-18 16:35:28 -04:00
saml33 924b9b279d add swipeable tabs 2022-05-18 14:53:48 +10:00
tjshipe a0dbeef331
Merge pull request #266 from blockworks-foundation/leaderboard
Leaderboard
2022-05-17 13:38:04 -04:00
saml33 87a9abe9d3 fix conflicts 2022-05-17 22:11:04 +10:00
saml33 8c68e11772 match leaderboard data with account performance 2022-05-17 09:58:26 +10:00
Nicholas Clarke 701faa2afe Merge remote-tracking branch 'origin/main' into clarkeni/performance_per_token 2022-05-16 12:52:07 -07:00
saml33 db991c4509 market selection on mobile 2022-05-16 21:56:28 +10:00
saml33 ff7ccca78e implement feedback 2022-05-16 11:24:48 +10:00
saml33 02199e0854 fix translations 2022-05-16 08:40:06 +10:00
saml33 050790d284 fix conflicts 2022-05-16 08:08:51 +10:00
saml33 874b3f05ac fix conflicts 2022-05-16 08:00:34 +10:00
tjs 19482d38e1 Add exodus wallet support 2022-05-13 16:48:22 -04:00
saml33 c4b7c51479 remove unwanted class 2022-05-12 16:25:53 +10:00
saml33 06079103f6 profile thumbnail component 2022-05-11 13:55:18 +10:00
saml33 ad7591222f responsive 2022-05-11 13:42:41 +10:00
saml33 2aeff1032e support nfts as profile pics 2022-05-11 13:29:35 +10:00
saml33 e55a13a8c4 responsive 2022-05-09 11:03:56 +10:00
saml33 be73a39973 leaderboard layout 2022-05-07 21:29:59 +10:00
tjs 161c567710 fix i18n 2022-05-03 21:53:35 -04:00
Nicholas Clarke f196f45951 Run yarn format 2022-04-25 09:53:49 -07:00
Nicholas Clarke 6bd4373ee9 Fix type error 2022-04-25 09:43:34 -07:00
Nicholas Clarke f335395341 Merge remote-tracking branch 'origin/main' into clarkeni/performance_per_token 2022-04-25 09:04:24 -07:00
rjpeterson 1a4623240a yarn format 2022-04-23 19:09:08 -07:00
rjpeterson fe1d7f9e68 translate share modal to chinese 2022-04-23 19:08:18 -07:00
Nicholas Clarke 461ef097d8 Add account performance per token tab. 2022-04-20 14:05:55 -07:00
tjs eae4477a2e update to the latest wallet adapter pkgs 2022-04-20 14:05:32 -04:00
tjs d03db04d72 add check that url param exists 2022-04-15 17:05:37 -04:00
tjs 65555a5473 update fees page 2022-04-14 15:13:26 -04:00
tjs 608983683e fee discount doesnt apply to maker side 2022-04-14 14:22:10 -04:00
tjshipe a0ec154f95
Merge pull request #247 from blockworks-foundation/filter-and-account-buttons
fix button positions on mobile
2022-04-09 13:15:00 -04:00
tjs 71fb7fc779 fix calculator types 2022-04-06 00:50:41 -04:00
saml33 c33b1dde15 fix button positions on mobile 2022-04-06 14:25:31 +12:00
tjs cc3a971c2b fix error boundary bg color 2022-04-05 02:20:00 -04:00
tjs b79f156ece pass in wallet to store actions when needed 2022-04-04 16:28:32 -04:00
tjs 2c08ab07b6 remove old connection logic 2022-04-03 18:47:16 -04:00
rjpeterson 78c87dc821 translate new keys, translate account history headers 2022-04-02 09:31:57 -07:00
saml33 8c42309d61 fix referrals count and referee address 2022-04-02 23:20:28 +11: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
tjshipe 05a2a3c1f6
Merge pull request #231 from blockworks-foundation/sentry
Sets up Sentry & custom ErrorBoundary
2022-03-31 22:56:15 -04:00
Luc Succes ee446b2de5 use env var for sentry 2022-03-31 09:33:13 -07:00
Luc Succes 82c348c1da Merges main 2022-03-31 09:24:25 -07:00
Kieran Gillen f10a1dbce0 Deletes useMangoGroupConfig hook 2022-03-31 16:58:01 +02:00
Kieran Gillen 9ee5d54f53 Adds transaction failed error 2022-03-31 13:45:19 +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
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 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
Kieran Gillen 60cb08a5a5 Adds more null checks 2022-03-29 15:02:29 +02:00
Luc Succes 294cc10e8c Merges main 2022-03-29 08:28:08 -04:00
Luc Succes 1196cde40a Sets up Sentry & custom ErrorBoundary 2022-03-29 08:21:54 -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
saml33 3448ed4ae4 datepicker stylesheet 2022-03-29 11:21:03 +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 140c26542a Updates TS version 2022-03-28 16:17:54 +02:00
Kieran Gillen 8734f7e181 WIP: Null checking 2022-03-25 17:00:48 +01:00
Kieran Gillen b333f16514 Updates copy and uses translation 2022-03-25 10:48:51 +01: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
tjshipe df67f16a6b
Merge pull request #213 from blockworks-foundation/fees-page
add fees page
2022-03-24 23:39:35 -04:00
saml33 140c80f90d add fees page 2022-03-25 10:56:32 +11:00
Kieran Gillen 541abac2f9 Adds MangoAccountSearch 2022-03-24 18:03:12 +01:00
Kieran Gillen d7f96bde8b Updates to wallets in ConnectButton 2022-03-24 15:39:24 +01:00
Kieran Gillen aee7a481a0 Empty commit 2022-03-23 19:40:24 +01:00
Kieran Gillen 17c6dd784c Refactors wallet in store 2022-03-23 13:18:34 +01:00
Kieran Gillen a827bb71d2 Merge branch 'main' of github.com:blockworks-foundation/mango-ui-v3 into kierangillen/wallet-updates 2022-03-23 11:50:02 +01:00
Kieran Gillen cc9bed9b4a Removes connection provider 2022-03-23 11:42:21 +01:00
Kieran Gillen 1a40a98af0 Removes calls to Wallet and Connected through MangoStore hook 2022-03-23 11:42:04 +01:00
saml33 17cdf48c73 remove duplicate component 2022-03-23 09:30:22 +11:00
Kieran Gillen 004bb08b2f Removes log 2022-03-22 12:28:39 +01:00
Kieran Gillen 638db0ed5c Adds custom WalletProvider 2022-03-22 12:27:13 +01:00
Kieran Gillen cd8549b1dc Reverts revert wallet adapter 2022-03-22 10:18:58 +01:00
saml33 0ac4bd1b70 other-pages 2022-03-22 11:20:41 +11:00
saml33 8fdcabfe79 trade page and account overview 2022-03-21 22:56:37 +11:00
tjshipe 0bf4244f01
Merge pull request #189 from tarcisiozf/handle-invalid-pairs
Handle input of invalid pairs
2022-03-21 00:13:19 -04:00
tjshipe e841d7e0b9
Merge pull request #197 from blockworks-foundation/ts/performance-refactor
Ts/performance refactor
2022-03-20 21:53:30 -04:00
tjshipe d3d8ab85f4
Merge pull request #190 from blockworks-foundation/show-referral-balance-history
Show referral fees history and total
2022-03-20 20:27:59 -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
Luc Succes 2f69b9378d Fixes errors 2022-03-18 15:13:16 -04:00