-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Drop domain names when searching for users and auto-filling mentions #36697
Conversation
@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] |
Hi @tienifr! |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-02-21.at.3.37.50.PM.movAndroid: mWeb ChromeScreen.Recording.2024-02-21.at.3.35.50.PM.moviOS: NativeScreen.Recording.2024-02-21.at.3.34.05.PM.moviOS: mWeb SafariScreen.Recording.2024-02-21.at.3.31.35.PM.movMacOS: Chrome / SafariScreen.Recording.2024-02-21.at.3.27.29.PM.movMacOS: DesktopScreen.Recording.2024-02-21.at.3.29.22.PM.mov |
@allroundexperts This should be fixed in #36347 |
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!
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 but the auto-complete for phone number accounts still includes the @expensify.sms
suffix.
Screen.Recording.2024-02-23.at.23.57.31.mov
@NikkiWines As I see the phone number domain is expensify.sms, and it's not the private domain, I think all phone numbers have this domain. Beside it's different from test.com so I think we should preserve expensify.sms as it is in staging/production. Please correct me if I misunderstand sth. Thanks |
Yes, all phone numbers have the Ideally, we'd be consistent in showing it or not showing it, and right now we've got kind of a mix (it's not shown in the room description or mention suggestions list, but it is shown in the auto-complete and the actual mention itself - the latter of which I think should also be resolved when the regression for domains showing up in mentions is fixed) |
@NikkiWines I fixed your case above. Please check the video below Screen.Recording.2024-02-27.at.11.08.09.mov |
@allroundexperts Seems like @NikkiWines agrees with my fix above ^. Can you help review and test again? Thanks |
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.
One very small suggestion but otherwise looks good 👍
Fixed |
Will re-review today! |
@tienifr Conflicts! |
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.
oh whoops sorry I thought this had been updated.
@allroundexperts fixed conflicts |
@allroundexperts This is almost done, can you please review soon? Thanks |
Working good. Tested with private & public domains. For phone numbers however, Screen.Recording.2024-03-01.at.11.07.26.AM.mov![]() |
Ah yeah, that's known and I commented on it recently here since that PR was intended to fix the actual mentions. I think we can handle it separately from this PR |
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/NikkiWines in version: 1.4.47-0 🚀
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.4.47-10 🚀
|
Noticed a bug tied to this where you can't dismiss the mentions search bar if you're selecting a mention that's shorter than other mentions with the same first set of characters Screen.Recording.2024-03-08.at.10.29.11.mov |
Details
Fixed Issues
$ #35532
PROPOSAL: #35532 (comment)
Tests
Offline tests
Same as above
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(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label 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-02-16.at.21.11.33.mov
Android: mWeb Chrome
Screen.Recording.2024-02-16.at.21.16.12.mov
iOS: Native
Screen.Recording.2024-02-16.at.21.06.08.mov
iOS: mWeb Safari
Screen.Recording.2024-02-16.at.21.12.44.mov
MacOS: Chrome / Safari
Screen.Recording.2024-02-16.at.15.10.29.mov
MacOS: Desktop
Screen.Recording.2024-02-16.at.16.25.17.mov