-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: swap refactor (#3731) #3799
base: develop
Are you sure you want to change the base?
Conversation
Co-authored-by: Juliano Lazzarotto <[email protected]>
apps/wallet-mobile/src/features/Portfolio/useCases/PortfolioTokenDetails/Actions.tsx
Outdated
Show resolved
Hide resolved
apps/wallet-mobile/src/features/Portfolio/useCases/PortfolioTokenDetails/Actions.tsx
Outdated
Show resolved
Hide resolved
apps/wallet-mobile/src/features/Swap/common/Provider/Provider.tsx
Outdated
Show resolved
Hide resolved
apps/wallet-mobile/src/features/Swap/common/Provider/Provider.tsx
Outdated
Show resolved
Hide resolved
apps/wallet-mobile/src/features/Swap/common/Provider/Provider.tsx
Outdated
Show resolved
Hide resolved
apps/wallet-mobile/src/features/Swap/common/Provider/Provider.tsx
Outdated
Show resolved
Hide resolved
apps/wallet-mobile/src/features/Swap/common/Provider/ProviderIcon.tsx
Outdated
Show resolved
Hide resolved
apps/wallet-mobile/src/features/Swap/common/Provider/ProviderIcon.tsx
Outdated
Show resolved
Hide resolved
...wallet-mobile/src/features/Swap/common/SelectPool/SelectPoolFromList/SelectPoolFromList.tsx_
Outdated
Show resolved
Hide resolved
import {PRICE_IMPACT_HIGH_RISK, PRICE_IMPACT_MODERATE_RISK} from './constants' | ||
import {SwapPriceImpactRisk} from './types' | ||
|
||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Chore: implement the update for it
apps/wallet-mobile/src/features/Swap/useCases/CreateOrder/EditSlippageScreen.tsx
Outdated
Show resolved
Hide resolved
|
||
const swapForm = useSwap() | ||
|
||
const dex = swapForm.estimate?.splits[0]?.dex |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- fix: update according to product design (in-progress)
apps/wallet-mobile/src/features/Swap/useCases/CreateOrder/ProviderSplits.tsx
Outdated
Show resolved
Hide resolved
apps/wallet-mobile/src/features/Swap/useCases/CreateOrder/ProviderSplits.tsx
Outdated
Show resolved
Hide resolved
apps/wallet-mobile/src/features/Swap/useCases/CreateOrder/SelectProviderScreen.tsx
Outdated
Show resolved
Hide resolved
apps/wallet-mobile/src/features/Swap/useCases/CreateOrder/StartSwapOrderScreen.tsx
Outdated
Show resolved
Hide resolved
apps/wallet-mobile/src/features/Swap/useCases/CreateOrder/StartSwapOrderScreen.tsx
Outdated
Show resolved
Hide resolved
apps/wallet-mobile/src/features/Swap/useCases/CreateOrder/StartSwapOrderScreen.tsx
Outdated
Show resolved
Hide resolved
apps/wallet-mobile/src/features/Swap/useCases/CreateOrder/StartSwapOrderScreen.tsx
Show resolved
Hide resolved
apps/wallet-mobile/src/features/Swap/useCases/CreateOrder/WarnLimitPrice.tsx_
Outdated
Show resolved
Hide resolved
apps/wallet-mobile/src/features/Swap/useCases/ListOrders/ListOrders.tsx
Outdated
Show resolved
Hide resolved
apps/wallet-mobile/src/features/Swap/useCases/Manager/ManagerConfig.tsx
Outdated
Show resolved
Hide resolved
apps/wallet-mobile/src/features/Swap/useCases/ReviewSwap/ReviewSwap.tsx
Outdated
Show resolved
Hide resolved
Codecov ReportAttention: Patch coverage is
❌ Your project check has failed because the head coverage (21.94%) is below the target coverage (100.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## develop #3799 +/- ##
===========================================
- Coverage 22.80% 21.94% -0.87%
===========================================
Files 1151 1104 -47
Lines 21988 21091 -897
Branches 3390 3288 -102
===========================================
- Hits 5015 4628 -387
+ Misses 16828 16305 -523
- Partials 145 158 +13
🚀 New features to boost your workflow:
|
Description / Change(s) / Related issue(s)
Work in progress, don't commit to it