Commit Graph

61 Commits

Author SHA1 Message Date
Tyler Shipe 361268c751 fix: bugs when changing state with new order types 2021-10-11 14:02:20 -04:00
Maximilian Schneider 93abdab9f6 Merge remote-tracking branch 'origin/main' into max/stoploss 2021-10-05 23:02:01 +02:00
saml33 dbbb415060
Default market settings (#45)
* add default market settings to settings modal

* redirect to default market
2021-10-01 12:05:42 +02:00
saml33 659e48c99f mobile styles for new features 2021-09-26 23:20:51 +10:00
saml33 0469b17847 add flip card to tradeform 2021-09-24 22:24:17 +10:00
saml33 615e858cab add maker/taker fees back to trade form 2021-09-21 10:08:38 +10:00
saml33 e1f4a9baf8 revert market position key 2021-09-20 15:00:02 +10:00
saml33 9123e63344
Trade page mobile (#35)
* mobile styles for chart, position, account

* mobile styles for trade form

* trade page mobile styles

* tab layout

* fix unknown property fill-rule

* test swipeable tabs

* fix container height

* fix orderbook mobile styles

* account page mobile styles

* fix swipeable container height

* stats page mobile styles
2021-09-20 02:36:02 +02:00
saml33 50380107cf improve balances table 2021-09-05 16:50:16 -04:00
rjpeterson 531720b290 inital conversion from v2 2021-08-30 11:24:01 +08:00
saml33 04904203b0 add market close 2021-08-26 11:08:21 -04:00
saml33 a4da1f6272 use balance instead of deposits/borrows 2021-08-22 12:59:54 +10:00
saml33 5cc4719ef8 fix panel layout 2021-08-21 11:42:59 +10:00
Tyler Shipe b8c203de74 move deposit withdraw button higher 2021-08-17 13:32:12 -04:00
Tyler Shipe 00a85cded2 Merge in styling changes 2021-08-16 13:00:43 -04:00
saml33 d7692f88cf move buttons to margininfo panel 2021-08-16 23:31:25 +10:00
saml33 df6e97763a format usd values and small ui fixes 2021-08-15 23:31:59 +10:00
Tyler Shipe d4927731ee add breakeven and avg open price 2021-08-14 14:16:15 -04:00
Tyler Shipe 96b50431ca add redeem all mngo button 2021-08-04 14:31:32 -04:00
Tyler Shipe 1f73cfbd7a merge 2021-07-26 09:44:21 -04:00
Tyler Shipe 8207659bb1 cleanup 2021-07-23 13:07:31 -04:00
saml33 a5c643ab56 improve spot balances panel layout 2021-07-22 22:25:18 +10:00
Tyler Shipe 5c48d96775 don't try load market before group is loaded 2021-07-21 13:40:42 -04:00
Tyler Shipe 5077b5f182 add temp deposit withdraw buttons 2021-07-21 12:34:59 -04:00
Tyler Shipe c6886c884e fix size of margininfo pane 2021-07-21 12:07:15 -04:00
saml33 ce0eeffac0 add additional spot/perp data to trade page 2021-07-21 11:56:45 -04:00
Tyler Shipe 1a98657c7f simplify margin balances on trade page 2021-07-19 13:13:03 -04:00
Tyler Shipe 48ba367384 reset grid local storage key 2021-07-18 13:44:01 -04:00
Tyler Shipe 8d4dabb6d0 add spot trade history fills and raw health score 2021-06-20 15:11:36 -04:00
Tyler Shipe 054cc5c82e remove console logs and fetch all markets 2021-06-18 18:38:09 -04:00
Tyler Shipe 3df663614a use imported mangoClient in trade form; display userInfo component 2021-06-18 11:17:49 -04:00
Maximilian Schneider 12b69398d2 make bids & asks invariant between perp & spot, also reenable trade form 2021-06-17 18:37:03 -04:00
Maximilian Schneider 4d3dae3b1a load order books both from perp & spot 2021-06-17 17:07:10 -04:00
Tyler Shipe cb331fb2c7 comment out stuff in the ui so it works 2021-06-16 21:50:16 -04:00
Tyler Shipe 4476a2254e rebate gui hoster fees to users 2021-06-12 13:46:06 -04:00
Tyler Shipe f3a86a5a0c combine quote currency balances now that we're showing all markets 2021-06-09 11:52:32 -04:00
Tyler Shipe eac4adc18f add main action buttons below balances 2021-06-05 12:14:34 -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
saml33 9755666be9
remove scrollbar from balanceinfo panel (#13) 2021-05-22 21:51:15 +03:00
Tyler Shipe 9cc7eaf559 increase grid columns 2021-05-02 00:33:27 -04:00
saml33 23220e3555 trigger set alerts modal from margininfo 2021-05-02 00:02:21 +10:00
saml33 dbf6e7087f layout toggle for orderbook 2021-04-26 22:53:27 +10:00
Tyler Shipe aa389c15fc reduce left side padding 2021-04-24 18:23:01 -04:00
saml33 e1186840b2 button to reset layout and added time to trade history 2021-04-22 22:33:35 +10:00
Tyler Shipe ea015a4dc9 fix saved grid layout and add formatting for some large nums 2021-04-17 20:04:18 -04:00
Tyler Shipe 2ce9d53b7c oops 2021-04-16 17:54:46 -04:00
Tyler Shipe fc6f642bde Fix local storage for layout on first load 2021-04-16 17:40:20 -04:00
Tyler Shipe 80c8ba512a persist layout to local storage 2021-04-16 16:17:33 -04:00
saml33 f66710f14a font styling 2021-04-16 21:50:56 +10:00
Tyler Shipe faa466ca17 prevent extra rerenders 2021-04-15 02:16:36 -04:00