fix flicker on from and to advanced filters#49072
Conversation
Kicu
left a comment
There was a problem hiding this comment.
Seems legit I guess, but left 2 small comments about code style
|
@dukenv0307 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-09-13.at.11.10.56.movAndroid: mWeb ChromeScreen.Recording.2024-09-13.at.11.08.00.moviOS: NativeScreen.Recording.2024-09-13.at.11.10.39.moviOS: mWeb SafariScreen.Recording.2024-09-13.at.11.06.02.movMacOS: Chrome / SafariScreen.Recording.2024-09-13.at.10.59.38.movMacOS: DesktopScreen.Recording.2024-09-13.at.11.14.42.mov |
|
@289Adam289 I still can reproduce this bug on Android native. And I also see it in your video Screen.Recording.2024-09-13.at.11.10.56.mov |
|
I fixed the bug from the issue where every icon flickers when item is selected. The flicker you are talking about is connected to how selection list works and can be observed in other parts of the app (e.g when you remove title on invite members page) Screen.Recording.2024-09-13.at.11.26.23.mov |
|
I am OOO this week @SzymczakJ will work on this issue while I am gone |
here's the expected behavior, so we need to fix that bug, right? @289Adam289 @SzymczakJ |
|
I'll look into it tomorrow, hadn't had much time today. |
|
After looking at it for a while I think that fixing the bug you noticed deserves another issue:
|
|
To expand on what @SzymczakJ said the original PR from Adam does solve the specific issue of flickering of all items, whereas we are left with the issue of flickering of just the item that is clicked on. So this is an improvement for search. |
|
Thank you @Kicu @SzymczakJ This PR looks good to me and tests well |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 9.0.38-0 🚀
|
|
🚀 Deployed to production by https://github.com/grgia in version: 9.0.38-4 🚀
|
Details
Fixed Issues
$#48946
PROPOSAL:
Tests
1 . Open app
2. Navigate to Search page
3. Click Filters button and select
toorfromfilters4. Verify everything works correctly and that flicker is no longer visible
Offline tests
QA Steps
same steps as Tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Screen.Recording.2024-09-12.at.16.16.12.mp4
Android: mWeb Chrome
Screen.Recording.2024-09-12.at.16.22.33.mp4
iOS: Native
Screen.Recording.2024-09-12.at.15.45.32.mp4
iOS: mWeb Safari
Screen.Recording.2024-09-12.at.16.15.39.mp4
MacOS: Chrome / Safari
Screen.Recording.2024-09-12.at.15.30.52.mp4
MacOS: Desktop
Screen.Recording.2024-09-12.at.16.36.01.mp4