Commit Graph

387 Commits

Author SHA1 Message Date
tjs 1ff61d3318 check for unsettled and inorders in balances 2023-01-02 15:43:31 -05:00
saml33 3c91bbf1ef add swap success animation to trade 2023-01-02 23:19:30 +11:00
tylersssss 49bf8a7a76
Merge pull request #43 from blockworks-foundation/trade-form-ux
trade form ux improvements
2022-12-29 00:49:16 -05:00
saml33 d1b2bf5c87 add withdraw context to borrow 2022-12-29 11:45:09 +11:00
saml33 48e8b2ecb9 fix modal heights and align inline notification position 2022-12-27 23:07:02 +11:00
saml33 201a8ad62a trade form ux improvements 2022-12-22 15:19:00 +11:00
saml33 39cf4b9411 improve account page on mobile 2022-12-21 22:07:17 +11:00
saml33 b2bb1b685b horizontal scroll trade tabs on overflow 2022-12-21 15:04:08 +11:00
saml33 dff0df6c8b remove unwanted border 2022-12-21 14:48:06 +11:00
saml33 da1ea7c5ce give open orders more horizontal space on mobile 2022-12-21 14:11:38 +11:00
saml33 20502bcd14 improve user setup on mobile 2022-12-21 12:14:35 +11:00
saml33 3df2f06fd6 full screen modals on mobile 2022-12-21 10:14:01 +11:00
saml33 2d75701050 align trade history table styles 2022-12-20 11:42:13 +11:00
tjs 2901cc804f add back token vault balance warning 2022-12-19 19:09:06 -05:00
tjs e9b9342325 add time and maker side to perp trade history 2022-12-19 12:41:11 -05:00
tjs b5a10b8909 show successful tx for 10 secs 2022-12-18 16:06:05 -05:00
tjs 6051f64215 clear opposite swap input when clicking on a balance 2022-12-18 14:44:02 -05:00
tjs 0600070db3 faster swap transition 2022-12-16 12:32:01 -05:00
tjs 6eb2d8b199 fix swap page balance click to prefill 2022-12-16 12:30:46 -05:00
saml33 82cefb7137 add theme switcher 2022-12-16 22:26:42 +11:00
saml33 4fd02a4014 finish delegate modal 2022-12-16 14:16:05 +11: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 5095f5534b fix detailed area chart fill gradient 2022-12-13 22:23:54 -05:00
tylersssss 0fbafa9c07
Merge pull request #37 from blockworks-foundation/new-font-expanded
New font expanded
2022-12-13 22:23:35 -05:00
saml33 0013266d3a fix spacing 2022-12-14 13:23:01 +11:00
saml33 52a5c08292 token stats chart height 2022-12-14 12:25:30 +11:00
saml33 30b86aaa23 merge main 2022-12-14 10:16:50 +11:00
saml33 e2e08fe829 use expanded font for large numbers 2022-12-13 22:05:01 +11:00
saml33 ece65c9b7d remove expanded font 2022-12-13 16:20:45 +11:00
saml33 d6747c88ed tt commons font poc 2022-12-13 12:51:26 +11:00
saml33 776c581c75 update copy and icon 2022-12-12 10:21:40 +11:00
saml33 255a6ff73d remove console.log 2022-12-11 21:12:54 +11:00
saml33 fda8dac2b2 handle empty token/stats api data 2022-12-11 21:10:11 +11:00
tjs e0af9766c5 fix LogoWithFallback 2022-12-09 18:08:15 -05:00
tjs a9716a2181 add LogoWithFallback 2022-12-09 17:58:49 -05:00
saml33 536939df1c style dashboard 2022-12-09 14:07:28 +11:00
saml33 084c945bd4 add borrow tooltips to swap review 2022-12-09 10:42:55 +11:00
tjs 6696594cdb add dashboard 2022-12-08 17:13:06 -05:00
saml33 f4871fe8d2 tweak trade form spacing 2022-12-08 22:55:31 +11:00
saml33 17156fd87f move swap borrow amount info 2022-12-08 22:15:16 +11:00
tjs 20af1810b0 wip: perp position settle funds 2022-12-08 01:47:32 -05:00
tjs b53c4830f9 use new funding rate api endpoint
fix balance underline; simplify health impact by removing confusing parenthesis
2022-12-07 22:24:18 -05:00
saml33 6c58288995 handle null values in chart 2022-12-08 10:19:18 +11:00
tjs 41223e846c allow setting the amount out in jupiter swap 2022-12-07 16:33:38 -05:00
saml33 4088011a71 fix chart font size 2022-12-07 09:52:36 +11:00
saml33 7b58e9ce6d add token stats charts 2022-12-06 22:58:22 +11:00
saml33 5102129a49 add total deposit/borrow value charts 2022-12-06 14:23:22 +11:00
saml33 8dd1363212 olive and high contrast theme 2022-12-05 21:59:56 +11:00
saml33 1768483ca1 use theme css vars instead of hardcoded rgba 2022-12-04 20:21:32 +11:00
saml33 e553b07dbd more theme color changes 2022-12-02 22:28:46 +11:00
saml33 4660d04041 add order value to trade form 2022-12-02 13:16:59 +11:00
saml33 a9526cff9e merge main 2022-12-02 10:14:10 +11:00
saml33 2b27464d6e use select for theme selection 2022-12-01 16:21:28 +11:00
saml33 4af775a1c3 use new theme vars 2022-12-01 14:46:37 +11:00
saml33 209490752c better var names and hsl colors 2022-12-01 14:32:32 +11:00
saml33 02495833e5 filter by spot market base 2022-11-30 16:30:18 +11:00
saml33 443858dc36 add market favorites 2022-11-30 15:01:55 +11:00
saml33 44022ae602 token vault balance warnings 2022-11-27 23:36:12 +11:00
saml33 f9f86b529d add slippage to trade form 2022-11-25 21:10:23 +11:00
saml33 75f2fd720b componentize settings page 2022-11-25 13:39:14 +11:00
saml33 c355c3c13a add setting for number scroll 2022-11-24 13:30:20 +11:00
saml33 37df58f959 use settings for slider or buttons to swap 2022-11-23 14:31:50 +11:00
saml33 973e72ca2e round balance table click to minordersize/ticksize 2022-11-23 12:45:26 +11:00
saml33 890c9f23aa open orders mobile 2022-11-23 10:43:25 +11:00
saml33 51fde8723a interest earned rounding 2022-11-22 16:14:35 +11:00
tjs 529709f30e slightly better error messages 2022-11-21 17:06:40 -05:00
saml33 378c86ef8b open orders mobile styling 2022-11-21 21:37:31 +11:00
saml33 e83e26c17d align balance table formatting to token list 2022-11-21 16:01:44 +11:00
tjs 372fe381d1 fix trade form; more eslint refactor 2022-11-20 18:35:59 -05:00
tjs cb0b90dfb5 refactor to use mango group hook 2022-11-20 15:32:38 -05:00
tjs 2608a661e5 refactor to use selected market hook 2022-11-20 15:20:27 -05:00
saml33 aa244735b1 use $ value for chart change 2022-11-20 22:23:23 +11:00
saml33 7f57e59f44 use table components 2022-11-20 21:44:14 +11: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
tjs 5727d0bc7f add a useMangoAccount hook 2022-11-18 12:09:39 -05:00
tjs 185ab4748b revert to coingecko for swap and prices.
we'll use birdeye only for candles
2022-11-18 11:29:37 -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 1de3e4756e render Balances component 2022-11-17 17:28:02 -05:00
tjs 1d95b280e2 update balances table name to be clearer 2022-11-17 17:16:45 -05:00
tjs 7b48469827 patch merge issues 2022-11-17 17:08:45 -05:00
tylersssss 6c95cf19fb
Merge pull request #29 from blockworks-foundation/trade-balance-click
populate trade form from balances table
2022-11-17 16:51:08 -05:00
tylersssss 95df906a76
Merge branch 'main' into repay-modal 2022-11-17 16:47:27 -05:00
saml33 8bd4d2e976 fix market price 2022-11-17 20:17:58 +11:00
saml33 c4e55e2a7e fix low sol balance warning 2022-11-17 14:51:08 +11:00
saml33 c9b94f4e55 fix modals 2022-11-17 13:18:50 +11:00
saml33 903884b732 add sol balance hook 2022-11-17 12:53:33 +11:00
tjs e33592fb77 use latest headlessui modal layout 2022-11-16 10:23:44 -05:00
saml33 41e1c16fea add repay borrow modal 2022-11-16 23:14:53 +11:00
saml33 332dacbad3 populate trade form from balances table 2022-11-16 16:09:55 +11:00
tylersssss f78ebae5c8
Merge branch 'main' into use-birdeye-api 2022-11-14 19:59:21 -05:00
saml33 7041b3b4d1 fix trade page responsive 2022-11-14 21:18:38 +11:00
saml33 2650622fe3 add health impact tooltip 2022-11-14 15:56:18 +11:00
saml33 fca7d81dda merge main 2022-11-14 09:57:19 +11:00
saml33 8a6706e142 merge main 2022-11-11 22:39:14 +11:00
saml33 28c0fed1c7 use birdeye for serum market price history 2022-11-05 18:13:24 +00:00
saml33 c1254c9186 add health impact to trade form 2022-11-04 18:55:21 +00:00
saml33 68226acaa0 balances empty state 2022-11-04 13:14:50 +00:00
saml33 bdbad18b9f Merge branch 'main' into onboarding-redesign 2022-11-02 16:24:54 +00:00
saml33 4383fefd1f add copy account address 2022-11-02 15:50:03 +00:00
saml33 f3dc836b0a redirect to account page on new account 2022-11-02 12:58:40 +04:00
saml33 e6ff01a1df clear all notifications 2022-11-02 10:53:26 +04:00
saml33 de32ecd586 basic layout 2022-11-02 08:41:12 +04:00
tjs 9e885f10bb show users order in orderbook 2022-11-01 18:13:02 +00:00
tjs 19e5f2ecb6 fix perp side badge 2022-11-01 15:54:29 +00:00
tjs 7f1461123d show perp open orders 2022-10-31 18:26:17 +00:00
tjs 5f61ad117b use selected explorer from settings 2022-10-31 16:39:33 +00:00
tjs 34e904f9f8 remove logs 2022-10-31 16:39:17 +00:00
saml33 8254602691 icon button sizes 2022-10-29 22:38:40 +11:00
saml33 cc2d7bcbf1 icon button hover 2022-10-29 21:56:04 +11: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
tylersssss 8ce855dc65
Merge branch 'main' into token-details 2022-10-28 12:46:57 -04:00
saml33 6341d3469c clear activity feed on disconnect 2022-10-28 21:42:23 +11:00
saml33 803ae988d6 fix custom notification position 2022-10-28 21:18:42 +11:00
tjs a118d18564 use legacy next/image 2022-10-26 16:01:31 -04:00
tjs a7cfbbe084 update next/link 2022-10-26 16:01:02 -04:00
saml33 0c6832c02f add tabs to market selector 2022-10-26 21:49:05 +11:00
saml33 37074e5431 add tab underline component 2022-10-26 15:44:09 +11:00
saml33 f683b6e740 update secondary button border color 2022-10-26 14:23:46 +11:00
saml33 40e7e2b770 fix bounce loader img src 2022-10-26 13:09:26 +11:00
saml33 25f42e4682 align tooltip bg to pop overs 2022-10-26 11:14:21 +11:00
saml33 e15305aae6 fix errors 2022-10-24 12:43:07 +11:00
saml33 93a3109f84 Merge branch 'main' into token-details 2022-10-24 11:47:05 +11:00
saml33 6d85da0ab5 misc styling 2022-10-22 23:14:25 +11:00
saml33 d942a990fb add price chart 2022-10-21 23:54:18 +11:00
saml33 db4317400d add token details page 2022-10-11 22:59:01 +11:00
saml33 5f246b1454 add custom notification position 2022-10-10 14:07:35 +11:00
saml33 67ef7d626b fix change font size 2022-10-08 21:22:31 +11:00
saml33 bf17fe1374 notification styling 2022-10-08 21:15:03 +11:00
tjs 7d975b6407 fix deposit input issue 2022-10-07 16:02:11 -04:00
microwavedcola1 72e4808141 match mango-v4 dev branch
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-10-07 14:27:42 +02:00
saml33 832582f46c add values to swap/trade balances table 2022-10-07 14:44:18 +11:00
saml33 1bcde660b3 account, swap and trade tabs 2022-10-07 14:16:11 +11:00
saml33 2c12e0bd57 remove market info from balances table 2022-10-07 12:57:47 +11:00
saml33 86f5411cb3 darken modal overlay blur 2022-10-07 10:56:34 +11:00
saml33 642d907a7a flip chart gradient for negative declining values 2022-10-07 10:45:30 +11:00
tjshipe 0b3594f036
Merge branch 'main' into activity-feed 2022-10-06 17:54:31 -04:00
saml33 e053f57c2f tooltip positioning 2022-10-06 23:08:29 +11:00
saml33 6820d0e6e7 fix one-day change values 2022-10-06 16:11:28 +11:00
saml33 ab6f7f8fde add jupiter logos to swap history mobile 2022-10-06 12:22:57 +11:00
saml33 9f7518ffed align pop over bg colors 2022-10-06 11:04:16 +11:00
saml33 1fbd948e30 add missing font-mono classes 2022-10-06 10:14:11 +11:00
saml33 706de963af add max amount button component 2022-10-06 10:03:10 +11:00
saml33 b16435441a mobile unsettled 2022-10-04 14:42:05 +11:00
saml33 771c410bc9 add trade page translation file 2022-10-03 21:38:05 +11:00
saml33 bf40157afe add count to unsettled and styling 2022-10-03 16:42:28 +11:00
saml33 fcbe08a6ba update orders on account change and disconnect 2022-10-03 15:38:49 +11:00