Commit Graph

776 Commits

Author SHA1 Message Date
tjs 0e880ffc54 swap form copy 2022-10-29 22:46:59 -04:00
tjs 356f2c63c2 orderbook fixes for mkts with different base tokens 2022-10-29 22:34:29 -04:00
tjs 1c4eddb48e more perp order stuff 2022-10-29 21:46:56 -04:00
tjs 420b0270da placeperporders 2022-10-29 21:17:14 -04:00
tjs 7c34ed0bcb use last slot when updating mango account 2022-10-29 21:17:14 -04: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 bb62181a1b prevent activity feed double load 2022-10-28 23:23:28 +11: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
saml33 147121363c fix modal rounded corners 2022-10-28 21:01:49 +11:00
saml33 ba7b7d852f disable deposit/withdraw when no account 2022-10-28 20:46:29 +11:00
tjs 4ef23e60ff url param to view other mango accounts 2022-10-27 16:58:58 -04:00
Maximilian Schneider 87c824033d Make not-swappable tokens visually distinct 2022-10-27 21:12:51 +02: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 555f5625eb fix leverage display on account summary 2022-10-26 14:11:31 +11:00
saml33 75653c2ed4 fix leverage display 2022-10-26 13:57:28 +11:00
saml33 2e7c850551 fix create account selection 2022-10-26 13:39:11 +11:00
saml33 40e7e2b770 fix bounce loader img src 2022-10-26 13:09:26 +11:00
saml33 befa7e9619 fix trade page borders 2022-10-26 13:01:45 +11:00
saml33 fb5a3b0e87 add book/trades tabs to mobile 2022-10-26 12:37:59 +11:00
saml33 57ea743db0 show zero balances mobile 2022-10-26 11:35:42 +11:00
saml33 25f42e4682 align tooltip bg to pop overs 2022-10-26 11:14:21 +11:00
saml33 11cf4d0542 intro tour background 2022-10-26 11:04:09 +11:00
saml33 84bcdded62 account value spacing 2022-10-25 22:22:24 +11:00
saml33 598cddaa83 back arrow mobile 2022-10-25 22:09:36 +11:00
saml33 a0a020f7aa mango account list modal errors 2022-10-25 20:53:50 +11:00
saml33 08505b09bc add back arrow 2022-10-25 20:42:51 +11:00
saml33 514dd63efc Merge branch 'main' into token-details 2022-10-25 20:26:59 +11:00
tylersssss d059de8c9a
Merge pull request #24 from blockworks-foundation/trade-page-heights
fix trade page component heights
2022-10-24 22:58:44 -04:00
tylersssss bb3c9b2b54
Merge branch 'main' into mango-accounts-modal 2022-10-24 17:34:13 -04:00
saml33 085fef1b52 add 404 page 2022-10-24 14:58:14 +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 c835b542cb update side nav font sizes 2022-10-24 11:43:47 +11:00
saml33 055c437877 add padding bottom 2022-10-24 10:04:08 +11:00
saml33 46a9b55ae0 fix trade page heights 2022-10-23 22:38:48 +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
tjs 7c75d04d52 load perp market 2022-10-10 22:16:41 -04:00
tjs a6aca2a30d use dynamic imports for recharts 2022-10-10 22:16:41 -04:00
tjs c1ec5558c6 remove get token info 2022-10-10 13:28:59 -04:00
saml33 99a255ad75 remove buy/sell from token actions 2022-10-10 21:15:20 +11:00
saml33 5f246b1454 add custom notification position 2022-10-10 14:07:35 +11:00
saml33 dc80b9d94b add spot markets to stats 2022-10-08 22:37:08 +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
saml33 18bc7921a0 truncate account name in summary 2022-10-08 19:53:47 +11:00
tjs 040c1a0a67 use react-query for swap chart 2022-10-07 19:39:06 -04:00
tjs 7ad023653f fix bug with modals 2022-10-07 18:27:36 -04:00
tjs 7d975b6407 fix deposit input issue 2022-10-07 16:02:11 -04:00
tjs 570d44d24a use main branch of client; update changes 2022-10-07 13:59:13 -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 40bf21992f add mango accounts list modal 2022-10-07 22:47:15 +11:00
saml33 84cff1613e change total interest value to total interest earned 2022-10-07 14:52:06 +11: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
tjs ebd0bc796c nvm 2022-10-06 22:10:15 -04:00
saml33 2c12e0bd57 remove market info from balances table 2022-10-07 12:57:47 +11:00
tjs 9f073e6b87 update acct leverage to match ftx calc 2022-10-06 21:08:08 -04: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
saml33 490d7feaeb reset performance and interest data on disconnect 2022-10-07 10:06:49 +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 8113371969 grouping dropdown bg color 2022-10-06 21:12:08 +11:00
saml33 b14e5c569a show interest chart button when value is > 1 2022-10-06 16:12:56 +11:00
saml33 6820d0e6e7 fix one-day change values 2022-10-06 16:11:28 +11:00
saml33 8374dfa1a7 format swap pair symbols 2022-10-06 13:23:31 +11:00
saml33 2e34511aee add jupiter logos to actions menu and format token symbol 2022-10-06 13:12:41 +11:00
saml33 ab6f7f8fde add jupiter logos to swap history mobile 2022-10-06 12:22:57 +11:00
saml33 d8f714e399 add jupiter logos to swap history 2022-10-06 12:16:29 +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 070f4839ed add balance button when swap margin is on 2022-10-05 22:25:26 +11:00
saml33 1cf389a2c3 add value to borrow/withdraw modal 2022-10-05 22:01:03 +11:00
saml33 0997bcc710 remove double border 2022-10-05 21:29:11 +11:00
saml33 2682141c93 add trigger delay to tooltips 2022-10-05 21:25:47 +11:00
saml33 c43569ae2d add one-day interest value change 2022-10-05 21:16:32 +11:00
saml33 f99763fb1b add one-day pnl change 2022-10-05 16:12:52 +11:00
saml33 f51ec0f112 update token list table text color 2022-10-05 15:53:52 +11:00
saml33 dbcad96f70 add leverage and total collateral to account page 2022-10-05 15:47:50 +11:00
saml33 d89328f2f4 add translation keys to onboarding tours 2022-10-05 14:35:54 +11:00
tjs 7a5c635e25 update tooltip 2022-10-04 23:31:21 -04:00
tjs cc2d32eced add leverage to account summary 2022-10-04 23:30:19 -04:00
tjs d3d803daca add total collateral 2022-10-04 22:45:06 -04:00
saml33 b04d9c7a6d add logos to unsettled funds 2022-10-05 13:03:45 +11:00
saml33 991057f0fa fix merge errors 2022-10-05 12:59:04 +11:00
tjs c56f11ceae remove console log 2022-10-04 14:17:18 -04:00
tjs a2394d2d28 shrink tooltip hit box 2022-10-04 14:17:18 -04:00
tjshipe 5ef7217469
Merge branch 'main' into jupiter-logos 2022-10-04 13:31:24 -04:00
tjshipe c0bb9ddcda
Merge branch 'main' into onboarding-tours 2022-10-04 13:23:29 -04:00
saml33 b16435441a mobile unsettled 2022-10-04 14:42:05 +11:00
saml33 bbc9e5681d mobile open orders 2022-10-04 14:19:27 +11:00
saml33 945cf94e56 mobile trade balances 2022-10-04 13:26:50 +11:00
saml33 f2fb05d718 add loading to settle funds 2022-10-04 11:59:25 +11:00
saml33 188905d2d1 add loading to cancel order 2022-10-04 11:47:32 +11:00
saml33 2cef2c160f add loading to place order 2022-10-04 10:26:12 +11:00
saml33 53cf3cced0 improve account info chart buttons 2022-10-04 09:45:46 +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
saml33 ae1994f14d add logos to trade form 2022-10-03 14:42:45 +11:00
saml33 95c5ef6bdf extract logos in marketlogos component 2022-10-03 14:14:26 +11:00
saml33 00aef2de4e merge main 2022-10-03 12:42:59 +11:00
saml33 da69b3c47b fix tooltip triggering 2022-10-03 11:55:01 +11:00
saml33 90dc83e0e9 only show reset button when active params 2022-10-03 10:47:21 +11:00
saml33 34ebab181e improve reset filters and missing translation keys 2022-10-02 22:21:09 +11:00
saml33 0faaa07bf3 add disclosure panel for small breakpoints 2022-10-01 22:36:39 +10:00
saml33 cff49ded6f merge main 2022-09-30 22:55:28 +10:00
saml33 bc55ef9204 mrege main 2022-09-30 22:39:38 +10:00
saml33 502b643d53 update date filter format 2022-09-30 22:31:22 +10:00
tjs 32578711b2 general refinements 2022-09-30 00:21:23 -04:00
saml33 363d7f116a update activity on account change 2022-09-30 13:51:22 +10:00
saml33 41b7af6cc2 add advanced filters 2022-09-30 13:22:55 +10:00
tjs fc933758dc slightly more room for balances 2022-09-29 16:27:11 -04:00
tjs 5d07a1d9b4 add minimum for cumulative size percent 2022-09-29 16:06:04 -04:00
tjs 511d5c9dbd add cummulative size percent 2022-09-29 16:00:36 -04:00
saml33 a04b7cc630 add basic filters 2022-09-29 13:35:34 +10:00
tjs 0b07ded8a5 add settle funds 2022-09-28 21:50:02 -04:00
tjs 9afe04bde7 add open orders count 2022-09-28 16:45:08 -04:00
tjs 6b737f03c7 support passing in a count to tabbuttons 2022-09-28 16:45:08 -04:00
tjs 255ace6c00 log breakpoint changes 2022-09-28 16:45:08 -04:00
tjs f68cbbc4d2 add try catch for recent trades 2022-09-28 16:45:08 -04:00
saml33 50aa9afc0c add mobile table 2022-09-28 23:04:58 +10:00
saml33 b6513b70d1 add activity details view 2022-09-28 16:17:06 +10:00
saml33 e81d048bee merge main 2022-09-28 13:55:22 +10:00
saml33 173e77bcb1 align explorer logo to column end 2022-09-28 13:13:49 +10:00
saml33 ac200c20b6 add preferred explorer 2022-09-28 13:07:26 +10:00
tjs a2ca52d09c create mangoprovider; add support for viewing other mangoaccounts 2022-09-27 14:47:56 -04:00
tjs d3468628be spot slider should return number 2022-09-27 14:47:56 -04:00
saml33 ab2749cea0 add basic table 2022-09-27 16:22:51 +10:00
saml33 ac812b6e1b change orderbook depth on mobile 2022-09-27 13:51:31 +10:00
saml33 330c734eb2 merge main 2022-09-27 12:22:45 +10:00
saml33 85fbd0593d vertically align open orders row 2022-09-27 11:31:16 +10:00
saml33 feb84dabe6 deconstruct marketinfo 2022-09-27 11:27:44 +10:00
saml33 311f1d56bd fix inlinePosition warning 2022-09-27 11:21:00 +10:00
saml33 512ba74009 add function to get logos from market 2022-09-27 11:19:27 +10:00
tjs bb50f35806 finish up spot slider 2022-09-26 15:56:06 -04:00
saml33 cd75f5c3f5 add logos to open orders 2022-09-26 21:53:49 +10:00
saml33 daf3d97dc1 open orders table 2022-09-26 21:33:07 +10:00
saml33 d25d088e09 add padding to market select menu 2022-09-26 16:18:33 +10:00
saml33 2a348b3f8c replace hex codes with color vars 2022-09-26 16:13:25 +10:00
saml33 feaf36e92d Revert "add save tradingview charts"
This reverts commit 6c4ad1ffb8.
2022-09-26 16:05:40 +10:00
tjs b44105f586 fix vertical centering orderbook 2022-09-26 16:03:41 +10:00
saml33 b6d0e9c9f5 Revert "fix vertical centering orderbook"
This reverts commit dc649f543c.
2022-09-26 15:59:40 +10:00
saml33 6c4ad1ffb8 add save tradingview charts 2022-09-26 15:35:55 +10:00
tjs dc649f543c fix vertical centering orderbook 2022-09-26 01:32:48 -04:00
tjs eb25465122 add market select logos 2022-09-25 23:12:37 -04:00
tjs a51ba82cd1 setup up market order calculation 2022-09-25 22:03:30 -04:00
tjs 109b312558 set fixed orderbook depth to max 40 2022-09-25 22:03:30 -04:00
tjs 029bc99c0a update open orders and balances on account change 2022-09-25 22:03:03 -04:00
tjs d57aa19533 remove publickey from trading view to prevent rerenders on connection 2022-09-25 22:03:03 -04:00
tjs a0e51c3a96 ignore test wallet 2022-09-25 22:03:03 -04:00
saml33 faf78be5df tooltip positioning 2022-09-26 10:37:04 +10:00
saml33 82ea8e6e56 align stats tooltip style 2022-09-24 22:28:11 +10:00
saml33 e39cb5ff6c add orderbook loader 2022-09-24 22:07:10 +10:00
saml33 45893804e6 merge main 2022-09-24 20:20:49 +10:00
saml33 90d78b76da add profile setup to onboarding 2022-09-23 23:37:44 +10:00
saml33 f5d83a4d9a add edit profile form component 2022-09-23 20:57:19 +10:00
saml33 5bb3c3e6e9 misc styling 2022-09-23 15:09:38 +10:00
saml33 22d6827702 add loading to close function 2022-09-23 14:43:55 +10:00
saml33 527a18930a fix trade page merge issue 2022-09-23 14:38:17 +10:00
saml33 8986660b55 merge main 2022-09-23 14:08:56 +10:00
saml33 9750b82e9c save hasSeen tour to db 2022-09-23 14:00:42 +10:00
tjs 22806d31a5 fix recent trade scrolling 2022-09-22 17:47:18 -04:00
tjs 661fed8ce9 refactor useTokenMax to fix regressions 2022-09-22 17:35:07 -04:00
saml33 545470cf1f add consistent tracking to font-mono class 2022-09-22 20:46:51 +10:00
saml33 e062db81b7 fix wallet connect crash 2022-09-22 20:23:34 +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 611399b2f5 style recent trades 2022-09-22 14:46:30 +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 5e997820eb resize layout after collapsing sidebar 2022-09-21 21:23:29 -04:00
saml33 03f07cef50 fix down triangle 2022-09-21 16:13:14 +10:00
saml33 169944c239 add edit profile 2022-09-21 15:31:54 +10:00
tjs cf7c06d9d2 fix vertical center 2022-09-21 01:22:50 -04:00
tjs 876270be28 cleanup 2022-09-20 21:20:26 -04:00
tjs 98bc6b8fce improve orderbook vertical centering 2022-09-20 21:20:26 -04:00
saml33 b5adfae658 add profile details to connected menu 2022-09-21 11:03:59 +10:00
tjs 3ad513c874 add recent trades 2022-09-20 16:05:50 -04:00
tjs da13e3a0b5 vertically center orderbook as window is resized 2022-09-20 14:31:17 -04:00
saml33 2b9ada9ebc remove double borders 2022-09-20 20:36:33 +10:00
saml33 7f697894e6 add health impact tooltip 2022-09-20 16:31:07 +10:00
saml33 59e08c09b5 add token list tooltips 2022-09-20 16:16:03 +10:00
saml33 1d86e19158 fire getTokenMax on connection 2022-09-20 15:33:59 +10:00
tjs 08ba8abd67 full height orderbook 2022-09-20 01:03:01 -04:00
saml33 d17874f87f merge main 2022-09-20 14:55:04 +10:00
saml33 dcd26ac1b6 update tab copy 2022-09-20 14:39:17 +10:00
saml33 da6c09aca2 account page tooltips 2022-09-20 13:12:34 +10:00
saml33 2806f0b940 improve swap mobile layout 2022-09-20 11:09:34 +10:00
tjs ff36519fe7 dont show limit input on market orders 2022-09-19 20:30:29 -04:00
tjs 2d59e2a448 anchor orderbook column headers 2022-09-19 20:27:06 -04:00
saml33 a49d28437b use percentagechange component in trade page header 2022-09-20 10:12:30 +10:00
saml33 56a24c0a8d add padding to account charts 2022-09-20 09:57:58 +10:00
tjs 9c592c53b3 add recent trades tab 2022-09-19 19:29:17 -04:00
tjs 219f80c34e memoize orderbook row 2022-09-19 19:26:30 -04:00
tjs 0950cbbbb8 add pnl back to account page 2022-09-19 19:14:58 -04:00
saml33 f15de620ee open orders empty states 2022-09-19 21:32:59 +10:00
saml33 637f14a8a3 fix swap empty states 2022-09-19 20:43:38 +10:00
saml33 01b1c8b331 align stats page layout 2022-09-19 16:26:42 +10:00
saml33 a2f83b527d orderbook layout 2022-09-19 15:36:09 +10:00
saml33 2b4f3410d2 align account page layout to swap/trade 2022-09-19 13:53:52 +10:00
saml33 953e2d2312 left-align orderbook size column 2022-09-19 12:25:31 +10:00
tjs 14f99ff0d6 font without slashed zero 2022-09-18 19:02:52 -04:00
saml33 2fea0ed266 add orderbook grouping ui 2022-09-18 22:53:28 +10:00
saml33 9d146f7b02 more trade layout 2022-09-17 23:03:46 +10:00
saml33 dd7dd9a00e inset expand nav button 2022-09-16 22:26:30 +10:00
saml33 fa08f0e819 align swap form elements 2022-09-16 21:37:24 +10:00
saml33 3c55bf5b59 mobile trade page 2022-09-16 20:49:10 +10:00
saml33 a2400638aa trade grid layout for lg, md 2022-09-16 13:40:30 +10:00
saml33 fd5b6ba60d trade grid layout for xl, xxl, xxl 2022-09-16 11:58:35 +10:00
saml33 9ed74880b2 align tabs to trade page 2022-09-15 16:06:23 +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
saml33 859169fd98 remove double borders from trade 2022-09-15 13:08:42 +10:00
saml33 9ab19e13cd align horizontal baseline 2022-09-15 12:41:55 +10:00
saml33 6e0d02c757 align connect button to edge 2022-09-15 11:17:15 +10:00
saml33 17b52d242d change copy on swap page to be swap oriented and rename files 2022-09-15 11:06:00 +10:00
saml33 6d901dd847 remove double borders from swap 2022-09-15 10:33:34 +10:00
saml33 94b4dfe9a0 add function for token max 2022-09-15 10:02:16 +10:00
tjs f6304e2910 undo some changes from my swap page refresh 2022-09-14 17:57:12 -04:00
tjs 2c69636a8a refactor swap token chart 2022-09-14 15:38:43 -04:00
tjs 9780a94ce1 Test matching swap page with advanced trade page 2022-09-14 15:38:25 -04:00
tjs 86d79a7541 allow maxwidth in tooltip props; add health tooltip to acct page 2022-09-14 11:30:02 -04:00
tjs b2e274938b fix ui tour routing 2022-09-14 11:02:10 -04:00
tjs 4270ad8d3b use latest client; fix merge conflicts 2022-09-14 10:52:18 -04:00
tjshipe 83dc98ad25
Merge branch 'main' into onboarding-tour 2022-09-14 10:11:13 -04:00
saml33 6dab2b74cf sort sell token list by max amount 2022-09-14 20:37:45 +10:00
tjs 007c3c2fa2 Merge branch 'serum' into main 2022-09-14 02:25:15 -04:00
tjs 84728b580b serum spot trade page 2022-09-14 02:24:44 -04:00
saml33 0ccaf19e40 leave 0.05 sol in wallet when max deposit sol 2022-09-14 11:05:42 +10:00
saml33 32af136ff8 fix toggle margin bug 2022-09-14 10:19:56 +10:00
saml33 d088d0b746 remove mangoAccount 2022-09-14 09:48:57 +10:00
saml33 8cdddf4288 re-add deposit size buttons to fund account 2022-09-13 21:58:00 +10:00
saml33 3d832bc300 improve mask positions 2022-09-13 21:27:04 +10:00
saml33 45358922d3 edit health check description 2022-09-13 21:11:52 +10:00
saml33 71d6d94278 stop tour from closing when clicking overlay 2022-09-13 20:58:07 +10:00
saml33 bd6a0e8ced use thin scroll on fund account 2022-09-13 16:21:19 +10:00
tjs c2f1f02829 use alias imports 2022-09-12 12:04:20 -04:00