-
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
Mention search with last name #31435
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] |
ios/Podfile.lock
Outdated
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.
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. |
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.
Works good!
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 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 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)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
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