Commit Graph

175 Commits

Author SHA1 Message Date
saml33 7cd26e9da5 add focus states and improve keyboard navigation 2023-03-24 23:22:29 +11:00
tjs fd061dcdbf move delegate checks into useUnownedAccount hook 2023-03-04 14:17:34 -05:00
tjs 917080ac09 add warning for delegate accounts 2023-03-04 13:42:46 -05:00
tjs 3bed60af56 turn on lint errors for typescript any 2023-02-28 02:20:11 -05:00
tjs b5eabc4de6 show no swap route error when amount in is gt 0 2023-02-22 13:49:03 -05:00
saml33 6a05e60376 hide action buttons for unowned accounts 2023-02-13 13:46:41 +11:00
saml33 5388035d33 handle swap reduce only 2023-02-09 11:31:53 +11:00
Adrian Brzeziński c4bc880e21 handle error when no swap route found 2023-02-04 22:55:42 +01:00
tjs 3bc8b87830 fix localstorage default key typo 2023-01-19 15:41:11 -05: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 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
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
saml33 a3e731be15 add !selectedroute to disabled 2023-01-11 11:33:03 +11: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 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
saml33 02e3e6d132 fix country not allowed button 2023-01-06 21:55:51 +11:00
saml33 6737dc5e51 update swap settings ui 2023-01-04 14:12:30 +11:00
saml33 b2257d2ca1 add active connect buttons 2023-01-03 22:06:37 +11: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
saml33 48e8b2ecb9 fix modal heights and align inline notification position 2022-12-27 23:07:02 +11:00
Adrian Brzeziński 2ef6070991 do not use translated values in settings fix 2022-12-21 23:33:26 +01:00
saml33 1b3cae06aa make swap button always visible 2022-12-20 23:04:08 +11:00
tjs f3080cb27f add geo check to trade forms 2022-12-19 16:58:29 -05:00
saml33 b98c25eaf6 add health impact to swap review and update styling 2022-12-19 22:20:01 +11:00
saml33 fda8dac2b2 handle empty token/stats api data 2022-12-11 21:10:11 +11: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
tjs 6daceda50f cleanup swap form eslint warnings 2022-12-08 13:44:30 -05:00
saml33 17156fd87f move swap borrow amount info 2022-12-08 22:15:16 +11:00
saml33 738420799c remove token image rounding 2022-12-08 14:17:24 +11:00
tjs f1f71243e8 add text below swap slider 2022-12-07 21:49:06 -05:00
saml33 300f481ecf add input theme colors 2022-12-08 13:34:24 +11:00
tjs 169f5ea079 set swapMode when changing swap amount in from slider or percent button 2022-12-07 20:14:29 -05:00
tjs 986c6ce57a better handle clearing swap form 2022-12-07 20:04:48 -05:00
saml33 7e5e3e4d51 fix swap projected health 2022-12-08 10:09:15 +11:00
saml33 95a165fc67 align swap output input styles 2022-12-08 09:45:19 +11:00
tjs 41223e846c allow setting the amount out in jupiter swap 2022-12-07 16:33:38 -05:00
saml33 57c65a90d1 remove box shadow on mobile 2022-12-07 15:10:52 +11:00
saml33 209490752c better var names and hsl colors 2022-12-01 14:32:32 +11:00
saml33 44022ae602 token vault balance warnings 2022-11-27 23:36:12 +11:00
saml33 37df58f959 use settings for slider or buttons to swap 2022-11-23 14:31:50 +11:00
saml33 58f55a22b0 fix swap token select 2022-11-22 15:20:05 +11:00
tjs 8384bca7e0 submit jup api swap transaction 2022-11-18 23:59:06 -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 07847b971b support versioned txs 2022-11-15 23:12:57 -05:00
saml33 07d420e785 update swap tour copy 2022-11-14 14:33:45 +11:00
tylersssss 33695f047a
Merge pull request #26 from blockworks-foundation/trade-health-impact
add health impact to trade form
2022-11-13 17:26:09 -05:00
saml33 69bcfc5a71 fix input height 2022-11-04 19:08:27 +00:00
saml33 c1254c9186 add health impact to trade form 2022-11-04 18:55:21 +00:00
saml33 9943911efc fix swap output amount input 2022-11-04 17:41:33 +00:00
tjs 2e853352b6 remove bg; add responsive txt 2022-10-31 05:06:03 +00:00
tjs dd284513f3 try different v of swap form copy; more responsive cols 2022-10-31 05:06:03 +00:00
saml33 7dcb59f7c3 remove commented code 2022-10-30 22:21:47 +11:00
saml33 91175e5d66 fix swap layout heights 2022-10-30 22:19:04 +11:00
tjs 0e880ffc54 swap form copy 2022-10-29 22:46:59 -04:00
saml33 8254602691 icon button sizes 2022-10-29 22:38:40 +11:00
saml33 6d85da0ab5 misc styling 2022-10-22 23:14:25 +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 8374dfa1a7 format swap pair symbols 2022-10-06 13:23:31 +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 cff49ded6f merge main 2022-09-30 22:55:28 +10:00
tjs 32578711b2 general refinements 2022-09-30 00:21:23 -04:00
saml33 8986660b55 merge main 2022-09-23 14:08:56 +10: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 f5abb4d381 add tours and copy 2022-09-22 14:25:24 +10:00
saml33 7f697894e6 add health impact tooltip 2022-09-20 16:31:07 +10:00
saml33 1d86e19158 fire getTokenMax on connection 2022-09-20 15:33:59 +10:00
saml33 d17874f87f merge main 2022-09-20 14:55:04 +10:00
saml33 2b4f3410d2 align account page layout to swap/trade 2022-09-19 13:53:52 +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 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 9ab19e13cd align horizontal baseline 2022-09-15 12:41:55 +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
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
saml33 32af136ff8 fix toggle margin bug 2022-09-14 10:19:56 +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
saml33 6cfc397dd2 fix loaders 2022-09-09 11:00:47 +10:00
saml33 89704f18d5 add icons to buttons 2022-09-08 10:47:59 +10:00
saml33 9e858968b2 update heroicons to latest version 2022-09-07 14:36:35 +10:00