Commit Graph

49 Commits

Author SHA1 Message Date
tjs 7ad023653f fix bug with modals 2022-10-07 18:27:36 -04:00
tjs 7d975b6407 fix deposit input issue 2022-10-07 16:02:11 -04:00
microwavedcola1 72e4808141 match mango-v4 dev branch
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-10-07 14:27:42 +02:00
saml33 1fbd948e30 add missing font-mono classes 2022-10-06 10:14:11 +11:00
saml33 706de963af add max amount button component 2022-10-06 10:03:10 +11:00
saml33 1cf389a2c3 add value to borrow/withdraw modal 2022-10-05 22:01:03 +11:00
saml33 17b52d242d change copy on swap page to be swap oriented and rename files 2022-09-15 11:06:00 +10:00
tjs c2f1f02829 use alias imports 2022-09-12 12:04:20 -04:00
saml33 89704f18d5 add icons to buttons 2022-09-08 10:47:59 +10:00
saml33 9e858968b2 update heroicons to latest version 2022-09-07 14:36:35 +10:00
tjs 12277bfa13 check that input amount is a number 2022-09-03 18:38:49 -04:00
tjs 712e7d7176 oops 2022-09-03 18:25:51 -04:00
tjs 6c714816a2 use Decimal class; use NumberFormat for input components 2022-09-02 14:37:18 -04:00
tjs 43b1febc1a update client and handle undefined health values 2022-08-31 16:17:17 -04:00
saml33 93a3990625 edit table comlumn labels 2022-08-27 19:49:32 +10:00
tjs cb3cc9b169 fix vault balance in withdraw modal 2022-08-27 01:28:52 -04:00
saml33 1d41d4ef7f add init health zero errors 2022-08-26 13:46:23 +10:00
tjs fdb6ae16ea Reload mango account on interval 2022-08-25 23:31:39 -04:00
saml33 b70394263c move error messages into buttons 2022-08-26 10:27:05 +10:00
tjs 8109dd2f9c allow skipping creating an account
leverage slider will work after disconnecting
2022-08-25 14:22:54 -04:00
saml33 eeda961a9f reset borrow/withdraw amount on token change 2022-08-25 20:35:56 +10:00
saml33 1babb59be0 add more info to deposit modal 2022-08-25 10:53:31 +10:00
saml33 49957c70e3 change withdraw amount button text 2022-08-24 22:39:15 +10:00
saml33 d56dc3a06a show error when withdraw amount > account balance 2022-08-24 22:29:20 +10:00
tjs c48b9f8a95 fix withdraw modal max amount to limit to vault amount 2022-08-23 20:44:43 -04:00
tjs 55912dec03 if max withdraw amount is negative use 0 2022-08-22 23:27:06 -04:00
tjs 5bde89ee81 sort deposit withdraw tokens by usdc value 2022-08-22 22:23:26 -04:00
tjs 501510eb43 fix max numbers shown in modals and swap form 2022-08-20 20:09:36 -04:00
tjs bea7dee84c move constants out of mangoStore.ts 2022-08-20 14:17:57 -04:00
tjs 5feb27c408 fix health after swap 2022-08-20 02:25:50 -04:00
Christian Kamm a3c37ef008 Fix HealthImpact display, use bank.uiPrice where needed 2022-08-19 16:56:22 +02:00
tjs ae324a6da5 update to latest client and program version 2022-08-18 16:50:34 -04:00
saml33 a365bbbc04 disable review trade when amount in is 0 2022-08-18 16:14:15 +10:00
saml33 3e48d7cbc0 add max borrow amount to borrow modal list 2022-08-18 15:58:44 +10:00
saml33 906640c732 add health impact component 2022-08-17 22:09:40 +10:00
saml33 8a250f7f28 sort withdraw token list by account balance 2022-08-17 16:10:38 +10:00
tjs 6ead35fd8a wire up borrow modal; use maint health 2022-08-15 18:18:23 -04:00
saml33 b7a47f60fe add available balance to withdraw modal 2022-08-12 16:09:52 +10:00
tjs 29da9b24f6 update decimal formatting 2022-08-11 19:27:36 -07:00
tjs 2b242d1a53 allow borrows 2022-08-09 17:14:12 -07:00
tjs 2514c4a223 fix withdraw modal buttons 2022-08-09 10:03:39 -07:00
tjs 730283d8c3 center loading icon after trade; reload account after editing 2022-08-08 14:45:56 -07:00
tjs b9cb38c556 use latest client to fix misordered health account bug 2022-08-04 01:26:09 -04:00
saml33 7c49882fcc more onboarding and load mango account 2022-07-28 16:35:18 +10:00
saml33 05ebd8b69a add buttongroup/slider to action modals 2022-07-25 14:22:17 +10:00
saml33 8844e19a9f pass token to action modals 2022-07-25 12:55:10 +10:00
saml33 69caf3eb00 withdraw modal ui 2022-07-24 15:45:11 +10:00
saml33 b304ea208f start onboarding flow 2022-07-21 14:50:56 +10:00
saml33 12e7b48275 add portfolio header 2022-07-15 15:20:20 +10:00