-
Notifications
You must be signed in to change notification settings - Fork 637
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
Remove non-Favorites lists #5084
Conversation
APP-819 Remove UI components + tear out obsolete logic
|
don't panic, the redux state usage that was added will be removed shortly |
Can you also remove any relevant test for lists in e2e/discoverSheetFlow.spec.js |
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.
👑
@@ -305,7 +303,7 @@ const ExchangeAssetList: ForwardRefRenderFunction< | |||
setLocalFavorite(prev => { | |||
const address = rowData.address; | |||
const newValue = !prev?.[address]; | |||
updateList(address, 'favorites', newValue); | |||
dispatch(uniswapUpdateFavorites(address, newValue)); |
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.
this is gonna have conflicts post other PR yeah?
* temp * stuff * rm sandbox * finished * rm extra line * rm obsolete code * rm e2e * Remove uniswap pairs redux (#5093) * move uniswap pairs from redux to react query * rm uniswap pairs redux * rm testnets util * react query + migration * more react query * rm logs * rm resources/favorites * rm comment * Remove favorites redux (#5104) * tearing everything out * fix favorites not persisting bug * docs * typo
…@benisgold/lists3
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.
looks good 👍🏽
Fixes APP-819
What changed (plus any additional context for devs)
In this PR:
Remove UI + logic for non-favorites lists (trending, watchlist, defi, stablecoins)
In the followup PRs:
Minor UI updates, refactor of remaining logic
Specifics:
Lists
component fromDiscoverHome
AddTokenSheet
userLists
redux touniswap
redux. The favorites list's existence/handling inuserLists
redux is just a wrapper arounduniswap
redux.userLists
reduxuseUserLists
hookScreen recordings / screenshots
Simulator.Screen.Recording.-.iPhone.14.-.2023-09-28.at.13.22.14.mp4
What to test