Commit Graph

94 Commits

Author SHA1 Message Date
tjs 2819f6b365 better perp reloading 2022-09-06 16:28:02 -04:00
saml33 089579f27d
add est liq price to balances table (#366)
* add est liq price to balances

* add est liq price tooltip
2022-08-31 13:42:05 +02:00
saml33 3d50d89fcf
add liq price tooltip (#391) 2022-08-18 08:37:39 +02:00
saml33 d2d9f84629
add show/hide columns to perp table (#388) 2022-08-04 12:39:04 -05:00
saml33 f226e210ce
add market close to positions table (#365)
* add market close to positions table

* fix variable reference

* use secondary buttons
2022-07-20 12:19:59 +02:00
saml33 b52375921e align icons to side nav 2022-06-30 20:54:01 +10:00
saml33 e36f04b8d6 fix side-nav height 2022-06-29 10:49:01 +10:00
saml33 3bff95a069 fix account loading 2022-06-20 15:51:31 +10:00
saml33 ef107546fc bg and border colors 2022-06-18 16:44:26 +10:00
tjs ab0fce91f5 remove extra divider lines on account summary page 2022-06-17 13:33:48 -04:00
saml33 98a8a5a638 add redeem to perp table 2022-06-17 13:17:30 +10: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 6c1c084d05 only show redeem all button if more than 1 pos to redeem 2022-06-05 21:29:34 -04:00
saml33 d0626c139c redeem positive button logic 2022-06-04 22:27:39 +10:00
tjs 91a7f8a633 enable share modal if avgEntryPrice is available 2022-04-20 17:33:44 -04:00
tjs fca2e510ef fix share modal calculation 2022-04-18 21:23:40 -04:00
tjs ee05de86b4 remove useless market type check 2022-04-16 14:50:00 -04:00
tjs 3e5b8e6caf fix share modal text positioning and calculation 2022-04-13 18:57:58 -04:00
Luc Succes f7801941a5 Merges main 2022-04-06 07:24:51 -06:00
tjs 7f2c553f1f only show pnl once it is loaded 2022-04-01 22:20:19 -04:00
Kieran Gillen 39e4a6def5 Adds more null checks 2022-03-30 13:08:05 +02:00
Luc Succes 9718bf5d38 Merges main 2022-03-29 12:11:23 -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 8736900401 Adds more null checks 2022-03-28 17:42:18 +02: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
tjshipe 9372c1bdb2
Merge pull request #202 from blockworks-foundation/settle-all-positive-perp
Adds RedeemDropdown for Redeem Positive button
2022-03-24 01:58:34 -04:00
Kieran Gillen 7c143a7181 Updates RedeemDropdown 2022-03-23 18:51:01 +01:00
Luc Succes 3c464d5452 Merges main 2022-03-23 12:09:10 -04:00
Kieran Gillen 1a40a98af0 Removes calls to Wallet and Connected through MangoStore hook 2022-03-23 11:42:04 +01:00
Kieran Gillen 8f40cce851 WIP adds RedeemDropdown 2022-03-22 09:57:52 +01:00
Luc Succes 7316a16e46 Merges main 2022-03-21 14:07:25 -04:00
saml33 8fdcabfe79 trade page and account overview 2022-03-21 22:56:37 +11:00
saml33 a25570c384 misc number formatting 2022-03-16 01:12:46 +11:00
rjpeterson d8636f3848 update translations 2022-03-13 18:25:15 -05:00
tjs db8a0324aa add tailwind prettier plugin; run yarn format 2022-03-09 15:53:11 -05:00
saml33 f280baab23 fix position size on mobile 2022-03-06 14:03:42 +11:00
saml33 4ae986f583 fix merge conflicts 2022-03-02 14:56:59 +11:00
tjs c41af04f8e fix type issue with new ExpandableRow props 2022-03-01 14:28:20 -05:00
dd 22244b8989 Let user prefill spot trade form using negative balance; Add link to spot market from BalancesTable 2022-02-28 12:51:10 -05:00
dd 46236fa9e5 fix float rounding issues in market position, positions table and orders table 2022-02-28 12:51:10 -05:00
dd 5d7599ef97 optimizations; Add more commas to large numbers; NO MERGE STILL UNFINISHED 2022-02-28 12:51:03 -05:00
saml33 5117617259 add size and referral qr 2022-02-24 15:50:52 +11:00
saml33 28d7de115c show size and referral 2022-02-24 13:53:57 +11:00
saml33 8d5d80cb93 change grid columns 2022-02-23 13:13:57 +11:00
saml33 28a3bd900e tweak styling 2022-02-22 21:42:25 +11:00
saml33 6dc240038b redesign unsettled panels 2022-02-22 16:22:21 +11:00
saml33 2ae323ee1c semantic headings and styles 2022-02-21 14:55:13 +11:00
tjs 73c3d111cf Merge branch 'main' into share-positions-2 2022-02-15 10:44:10 -05:00
saml33 839efc730c page content and styling 2022-02-14 12:17:21 -05:00
saml33 3ae91f479b pass correct position to share modal 2022-02-14 14:41:40 +11:00