Mention search with last name#31435
Conversation
Even with expensify
Even with expensify/main
Even with dev
Even withe xpensify
Even with expensify/main
Even with expensify/main
|
@allroundexperts 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] |
There was a problem hiding this comment.
I don't think we want to commit this.
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2023-11-19.at.1.57.30.AM.movAndroid: mWeb ChromeScreen.Recording.2023-11-19.at.1.54.25.AM.moviOS: NativeScreen.Recording.2023-11-19.at.1.50.29.AM.moviOS: mWeb SafariScreen.Recording.2023-11-19.at.1.49.57.AM.movMacOS: Chrome / SafariScreen.Recording.2023-11-19.at.1.45.15.AM.movMacOS: DesktopScreen.Recording.2023-11-19.at.1.48.32.AM.mov |
|
Bug The casing of the mention suggestion changes after you've typed the full name. Screen.Recording.2023-11-19.at.1.51.31.AM.mov |
|
@allroundexperts This bug was discussed in the original issue thread (#30217 (comment)) This is not actually a bug with my solution, but rather a consequence of an intentional design decision made for parsing emails. I was given the go-ahead by @twisterdotcom for this solution despite this small bug it reveals. (#30217 (comment)) I should've included that context in my PR, sorry about that. |
|
✋ 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 production by https://github.com/mountiny in version: 1.4.5-7 🚀
|
Details
This code improves the UX for mentions of a user by improving the parser for mentions in a message. Before, including a space in the name of a user would stop the app from suggesting mentions. With this improvement, users can be searched by first and last name while writing a mention. This is especially useful in large workspaces where there may be multiple users with the same first name.
Fixed Issues
$ #30217
PROPOSAL: $ #30217 (comment)
Tests
Offline tests
N/A
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)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
I'm unfortunately unable to get the Android simulator running on my computer
Android: mWeb Chrome
I'm unfortunately unable to get the Android simulator running on my computer
iOS: Native
Screen.Recording.2023-11-16.at.12.53.04.PM.mov
iOS: mWeb Safari
Since switching the dev URL to https://dev.new.expensify.com, the iOS simulator cannot access the website through safari (throws HTTPS error)
MacOS: Chrome / Safari
Screen.Recording.2023-11-16.at.12.36.47.PM.mov
MacOS: Desktop
Screen.Recording.2023-11-16.at.12.38.56.PM.mov