-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
fix flicker on from and to advanced filters #49072
fix flicker on from and to advanced filters #49072
Conversation
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.
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
to
orfrom
filters4. Verify everything works correctly and that flicker is no longer visible
Offline tests
QA Steps
same steps as Tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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