Commit Graph

56 Commits

Author SHA1 Message Date
saml33 68ae404bd4 hide account value chart when not connected 2022-08-27 20:40:31 +10:00
tjs bf929e556d hide pnl until api is fixed 2022-08-26 15:17:17 -04:00
tjs f4d155af10 add useMangoAccount hook to fix updating account page 2022-08-26 15:15:50 -04:00
saml33 453a960b05 add account value change placeholder 2022-08-26 13:54:19 +10:00
saml33 1d41d4ef7f add init health zero errors 2022-08-26 13:46:23 +10:00
saml33 9a84e0d722 add total deposit/borrow value to stats 2022-08-25 13:55:55 +10:00
saml33 9ca67ed52c trade history decimals 2022-08-25 10:14:27 +10:00
tjs 0d23ceaa7a remove withdraw health in favor of free collateral 2022-08-24 18:22:04 -04:00
tjs cd2ad18ade update health labels 2022-08-24 11:58:01 -04:00
saml33 bb8769617b fix chart load height 2022-08-24 22:32:01 +10:00
saml33 d56dc3a06a show error when withdraw amount > account balance 2022-08-24 22:29:20 +10:00
tjs 7506ee34fe show maint health and init health everywhere 2022-08-23 15:32:51 -04:00
saml33 46d0d75826 format portfolio usd values 2022-08-23 21:03:15 +10:00
tjs 2ec3bab9ea remove leverage number from swap 2022-08-22 22:26:59 -04:00
tjs bea7dee84c move constants out of mangoStore.ts 2022-08-20 14:17:57 -04:00
tjs 08b6da5d2f remove tailwind deprecated transform class
and remove default-transitions that weren't paired with a class change
2022-08-16 18:58:03 -04:00
tjs c035bc4655 remove animation from main lists 2022-08-16 18:29:24 -04:00
saml33 57120c17e0 portfolio responsive 2022-08-16 12:02:56 +10:00
saml33 9c67b18eff single component for account charts 2022-08-16 10:16:21 +10:00
tjshipe 8e3259b118
Merge pull request #4 from blockworks-foundation/fix-onboarding
fix account loading and onboarding
2022-08-15 19:10:35 -04:00
saml33 7b8867781f merge main 2022-08-16 08:19:24 +10:00
tjs 6ead35fd8a wire up borrow modal; use maint health 2022-08-15 18:18:23 -04:00
saml33 dfbed69bcf add pnl 2022-08-15 15:43:15 +10:00
saml33 e672dd4792 style review trade panel 2022-08-14 21:56:19 +10:00
saml33 7d3b16496d add interest value to token list 2022-08-14 15:11:02 +10:00
saml33 bf972eb9a9 add interest to token list 2022-08-13 21:29:48 +10:00
saml33 5ec3d74500 add cumulative interest chart 2022-08-13 20:44:13 +10:00
saml33 b419098e6c move trade history data to store 2022-08-13 16:06:09 +10:00
saml33 2124044fe4 remove start-date from interest totals api call 2022-08-13 08:29:31 +10:00
saml33 03c0436877 merge main 2022-08-12 22:21:23 +10:00
saml33 e7af834a2d move account stats fetching to store 2022-08-12 22:14:28 +10:00
saml33 94aa653817 fix account loading and onboarding 2022-08-12 14:20:17 +10:00
saml33 49823fdd5f update total interest api 2022-08-12 09:52:31 +10:00
tjs d17fb5dcd4 show max health ratio of 100 2022-08-11 12:29:07 -07:00
microwavedcola1 c148f5640a Adapt to latest ts/client changes
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-11 18:00:39 +02:00
saml33 e5ca9c4648 fix side nav alignment 2022-08-11 20:49:16 +10:00
saml33 284443204e update state variable names 2022-08-11 19:52:02 +10:00
saml33 51a00534f4 add total interest value 2022-08-11 16:23:18 +10:00
saml33 cc7ca4680f add account value api to portfolio 2022-08-11 14:09:58 +10:00
saml33 6cc89d7386 add trade history 2022-08-10 21:17:10 +10:00
saml33 4bcf4dee72 add other account details to portfolio 2022-08-03 22:13:40 +10:00
saml33 210e96237d add placeholder account value chart 2022-08-03 19:49:31 +10:00
saml33 7c49882fcc more onboarding and load mango account 2022-07-28 16:35:18 +10:00
saml33 69caf3eb00 withdraw modal ui 2022-07-24 15:45:11 +10:00
saml33 91a3837c0d only animate if mango account 2022-07-23 21:33:09 +10:00
saml33 89f1ca6fc1 animate account value numbers 2022-07-23 21:30:50 +10:00
saml33 3278a2d686 more onboarding flow 2022-07-22 15:09:04 +10:00
saml33 b304ea208f start onboarding flow 2022-07-21 14:50:56 +10:00
saml33 97300d9a92 misc styling, organizing components 2022-07-15 21:09:23 +10:00
saml33 12e7b48275 add portfolio header 2022-07-15 15:20:20 +10:00