Commit Graph

35 Commits

Author SHA1 Message Date
Tyler Shipe 1b02a53314 update naming to match client 2021-06-23 11:32:33 -04:00
Tyler Shipe 6416e84828 fix deposit import 2021-06-21 09:54:56 -04:00
Tyler Shipe c4ccc37110 more errors 2021-06-20 23:22:45 -04:00
Maximilian Schneider 107c2e8ed3 add cancel perp order call and remove unused imports 2021-06-19 00:26:47 -04:00
Tyler Shipe 6e29de28ef fix deposit modal 2021-06-18 12:49:16 -04:00
Tyler Shipe 370d25f7bd fix init and deposit; fix disconnect bug 2021-06-17 21:10:47 -04:00
Tyler Shipe a16608c95d implement deposit 2021-06-17 18:39:16 -04:00
Maximilian Schneider 2307246dd0 fix deposit modal rendering 2021-06-17 14:42:39 -04:00
Maximilian Schneider 275fafa4c4 refactor deposit modal 2021-06-17 14:03:47 -04:00
saml33 e14350e624
disable 0 bal assets for deposits and fix withdraw validations (#25) 2021-06-11 14:23:51 -04:00
Tyler Shipe a1d572048b removed leverage indicator on deposit and withdraw modals 2021-06-05 14:01:00 -04:00
saml33 3b5f22b815
User account page (#22)
* layout, overview, start on assets, borrows and open orders

* trade history, sortable data hook for tables, borrow page

* handle deposit and withdraw buttons

* borrow modal ui and integration + settle borrow for individual assets

* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks

* account switch/creation flow

* accounts modal, update to usebalances hook

* handle settle, deposit before settle, save last account

* disable borrow/withdraw button when no account
2021-06-05 10:11:44 -04:00
Ralfs d239416364 more cleanup and add txid link when transaction error 2021-05-22 01:00:39 +03:00
Ralfs 329a2cd302 removed fee discount tab and sol retain deposit 2021-05-21 23:58:01 +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
Tyler Shipe f61c9b5fa8 Merge remote-tracking branch 'origin/alerts-modal' into main 2021-05-01 18:09:44 -04:00
Tyler Shipe 9755aef1be load orderbook for market 2021-05-01 16:30:05 -04:00
saml33 23220e3555 trigger set alerts modal from margininfo 2021-05-02 00:02:21 +10:00
Tyler Shipe 6fbd949b9f Use the vip-api endpoint 2021-04-29 13:42:53 -04:00
Tyler Shipe e3986a26a0 pass in a PublicKey instead of the string 2021-04-25 13:23:06 -04:00
saml33 9a3ef99b3d include borrow switch and styling 2021-04-21 10:39:19 +10:00
Tyler Shipe 64600035e5 fix balance display in deposit modal 2021-04-20 18:10:10 -04:00
saml33 59a840f8c5 modal, tradeform, input styling updates 2021-04-18 23:45:11 +10:00
saml33 91c996c0e1 tradeform input styles 2021-04-18 20:34:37 +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 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 ff260643dd Add switch component and replaced classes with theme vars 2021-04-12 18:15:15 -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
Tyler Shipe 07df84b64b extract button component 2021-04-10 15:21:02 -04:00
Tyler Shipe 71db71b347 deposit modal 2021-04-09 21:26:34 -04:00
Tyler Shipe b5562c161c wip: wire up deposit withdraw modals 2021-04-09 10:27:49 -04:00