Commit Graph

33 Commits

Author SHA1 Message Date
saml33 90fa0772c6 remove placement from tooltip 2021-05-27 23:56:29 +10:00
saml33 f0ce625218 increase dropdown box max-height 2021-05-27 23:38:11 +10:00
saml33 da7af24d2b
Use asset balances instead of accounts for withdraw (#17)
* use asset balances instead of accounts for withdraw
* borrow zero balance assets
2021-05-27 14:35:15 +03:00
Ralfs d239416364 more cleanup and add txid link when transaction error 2021-05-22 01:00:39 +03:00
Ralfs 7a110f9ea5 Fixed build bugs 2021-05-20 23:43:18 +03:00
Ralfs a58a32e9a1 Lint fixes 2021-05-20 14:21:36 +03:00
Maximilian Schneider 935129c45e
simulate withdraw operation so we can preview equity & coll (#10)
* show margin details in withdraw ui

Co-authored-by: saml33 <slam.uke@gmail.com>
2021-05-18 19:27:09 +03:00
saml33 806b527502
Bring alert details and notifications into the UI (#5)
* hook to get alerts, add triggered alerts to alerts list
* alerts page, count unseen alerts, clear alerts from nav view
* consolidate components, add custom value to alert modal dropdown, sort margin accounts alphanumerically
* ring bell when count increments and ping animation on count
* create/fetch alerts from store, filter by account, populate modal state from triggered alert
* fix alert sorting
* enable MA selection also for re-activate
2021-05-07 22:41:26 +03:00
saml33 23220e3555 trigger set alerts modal from margininfo 2021-05-02 00:02:21 +10:00
Tyler Shipe a0ef8f1e8e better handling of rounding issues in borrow and withdraw 2021-04-29 17:27:13 -04:00
Tyler Shipe 6fbd949b9f Use the vip-api endpoint 2021-04-29 13:42:53 -04:00
Tyler Shipe 64437f6a85 remove percent reduction in borrow and withdraw transaction 2021-04-28 23:15:42 -04:00
Tyler Shipe e3986a26a0 pass in a PublicKey instead of the string 2021-04-25 13:23:06 -04:00
saml33 fc751fe00c
More timeframes to charts and chart theming (#2)
* topbar action tooltips. flip refresh icon. max with borrow button
* more timeframes and chart theming
* fix asymmetric header button
2021-04-25 01:02:13 +03:00
Tyler Shipe 7d26ec8fac only borrow if toggle is true in modal 2021-04-22 13:31:09 -04:00
Tyler Shipe adad2a967f remove unused functions in withdraw modal 2021-04-22 11:12:23 -04:00
saml33 a749d9c531 add borrow details to withdraw modal 2021-04-22 20:31:55 +10:00
saml33 9a3ef99b3d include borrow switch and styling 2021-04-21 10:39:19 +10:00
Tyler Shipe 3db7ed86a5 extract borrowAndWithdraw from ui to mango-client pkg 2021-04-20 14:14:45 -04:00
Tyler Shipe 349966cb7e upgrade to mango-client 0.1.12 and add refresh button to account select 2021-04-20 11:46:56 -04:00
Tyler Shipe 74d9f70dbf implement withdraw max with borrow 2021-04-20 10:09:25 -04:00
Tyler Shipe a11758784c wip 2021-04-19 12:54:35 -04:00
Tyler Shipe 61a920f017 hide some ui changes so we can deploy 2021-04-19 12:15:49 -04:00
saml33 59a840f8c5 modal, tradeform, input styling updates 2021-04-18 23:45:11 +10:00
Tyler Shipe 22435a7185 Fix deposit and withdraw modals 2021-04-16 17:09:17 -04:00
Tyler Shipe e765ffa3d7 revert button text change and remove extra notifications 2021-04-15 11:57:00 -04:00
Tyler Shipe a674ff74d3 texting fixes 2021-04-14 18:46:36 -04:00
Tyler Shipe 0da8d34a7d add husky pre-commit for linting and formatting 2021-04-14 14:49:01 -04:00
Tyler Shipe da3072b867 support multiple wallets 2021-04-14 01:23:50 -04:00
Tyler Shipe 062ac4105a all the fixes 2021-04-13 19:41:04 -04:00
Tyler Shipe 9e67c147bf fee discount tables and more theming 2021-04-12 23:39:08 -04:00
Tyler Shipe 932b52f649 remove xwind and convert to className prop 2021-04-12 12:49:02 -04:00
Tyler Shipe 3c75f8e90d add more ant styling to trade form 2021-04-10 17:28:18 -04:00