-
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
Web - Inconsistent styling when selecting phone number with @ mention in chat. #21790
Comments
Triggered auto assignment to @flaviadefaria ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Phone numbers are not being recognised as user mentions. What is the root cause of that problem?We're just checking for valid emails in Expensimark using this regex. What changes do you think we should make in order to solve the problem?We can modify this regex to also accept phone numbers, we already have a regex string for phone numbers here but it would need to be modified slightly. The final regex string looking something like this:
We may need to modify this slightly depending on what we're considering a valid phone number (obligatory What alternative solutions did you explore? (Optional)None |
dupe of #21684. Only those phone numbers are not rendered as mentions which don't have accounts because they don't follow the format |
This is a known issue https://expensify.slack.com/archives/C01GTK53T8Q/p1683753105314829 cc: @puneetlath |
Yes this is a known bug and not something that we are currently going to fix. It will be fixed in the next iteration of mentions. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
The styling and properties should be consistent when selecting a phone number or email with @ mention.
Actual Result:
The styling and properties are not consistent when selecting a phone number with @ mention compared to selecting an email.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.32-5
Reproducible in staging?: y
Reproducible in production?: y
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
Notes/Photos/Videos: Any additional supporting documentation
screen-capture.59.1.mp4
Recording.929.mp4
Expensify/Expensify Issue URL:
Issue reported by: @tewodrosGirmaA
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1687721109789049
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: