Commit Graph

424 Commits

Author SHA1 Message Date
tylersssss f0db2495fe
Merge branch 'main' into daily-pnl-history 2023-01-18 19:05:21 -05:00
saml33 4646393602 merge main 2023-01-18 22:44:11 +11:00
saml33 7107b91ad1 fix swap history amounts and improve columns 2023-01-18 22:34:25 +11:00
saml33 9d8f804b75 fix token logo symbol matching 2023-01-18 22:18:57 +11:00
saml33 7fab02c1ba merge main 2023-01-18 21:56:06 +11:00
saml33 adeb08daeb finish swap history pagination 2023-01-18 21:36:45 +11:00
saml33 2c12f5c5ea add daily pnl history 2023-01-16 16:13:34 +11:00
Adrian Brzeziński 5f6bdf0948 fix ata creation for middle mints 2023-01-15 14:15:35 +01:00
Adrian Brzeziński db8f1bcc77 review fixes 2023-01-15 02:05:45 +01:00
Adrian Brzeziński c96fe8a739 Revert "Revert "Merge pull request #56 from blockworks-foundation/feature/mango-router""
This reverts commit 774219cadd.
2023-01-14 21:16:01 +01:00
tylersssss 448fdfa3e3
Merge pull request #63 from blockworks-foundation/flip-swap-chart
allow flip swap chart prices
2023-01-14 14:03:24 -05:00
saml33 3ea84c32ae fix swap minimum received 2023-01-14 23:41:30 +11:00
saml33 c7187748d5 allow flip swap chart prices 2023-01-13 15:26:07 +11:00
tjs 17d606be9c prevent chart rerenders on swap form amount changes 2023-01-12 15:46:30 -05:00
tylersssss 774219cadd Revert "Merge pull request #56 from blockworks-foundation/feature/mango-router"
This reverts commit aa46e5f998.
2023-01-12 14:39:19 -05:00
tylersssss aa46e5f998
Merge pull request #56 from blockworks-foundation/feature/mango-router
use mango router
2023-01-12 11:53:04 -05:00
saml33 e0b616a5cf fix swap history load when not connected 2023-01-12 14:34:33 +11:00
saml33 badb6931bc add swap history pagination 2023-01-12 14:21:23 +11:00
saml33 85f81ce55b fix swap panel height 2023-01-12 10:21:01 +11:00
tjs 6a1a55adbc hide swap route except for test wallet 2023-01-11 16:45:56 -05:00
tjs ca89b132da remove price impact from swap form since it is on the review page 2023-01-11 16:35:37 -05:00
tjs 15e0e781cf dont hardcode height width if size isn't passed into iconbutton 2023-01-11 16:34:59 -05:00
tylersssss 9bd4642d75
Merge pull request #54 from blockworks-foundation/swap-form-button
update swap button text
2023-01-11 13:12:00 -05:00
tylersssss c3f107820e
Merge branch 'main' into trade-success-animation 2023-01-11 13:11:03 -05:00
Adrian Brzeziński 5817809fa6 fix 2023-01-11 16:45:53 +01:00
saml33 a3e731be15 add !selectedroute to disabled 2023-01-11 11:33:03 +11:00
tylersssss 034d82f11d
Merge pull request #57 from blockworks-foundation/token-vault-warnings
improve token vault warnings
2023-01-10 13:32:20 -05:00
saml33 60388f4423 format swap token list max number 2023-01-10 13:18:47 +11:00
Adrian Brzeziński 2bd8c86061 fix 2023-01-10 01:07:36 +01:00
Adrian Brzeziński 0cf973f0c4 other amount 2023-01-10 01:02:31 +01:00
Adrian Brzeziński ba5facc4e2 fix 2023-01-10 00:52:06 +01:00
saml33 ea7e148578 improve token vault warnings 2023-01-10 10:47:18 +11:00
Adrian Brzeziński 3553ae03e6 fix 2023-01-09 14:14:22 +01:00
Adrian Brzeziński cd2597e26a use mango router 2023-01-09 14:13:48 +01:00
saml33 3a8a0d1df8 update button text 2023-01-09 21:01:21 +11:00
tjs b4e63ffcb6 add commas to swap history 2023-01-07 13:59:32 -05:00
saml33 02e3e6d132 fix country not allowed button 2023-01-06 21:55:51 +11:00
saml33 da78529b2e more rounding fixes 2023-01-06 21:32:54 +11:00
tjs 079e622624 cleanup 2023-01-06 00:26:56 -05:00
saml33 a47a3a0e54 sort swap token list 2023-01-06 15:46:36 +11:00
tjs 04cda31516 fix issue with swap chart labels 2023-01-05 23:38:25 -05:00
saml33 085aceb3eb round max amount buttons 2023-01-06 15:10:25 +11:00
tjs 9865e85116 add mango account pk and address to hook 2023-01-05 23:01:03 -05:00
tjs e8cd0b4a7b fix max swap amount displays 2023-01-05 22:40:23 -05:00
saml33 65e6afc363 show correct borrow fee unit and remove unnecessary class 2023-01-06 13:03:58 +11:00
saml33 c5c0a6f493 only show swap history loader on initial load 2023-01-06 12:56:03 +11:00
tjs 8a04998374 show slippage msg in notifications 2023-01-05 19:44:37 -05:00
tjs 564c4bdee8 max token withdraw shouldnt use maxborrow if its a trustless token 2023-01-05 15:35:45 -05:00
tjs 4a35ab5470 bonk and dai fixes 2023-01-05 15:10:24 -05:00
saml33 6737dc5e51 update swap settings ui 2023-01-04 14:12:30 +11:00
saml33 c08acf292c check for mangoaccount instead of connected 2023-01-04 13:06:00 +11:00
tylersssss 9e4877792d
Merge pull request #49 from blockworks-foundation/connect-buttons
add active connect buttons
2023-01-03 18:25:55 -05:00
tjs 5e0492d0a6 use getState for actions 2023-01-03 17:20:00 -05:00
saml33 b2257d2ca1 add active connect buttons 2023-01-03 22:06:37 +11:00
tjs 1ac090c8e8 add a spinner when switching mango accounts 2023-01-02 16:04:58 -05:00
saml33 3c91bbf1ef add swap success animation to trade 2023-01-02 23:19:30 +11:00
tjs a0705c89b7 update swap settings modal 2022-12-30 14:44:48 -05:00
saml33 9f57d84349 address feedback 2022-12-29 21:59:56 +11:00
saml33 d8658574f7 simplify swap review 2022-12-29 15:17:38 +11:00
tjs 5806803e16 don't crop the review info 2022-12-27 17:24:58 -05:00
saml33 48e8b2ecb9 fix modal heights and align inline notification position 2022-12-27 23:07:02 +11:00
saml33 0d2d597c9e align activity/swap history loaders 2022-12-27 21:10:42 +11:00
tjs d21c5ac383 fix swap on opposite side 2022-12-26 12:14:34 -05:00
Adrian Brzeziński 2ef6070991 do not use translated values in settings fix 2022-12-21 23:33:26 +01:00
saml33 b2bb1b685b horizontal scroll trade tabs on overflow 2022-12-21 15:04:08 +11:00
saml33 1b3cae06aa make swap button always visible 2022-12-20 23:04:08 +11:00
saml33 0e64de2993 hide onboarding tours 2022-12-20 20:13:24 +11:00
saml33 6cc2f757be fix swap input token list max 2022-12-20 09:41:22 +11:00
tjs f3080cb27f add geo check to trade forms 2022-12-19 16:58:29 -05:00
tjs aa55e85fc4 swap history table rounding 2022-12-19 15:27:22 -05:00
tjs da50977eac better swap history fetching 2022-12-19 14:42:28 -05:00
tjs e755a6560b swap history sheen loading animation margin 2022-12-19 13:52:24 -05:00
tjs aae95b6b4a fix call to swap history api 2022-12-19 13:48:59 -05:00
saml33 b98c25eaf6 add health impact to swap review and update styling 2022-12-19 22:20:01 +11:00
tjs 945d38aefc remove jups duplicate ata creating of input mint 2022-12-16 17:49:03 -05:00
tjs f9a4652dae fixes for max source amount in swap 2022-12-16 17:12:07 -05:00
tjs c34c393a34 filter out jupiters token keg instructions 2022-12-16 12:32:01 -05:00
tjs 5d034df3b5 better rounding for vault balance in tokenMax 2022-12-16 12:32:01 -05:00
tjs 2010fdaa1d Merge branch 'jup-v4' into main 2022-12-15 18:06:34 -05:00
tjs 22c6d69222 jupiter v4 swaps with versioned tx 2022-12-15 18:00:47 -05:00
tjs be97e512b9 wip2 2022-12-15 17:51:19 -05:00
tjs 19fad1f438 increase swap chart cache time 2022-12-15 15:43:20 -05:00
tjs f2f2cc9120 wip 2022-12-14 21:51:21 -05:00
tjs 49001d5ae8 handle updating price for tradeForm when on limit vs market order 2022-12-14 15:54:30 -05:00
tjs af27b339aa fix call to getmaxsourceuifortokenswap 2022-12-14 11:20:36 -05:00
tjs cb3ad6e460 add console log for maxSwapForUI 2022-12-14 11:11:47 -05:00
saml33 30b86aaa23 merge main 2022-12-14 10:16:50 +11:00
saml33 de642675e5 Merge branch 'main' into new-font-expanded 2022-12-14 10:16:14 +11:00
saml33 e2e08fe829 use expanded font for large numbers 2022-12-13 22:05:01 +11:00
tjs 4eb21b4b41 update usetokenmax price 2022-12-13 00:38:12 -05: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 7e3c6e9467 add padding 2022-12-12 21:27:30 +11:00
tjs 9e22329cf8 wip: debug errors 2022-12-12 02:20:28 -05:00
saml33 776c581c75 update copy and icon 2022-12-12 10:21:40 +11:00
saml33 fda8dac2b2 handle empty token/stats api data 2022-12-11 21:10:11 +11:00
tjs 70a83a3f27 fix trade form logos 2022-12-09 19:33:27 -05:00
tjs bb41044d0c fix swap coingecko price difference calc 2022-12-09 13:16:48 -05:00
saml33 084c945bd4 add borrow tooltips to swap review 2022-12-09 10:42:55 +11:00
tjs 0f40c967fe remove borrow info from swap form 2022-12-08 17:36:04 -05:00