-
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
Corrected - Contact suggestion selection does not reset after selecting a contact #18996
Conversation
@amyevans @mananjadhav One of you needs to 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] |
@mananjadhav @amyevans PR is ready for review. |
Reviewer Checklist
Screenshots/VideosWebweb-reset-mention-suggestions.movMobile Web - Chromemweb-chrome-reset-mention-suggestions.movMobile Web - Safarimweb-safari-reset-mention-suggestions.movDesktopdesktop-reset-mention-suggestions.moviOSios-reset-mention-suggestions.movAndroidandroid-reset-mention-suggestions.movThanks for the quick PR @PrashantMangukiya. I had some issues with my emulator so it got delayed. @amyevans All yours. I'd like to highlight my app emulators are running extremely slow (unrelated to this change, and hence you see the erratic behavior of the popup). The index resetting is working as expected. |
@mananjadhav thanks for the review. @amyevans I wish we can merge soon, so pr is eligible for timeline bonus. |
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 👍
✋ 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/amyevans in version: 1.3.16-0 🚀
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.3.16-7 🚀
|
2 similar comments
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.3.16-7 🚀
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.3.16-7 🚀
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.3.16-7 🚀
|
@mananjadhav @amyevans PR is ready for review.
Details
Within chat whenever we write
@
only to mention a contact, at that time it will show suggestion list with first record selected. By using down arrow key select a contact (other than first record) and hit enter key, it will add that contact to composer.Now write
@
again so it will show contact suggestion list again but with previously selected contact as selected in the list. So in this PR we corrected that problem. So now contact suggestion selection will start from the first contact every time contact suggestion list open.Note: This issue happens with Web and Desktop only. But video uploaded for all platforms to make sure there is not any side effect.
Fixed Issues
$ #18844
PROPOSAL: #18844 (comment)
Tests
@
only to mention the contact@
again to show contact suggestion list.Offline tests
@
only to mention the contact@
again to show contact suggestion list.QA Steps
@
only to mention the contact@
again to show contact suggestion list.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
Web
Chrome
Web-Chrome.mov
Safari
Web-Safari.mov
Mobile Web - Chrome
MWeb-Chrome.mov
Mobile Web - Safari
MWeb-Safari.mov
Desktop
Desktop.mov
iOS
iOS.mov
Android
Android.mov