Commit Graph

151 Commits

Author SHA1 Message Date
tjs d8f6153eab more improvements to open orders displayed in orderbook 2023-02-21 23:29:25 -05:00
saml33 e5f39c5b08 disable tooltips on mobile interactive elements 2023-02-14 15:39:30 +11:00
saml33 23041e9d9b hide text when loading on mobile trade button 2023-02-14 09:49:59 +11:00
saml33 5388035d33 handle swap reduce only 2023-02-09 11:31:53 +11:00
saml33 1231a0be44 fix trade success animation for trade 2023-01-20 22:03:31 +11:00
tjs 458a70fc9d perp market close modal 2023-01-19 21:14:51 -05:00
tjs f1db6f2de8 trade page breakpoint fixes 2023-01-19 16:25:19 -05:00
tjs a3f1edd457 fix min decimals in trade form 2023-01-19 16:01:46 -05:00
tjs 3bc8b87830 fix localstorage default key typo 2023-01-19 15:41:11 -05:00
tjs 3a59e73416 only show reduce only for perps 2023-01-16 23:16:25 -05:00
tjs 41e8172581 add reduce only to perp trade form 2023-01-16 23:00:42 -05:00
tjs 23fc84b202 fix reduce only bug; better acct loading; increase ob depth 2023-01-16 16:09:21 -05:00
saml33 8736d7991e add useMargin to max trade size button 2023-01-16 14:58:01 +11:00
tjs 58a113b7cc handle use margin checkbox for serum trade form 2023-01-15 00:52:22 -05:00
tjs 38a3db06df refactor to use hook useSelectedMarket 2023-01-15 00:01:30 -05:00
tylersssss c3f107820e
Merge branch 'main' into trade-success-animation 2023-01-11 13:11:03 -05:00
saml33 02e3e6d132 fix country not allowed button 2023-01-06 21:55:51 +11:00
saml33 209de8a666 repay and withdraw formatting and sol balance warning spacing 2023-01-06 20:14:54 +11:00
saml33 9e45571b51 add swap to token list actions 2023-01-05 13:50:36 +11:00
saml33 dbe1e4c6f4 pass step to spot slider 2023-01-05 12:09:43 +11:00
saml33 b2257d2ca1 add active connect buttons 2023-01-03 22:06:37 +11:00
saml33 3c91bbf1ef add swap success animation to trade 2023-01-02 23:19:30 +11:00
tjs 740adad921 disable trade form button if size field is empty 2022-12-30 14:50:59 -05:00
saml33 ea2ef43b41 move leverage calculation to components 2022-12-26 22:58:17 +11:00
saml33 201a8ad62a trade form ux improvements 2022-12-22 15:19:00 +11:00
Adrian Brzeziński 2ef6070991 do not use translated values in settings fix 2022-12-21 23:33:26 +01:00
tjs 71b962826e more horizontal overflow fixes 2022-12-20 00:58:55 -05:00
tjs 216164b47c remove scrollbar on trade page 2022-12-20 00:20:06 -05:00
tjs e5611ecb2a possible fix for trade page bug 2022-12-19 18:30:26 -05:00
tjs f3080cb27f add geo check to trade forms 2022-12-19 16:58:29 -05:00
Christian Kamm 996748eb94 Fix health impact for spot bids 2022-12-19 22:49:02 +01:00
tjs 2dbc11f736 fix sim health ratio 2022-12-19 10:53:49 -05:00
tjs 3538d22b87 upgrade to latest client 2022-12-16 12:30:46 -05:00
saml33 3f203ef14d round initial limit price to ticksize 2022-12-16 16:12:10 +11:00
saml33 711c9420ed fix logo sizes 2022-12-16 15:45:01 +11:00
Adrian Brzeziński 279e521918 fix openOrders reload 2022-12-15 02:07:48 +01:00
tjs 1f7c6667f7 update fn name to better describe functionality and return value 2022-12-14 16:24:08 -05:00
tjs 49001d5ae8 handle updating price for tradeForm when on limit vs market order 2022-12-14 15:54:30 -05:00
tjs 822daf2f9f check that form values are numbers 2022-12-14 13:48:13 -05:00
tjs 4875c77c53 ooops 2022-12-14 11:42:07 -05:00
tjs 0df4b365eb fix perp form error when projecting health 2022-12-14 11:40:43 -05:00
saml33 01f1d6d95a update quote size on orderbook click and market order 2022-12-14 14:53:06 +11:00
tjs 70a83a3f27 fix trade form logos 2022-12-09 19:33:27 -05:00
tjs b03b6fb9a8 update to latest group 2022-12-08 14:58:54 -05:00
saml33 f4871fe8d2 tweak trade form spacing 2022-12-08 22:55:31 +11:00
saml33 3e159261e6 move howl outside components 2022-12-08 16:05:36 +11:00
saml33 738420799c remove token image rounding 2022-12-08 14:17:24 +11:00
saml33 300f481ecf add input theme colors 2022-12-08 13:34:24 +11:00
tjs 1674f9a237 fix types and add check that input size is a number 2022-12-02 18:58:10 -05:00
saml33 4660d04041 add order value to trade form 2022-12-02 13:16:59 +11:00
saml33 3c53b876f0 add slippage component 2022-12-02 10:38:41 +11:00
saml33 a9526cff9e merge main 2022-12-02 10:14:10 +11:00
saml33 209490752c better var names and hsl colors 2022-12-01 14:32:32 +11:00
saml33 f9f86b529d add slippage to trade form 2022-11-25 21:10:23 +11:00
saml33 37df58f959 use settings for slider or buttons to swap 2022-11-23 14:31:50 +11:00
saml33 c1cc7e1cf7 round pre-filled limit price to tick size 2022-11-23 11:57:54 +11:00
saml33 201c9a823a add token logo to limit price input 2022-11-23 10:49:42 +11:00
tjs eb3d915916 wip: add unsettled perp 2022-11-20 21:29:54 -05:00
tjs 372fe381d1 fix trade form; more eslint refactor 2022-11-20 18:35:59 -05:00
tjs 6b4c1d9f7e improve advanced trade sliders 2022-11-19 20:40:06 -05:00
tjs 561eba493b fix all eslint errors 2022-11-19 14:20:36 -05:00
tjs 203c571bc5 use jupiter api and hooks 2022-11-18 18:19:04 -05:00
saml33 777e020648 add low sol balance warnings 2022-11-18 15:43:23 +11:00
tjs 27f821c51c simplify balance click feature 2022-11-17 17:47:22 -05:00
tjs 7b48469827 patch merge issues 2022-11-17 17:08:45 -05:00
saml33 8bd4d2e976 fix market price 2022-11-17 20:17:58 +11:00
saml33 332dacbad3 populate trade form from balances table 2022-11-16 16:09:55 +11:00
saml33 4a368e2514 add buttongroup to trade form 2022-11-16 12:32:55 +11:00
saml33 7041b3b4d1 fix trade page responsive 2022-11-14 21:18:38 +11:00
saml33 c1254c9186 add health impact to trade form 2022-11-04 18:55:21 +00:00
Adrian Brzeziński 9ab04649c2 fix bad input display value display in trade form 2022-11-02 17:09:22 +00:00
tjs 7f1461123d show perp open orders 2022-10-31 18:26:17 +00:00
tjs 7d15e8e798 better is number check 2022-10-31 16:39:43 +00:00
tjs 356f2c63c2 orderbook fixes for mkts with different base tokens 2022-10-29 22:34:29 -04:00
tjs 420b0270da placeperporders 2022-10-29 21:17:14 -04:00
tjs 818bbc0252 fix zustand nextjs 13 issues 2022-10-28 17:46:38 -04:00
tjs 9269b4e18f fix yarn.lock, undo next upgrade 2022-10-28 15:24:05 -04:00
tjs a118d18564 use legacy next/image 2022-10-26 16:01:31 -04:00
saml33 37074e5431 add tab underline component 2022-10-26 15:44:09 +11:00
tjs 7c75d04d52 load perp market 2022-10-10 22:16:41 -04:00
tjshipe c0bb9ddcda
Merge branch 'main' into onboarding-tours 2022-10-04 13:23:29 -04:00
saml33 2cef2c160f add loading to place order 2022-10-04 10:26:12 +11:00
saml33 771c410bc9 add trade page translation file 2022-10-03 21:38:05 +11:00
saml33 ae1994f14d add logos to trade form 2022-10-03 14:42:45 +11:00
saml33 cff49ded6f merge main 2022-09-30 22:55:28 +10:00
tjs 6b737f03c7 support passing in a count to tabbuttons 2022-09-28 16:45:08 -04:00
tjs bb50f35806 finish up spot slider 2022-09-26 15:56:06 -04:00
tjs a51ba82cd1 setup up market order calculation 2022-09-25 22:03:30 -04:00
saml33 45893804e6 merge main 2022-09-24 20:20:49 +10:00
saml33 5bb3c3e6e9 misc styling 2022-09-23 15:09:38 +10:00
saml33 8986660b55 merge main 2022-09-23 14:08:56 +10:00
saml33 545470cf1f add consistent tracking to font-mono class 2022-09-22 20:46:51 +10:00
saml33 bd687aa952 add bottom border to trade form tabs 2022-09-22 15:32:48 +10:00
saml33 f62955bf76 use tab component orderbook and trade form 2022-09-22 15:28:53 +10:00
saml33 f5abb4d381 add tours and copy 2022-09-22 14:25:24 +10:00
tjs 3ba6ce77dc wip: spot slider 2022-09-21 21:52:36 -04:00
tjs ff36519fe7 dont show limit input on market orders 2022-09-19 20:30:29 -04:00
saml33 3c55bf5b59 mobile trade page 2022-09-16 20:49:10 +10:00
saml33 0ae2912cb9 misc styling 2022-09-15 14:51:19 +10:00
saml33 e42e4db58a style trade form 2022-09-15 14:12:00 +10:00