-
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
Payment due - 30 May [$250] Typing @useraccount
and sending it sends `@useraccount@domain.com
#40205
Comments
Triggered auto assignment to @MitchExpensify ( |
Reproduced |
Assigning to VSB as low as this is a chat-centric bug that reveals emails |
@useraccount
and sending it sends `@useraccount@domain.com@useraccount
and sending it sends `@useraccount@domain.com
Job added to Upwork: https://www.upwork.com/jobs/~0115db0ab43f78ece5 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @shubham1206agra ( |
I'm not able to reproduce. Any help would be appreciated. chrome_TMhEpz03IN.mp4 |
@cead22 Can you provide us with a better example, as domains are not the same for everybody? |
@cead22 i also can't reproduce it. |
ProposalPlease re-state the problem that we are trying to solve in this issue.When we send short hand mention like @ApplauseTester inside backticks, it's appending the private domain into it Eg. Sending
It will appears as What is the root cause of that problem?In here, we have a logic where if the current user's private domain is This is to make users in the same organization able to tag each other by just However, when we're trying to detect short mention here, we're not taking into account cases like if the mention is in code blocks, code fence, links, ... So even the short-hand mention inside codeblock is still appended with the private domain. And subsequently it will not be considered in the mention detection logic in What changes do you think we should make in order to solve the problem?If we look at the proper logic to detect mentions in
We should apply the same when detecting short mentions, basically the only difference between short mention detection and full mention detection is: short mention doesn't require an email domain, the rest should be the same. We'll need to:
We can update this to
So it will not match if the mention is inside backticks (
We'll add here
So if the matched mention is invalid, we'll not replace anything. What alternative solutions did you explore? (Optional)Same solution as above, but we can consider centralize it in |
@shubham1206agra To reproduce this, we need:
|
@tienifr to clarify, it should not be considered a mention if it's inside backticks, right?
Where/how?
Where/how?
This looks incomplete |
@tienifr Can you comment on the above? |
Yes, same as when we put full email mention in the backticks
I updated For the rest, I will add some details within a day. |
I'm back from weekend, will take a loot at the above soon. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@MitchExpensify, @shubham1206agra Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Not overdue, @tienifr is going to have a look soon |
@cead22 @shubham1206agra Proposal updated to clarify the 2 points above |
@MitchExpensify @shubham1206agra @laurenreidexpensify 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! |
@shubham1206agra bump for review thanks |
Triggered auto assignment to @robertjchen, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
👍 to updated proposal |
📣 @shubham1206agra 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @tienifr 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
This issue has not been updated in over 15 days. @robertjchen, @MitchExpensify, @shubham1206agra, @laurenreidexpensify, @tienifr 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! |
@useraccount
and sending it sends `@useraccount@domain.com@useraccount
and sending it sends `@useraccount@domain.com
@MitchExpensify looks like the payment job on this failed but it's on prod now so should be good to pay on Thurs. Handing back over to you! |
Reminder set to pay tomorrow! |
Payment summary:
|
@MitchExpensify Accepted |
Paid and contract ended! |
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.4.62-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
Expensify/Expensify Issue URL:
Issue reported by: @cead22
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1712874830762349
Action Performed:
@applausetester
and hit send (Make sure to use "`" to make it a codeblock)Expected Result:
Appears
@applausetester
after sendingActual Result:
Appears as
@applausetester@applause.expensifail.com
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Recording.6.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: