Commit Graph

48 Commits

Author SHA1 Message Date
saml33 53e3f42ba1 remove scroll on position panel 2021-09-21 19:50:53 +10:00
saml33 3e1b872e42 align mobile tab headings 2021-09-20 22:24:42 +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
Tyler Shipe c1269298b9 use custom endpoint url 2021-09-13 17:14:59 -04:00
saml33 6d15756581 add rates to balances table 2021-09-06 21:51:18 +10:00
Tyler Shipe 221b6f06f5 Show negative balance when borrowing 2021-09-03 16:25:09 -04:00
Tyler Shipe d4f643aa02 remove source maps from prod 2021-09-03 12:14:11 -04:00
Tyler Shipe 1aead03db3 remove reloadMangoAccount after settlPnl 2021-09-03 11:54:12 -04:00
Tyler Shipe 4a145f5878 use latest client and only reload mango account after settling 2021-09-03 10:36:53 -04:00
Tyler Shipe a566e6795e fix inconsistent coloring 2021-09-03 03:00:59 -04:00
Tyler Shipe 21b11aaa80 rearrange title order 2021-09-03 02:41:53 -04:00
Tyler Shipe 5b8f4dd155 change interval time and add position market name 2021-09-03 02:39:37 -04:00
Tyler Shipe dbc66498a9 use abs value for notional value 2021-09-02 23:39:24 -04:00
Tyler Shipe c39e20a744 add loading indicator to settle pnl 2021-09-02 17:35:37 -04:00
Tyler Shipe 6833602681 fix balance rounding issue in market balances 2021-09-01 14:43:27 -04:00
Tyler Shipe 6820ac854f update market position faster for perp accounts 2021-08-31 19:28:39 -04:00
Tyler Shipe 7aa7feadb0 Use latest client to fix rounding issues 2021-08-29 15:15:37 -04:00
Tyler Shipe 63e151f516 prevent useOrderbook from updating during market change
fixes white screen error
2021-08-27 20:15:25 -04:00
Tyler Shipe 2ecd1b2122 perp market close position button 2021-08-26 11:58:13 -04:00
saml33 f6ad6fbc56 update close position modal button text 2021-08-26 11:08:21 -04:00
saml33 04904203b0 add market close 2021-08-26 11:08:21 -04:00
saml33 e6c1cfca08 balance rounding in balances panel 2021-08-24 20:09:42 +10:00
Tyler Shipe 9c75a0dbd2 add available balance tooltip; update client for market margin available fix 2021-08-23 15:46:29 -04:00
Tyler Shipe de052ace29 add collateral available and market margin available 2021-08-23 15:35:59 -04:00
Tyler Shipe 1e45e2cc03 use maxWithBorrows amount if maxWithoutBorrows is greater 2021-08-23 14:36:02 -04:00
saml33 246ac3d385 account page tweaks 2021-08-24 00:14:03 +10:00
saml33 a4da1f6272 use balance instead of deposits/borrows 2021-08-22 12:59:54 +10:00
saml33 b8a5b06ef2 market header loaders 2021-08-21 23:02:51 +10:00
saml33 af8db468bf fix position panel padding 2021-08-21 22:11:14 +10:00
saml33 5cc4719ef8 fix panel layout 2021-08-21 11:42:59 +10:00
dd 1b5cac89a1 fixed getPnl and settlePnl functions and updated client 2021-08-20 16:39:44 -04:00
saml33 51741bc9a3 loading states for connect wallet 2021-08-20 23:17:02 +10:00
saml33 cbd0e0b934 fill trade size from position size 2021-08-20 21:51:29 +10:00
Tyler Shipe deda8e58d6 position display tweaks 2021-08-17 17:01:00 -04:00
Tyler Shipe 8da8d0d973 handle when mango group isn't loaded 2021-08-17 11:10:32 -04:00
Tyler Shipe 6d5dbd8265 high side bade if no perp position 2021-08-16 18:40:56 -04:00
Tyler Shipe 1917ba41c7 reuse tooltip for settle pnl 2021-08-16 17:35:16 -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
Tyler Shipe 9c1f8edf20 rename positions table; fix rounding issues 2021-08-15 13:06:52 -04:00
saml33 df6e97763a format usd values and small ui fixes 2021-08-15 23:31:59 +10:00
Tyler Shipe 5f5c703c5d wire up positions box 2021-08-14 16:05:31 -04:00
Tyler Shipe d4927731ee add breakeven and avg open price 2021-08-14 14:16:15 -04:00
saml33 7f53a44345 add name account ui 2021-07-24 21:49:18 +10:00
saml33 a5c643ab56 improve spot balances panel layout 2021-07-22 22:25:18 +10:00
saml33 d0797bf194 connect wallet empty states 2021-07-22 21:34:03 +10:00
Tyler Shipe 5077b5f182 add temp deposit withdraw buttons 2021-07-21 12:34:59 -04:00
saml33 ce0eeffac0 add additional spot/perp data to trade page 2021-07-21 11:56:45 -04:00