-
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
[$500] Mention disappears when including 's
#50724
Comments
Triggered auto assignment to @mallenexpensify ( |
's
's
Job added to Upwork: https://www.upwork.com/jobs/~021845828693936391795 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @shubham1206agra ( |
Edited by proposal-police: This proposal was edited at 2024-10-14 14:27:47 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Mention doesn't work when the mention has What is the root cause of that problem?Looks like this only happens on short mentions. When we do a complete mention, for example, But when we do short mentions, for example, Line 2754 in 0bb5806
Based on this SO, And because there is no contact with an email that contains Lines 4176 to 4178 in 0bb5806
What changes do you think we should make in order to solve the problem?If we don't want to accept Line 2754 in 0bb5806
|
What if the short mention has an |
Was able to reproduce, i wonder if this is a bug or new feature. Meaning... was this ever discussed before, where we decide NOT to tag a user with |
@flodnv if the email has ![]() |
ProposalPlease re-state the problem that we are trying to solve in this issue.Mention is not working with possessive forms like 's What is the root cause of that problem?Regex is not handling Possessive forms What changes do you think we should make in order to solve the problem?Updating Regex to handle Apostrophes, Email Mentions, and Possessives. SHORT_MENTION: new RegExp(`@[\\w\\-\\+#']+(?:\\.[\\w\\-\\+#']+)*(?:@[\\w\\-]+\\.[a-z]{2,})?(?![^\`]*\`)(?=\\b|'s)`, 'gim'), Details on updating regex :
|
@mallenexpensify, @shubham1206agra Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@mallenexpensify I don't think we can omit |
Does Slack have a short mention? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
I'm uncertain of the Slack's logic or exactly how they handle it, check the vid below 2024-10-21_17-32-31.mp4 |
@mallenexpensify, @shubham1206agra Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@mallenexpensify, @shubham1206agra Eep! 4 days overdue now. Issues have feelings too... |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@mallenexpensify @shubham1206agra this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@mallenexpensify, @shubham1206agra Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it! |
Added to #quality project, assuming that user's would expect this to work (I do think adding |
@mallenexpensify, @shubham1206agra 12 days overdue now... This issue's end is nigh! |
This issue has not been updated in over 14 days. @mallenexpensify, @shubham1206agra eroding to Weekly issue. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
1 similar comment
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@shubham1206agra did you want to purchase a domain to use for testing and we'll reimburse you for it? |
@mallenexpensify Actually I posted a thread some time back here https://expensify.slack.com/archives/C01GTK53T8Q/p1737029721455129 |
d'oh, thanks for sharing the link, def missed it before
Is that how Slack does it? Appears to be ![]() In GH, once you add the ` then no selection shows. I think the more import part of the bug is that when `s is added at the end of a tagged name, the handle still shows, vs not. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Any updates? cc: @shubham1206agra |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
1 similar comment
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Any updates? |
@NJ-2020 Not yet. We are working on Expensify/expensify-common#824 first. Then, we will circle back here. |
Thanks |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
1 similar comment
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
|
Sorry, we are waiting for version bump in #54037. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this 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: 9.0.48-0
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
Expensify/Expensify Issue URL:
Issue reported by: @flodnv
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1728591305161159
Action Performed:
something @user
in a room (the mention must be the short version without the email part)something @user
with a trailing space's
Expected Result:
The @mentioned user is highlighted in the sent message as
something @user's
Actual Result:
The
@user
part is not marked as a mention and message is sent as plain textWorkaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Recording.654.mp4
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @shubham1206agraThe text was updated successfully, but these errors were encountered: