Commit Graph

1194 Commits

Author SHA1 Message Date
saml33 edaa723872 use getprecisiondigits instead of getdecimalscount 2022-03-16 10:16:14 +11:00
saml33 a25570c384 misc number formatting 2022-03-16 01:12:46 +11:00
tjshipe 3c5a0d220c
Merge pull request #184 from rjpeterson/update-translations
Update translations
2022-03-14 11:51:19 -04:00
tjs 597c930b98 use blockhash that expires with timeout 2022-03-13 19:26:30 -04:00
rjpeterson d8636f3848 update translations 2022-03-13 18:25:15 -05:00
tjs 0a234a94f5 extract getMarketLeverage from component 2022-03-13 14:14:08 -04:00
saml33 0759a47cd2 fix undefined getWeights arg 2022-03-12 20:14:27 +11:00
saml33 d4d3cb1eea move size rounding to hook 2022-03-11 13:02:36 +11:00
saml33 fdf824dc37 round perp size and fix sort 2022-03-11 11:23:30 +11:00
tjs 748690d029 show tps in warning 2022-03-10 10:19:52 -05:00
tjs b4da6110fc warn users when tps is low 2022-03-10 10:04:31 -05:00
tjs db8a0324aa add tailwind prettier plugin; run yarn format 2022-03-09 15:53:11 -05:00
tjs 163193274f remove new badge from referrals 2022-03-09 14:47:56 -05:00
tjs 9ab8c0cc67 show loading state for values in performance chart 2022-03-06 20:01:58 -05:00
tjs c1755aac1d Move export pnl csv to the Account History page 2022-03-06 18:18:22 -05:00
saml33 f280baab23 fix position size on mobile 2022-03-06 14:03:42 +11:00
tjs 4f412f1d97 dont show alert when tps is above threshold 2022-03-04 19:44:58 -05:00
tjs 27bef7a17c change tps threshold 2022-03-04 18:41:24 -05:00
tjs a3cecc2345 increase tps threshold for warning 2022-03-04 18:26:53 -05:00
tjs 8ff0e677d0 fetch current tps and display warning if low 2022-03-04 18:24:22 -05:00
saml33 a9e3debc34 hide export pnl when not account owner 2022-03-04 11:38:58 +11:00
tjshipe 7460dbfdf3
Merge pull request #178 from blockworks-foundation/export-pnl
add export pnl function
2022-03-03 16:41:04 -05:00
tjs 482cf7138a add commas to recent trades table 2022-03-03 11:59:21 -05:00
tjs e0bc94898e add commas to account history 2022-03-03 11:45:16 -05:00
tjs d891102e5f upgrade to tailwind 3 2022-03-02 18:04:32 -05:00
saml33 ceca09ff07
Merge pull request #165 from blockworks-foundation/redesign-unsettled-panels
redesign unsettled panels
2022-03-03 09:34:55 +11:00
tjs 5409596fd9 Ensure mangoAccount is loaded before computingValue 2022-03-02 01:02:49 -05:00
tjs 0492e2fe6c load total and hourly account stats asynchronously 2022-03-02 00:53:25 -05:00
saml33 4ae986f583 fix merge conflicts 2022-03-02 14:56:59 +11:00
saml33 d2029ef5f5 use separate api call for export 2022-03-02 13:25:23 +11:00
tjs 5dc40a2078 fix issue with reading pubkey from non phantom wallets on account page 2022-03-01 21:17:47 -05:00
saml33 c38e063ff4 add export pnl function 2022-03-02 12:47:06 +11:00
saml33 7a9dfc2b68 align styles 2022-03-02 11:08:18 +11:00
tjs 59144e727d show timestamps for pnl and account value on account page 2022-03-01 17:24:31 -05:00
tjs c41af04f8e fix type issue with new ExpandableRow props 2022-03-01 14:28:20 -05:00
tjs b6999cd220 add performance chart to account page 2022-03-01 14:06:39 -05:00
tjshipe 46e90570ce
Merge pull request #171 from blockworks-foundation/expandable-panels
align expandable panels
2022-03-01 14:04:52 -05:00
Riordan Panayides 1eab48f26c Allow off-curve addrs, validate on change 2022-03-01 18:49:24 +00:00
Riordan Panayides 2afa5e11dd Fix public key validation 2022-03-01 11:36:43 +00:00
tjs 8a00c334a1 use prop to toggle clickable balance on trade page only 2022-02-28 12:51:31 -05:00
saml33 db548e312d add asset symbol back to unsettled balances 2022-02-28 12:51:31 -05:00
dd 9a17174094 integrate placePerpOrder2 2022-02-28 12:51:16 -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 e49025c9a2 Set proper decimals in BalancesTable; 2022-02-28 12:51:10 -05:00
dd df2b2eb9ba fix display of taker fee and maker fee decimals 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
tjshipe 046eda09f2
Merge pull request #173 from rjpeterson/add-keep-break
Add keep-break class to solve issues with CJK display
2022-02-28 11:46:10 -05:00
Haiyang Wang d2796a6c45
fix typo in orders table 2022-02-27 19:56:12 +08:00
rjpeterson 221feede2c fix localization errors around the word "new" 2022-02-26 11:38:31 -06:00