-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Focus on the first item of the selection list when user changes the search input #30438
Focus on the first item of the selection list when user changes the search input #30438
Conversation
@robertKozik 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] |
bump @robertKozik |
…-user-changes-the-search-input-in-selectionlist
Hi @abzokhattab I'm gonna review this now. First things first, we need to extend QA test cases - we are changing the |
Thanks @robertKozik , updated the description let me know if it looks good for you |
I belive they wont work as before, now they will focus on the first item after searching 😄 |
Ops my fault 😄 i think i was not clear enough .. let me know now 😄 (hopefully last time) |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.-.native.movAndroid: mWeb Chromeandroid.-.web.moviOS: Nativeios.-.native.moviOS: mWeb Safariios.-.web.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
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.
LGTM - cannot find any regression 🚀
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.
Thanks! Looks good to me and works fine
Congrats, that’s your 5th PR merged! 🎉 Do you know about the ContributorPlus role? It’s an opportunity to earn more in the Expensify Open Source community. Keep up the great work - thanks! |
✋ 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/MonilBhavsar in version: 1.3.94-0 🚀
|
1 similar comment
🚀 Deployed to staging by https://github.com/MonilBhavsar in version: 1.3.94-0 🚀
|
Regression from this PR Repro step:
This happens only on dev/staging. Not happen on production regression.mov |
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.94-2 🚀
|
🚀 Deployed to staging by https://github.com/MonilBhavsar in version: 1.3.95-0 🚀
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.3.95-9 🚀
|
Details
Fixed Issues
$ #29080
PROPOSAL: #29080 (comment)
Tests
as
and selectAfrica/Asmara
tr
) and observe that focus is changed to first value as it normally does for all other similar UIOffline tests
as
and selectAfrica/Asmara
tr
) and observe that focus is changed to first value as it normally does for all other similar UIQA Steps
as
and selectAfrica/Asmara
tr
) and observe that focus is changed to the first value as it normally does for all other similar UIBesides the previous test, All lists using
SelectionList
should focus on the first item when changing the search value.We can check a few of each type (single selection and multiple selection) to make sure both list items are functioning correctly:
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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.2023-10-26.at.2.37.46.PM.mov
Android: mWeb Chrome
Screen.Recording.2023-10-26.at.2.41.17.PM.mov
iOS: Native
Screen.Recording.2023-10-26.at.4.06.31.PM.mov
iOS: mWeb Safari
Screen.Recording.2023-10-26.at.4.07.42.PM.mov
MacOS: Chrome / Safari
Screen.Recording.2023-10-08.at.2.31.41.AM.mov
MacOS: Desktop
Screen.Recording.2023-10-26.at.1.39.05.PM.mov