-
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
Invite member - Search is unable to validate when more than one email used belong to member #29494
Comments
Triggered auto assignment to @conorpendergrast ( |
Bug0 Triage Checklist (Main S/O)
|
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @cead22 ( |
Don't think we need to block deploy on this tough, the expected behavior isn't broken, we're just not displaying the correct error message |
This seems to be a regression from #29044. @Samueljh1 Please raise a followup PR to fix this. The validation should be flexible in handling whether invalid/excluded emails are entered in the search input here For instance, if you enter an invalid email and a valid email:
|
I considered doing this while I submitted the PR, but I decided not to, to avoid overcomplicating things. This feature was requested so that emails could be added in bulk. In the case of invalid/already invited emails, the code simply ignores them and only displays valid ones in the search result. This issue is the result of an edge case where everyone in the search term is a member already (or has an invalid email).
These were the reasons I left the error messaging handling to the way they are now. I think the most suitable approach should be discussed before merging the PR, but I suggest the following:
|
This issue has not been updated in over 15 days. @cead22, @conorpendergrast eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
I missed this cause it was labeled "Reviewing", @jasperhuangg @Samueljh1 what's the latest on this, do we still need to fix something? |
The original PR ended up being reverted, so this issue no longer applies. You can close the issue. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.3.83-5
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
The search field should be able to validate when both the emails used belong to the workspace member, as it does when one member email is searched
Actual Result:
The search result shows invalid email rather than saying User A and B are member of the workspace
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Bug6234899_1697139301857.20231013_030358.mp4
MacOS: Desktop
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: