-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[HOLD for payment 2024-08-01] [$250] Chat - User mention is not linked and it is not an actual mention when editing message #45435
Comments
Triggered auto assignment to @jasperhuangg ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
ProposalPlease re-state the problem that we are trying to solve in this issue.The user mention in short form is not converted to a mention when editing message. What is the root cause of that problem?If we add a message, we convert all the short mentions to their long form (with the domain) and set it to the action message and also send it to the AddComment API. Lines 3661 to 3675 in fb9ce79
The mention renderer will then show the short form if found, so ther user will still see the short form in the message list. However, when editing the message, we don't do any conversion, so the short mention is saved as it is and won't be rendered as a mention. App/src/libs/actions/Report.ts Line 1547 in fb9ce79
App/src/libs/actions/Report.ts Lines 1517 to 1526 in fb9ce79
What changes do you think we should make in order to solve the problem?Convert any short mention to a long mention when editing a message too. We can create a new function that does that so it's reusable between add and edit comments. Lines 3668 to 3675 in fb9ce79
|
@bernhardoj let me know when you can get started! |
This doesn't exist on prod yet since it's a brand new feature, don't think we need to block deploy on this. |
Job added to Upwork: https://www.upwork.com/jobs/~0161a3b21c19784a1d |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
PR is ready |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.11-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-08-01. 🎊 For reference, here are some details about the assignees on this issue:
|
Checklist
Regression test
Do we 👍 or 👎 ? |
Issue is ready for payment but no BZ is assigned. @miljakljajic you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks! |
Payment Summary
BugZero Checklist (@miljakljajic)
|
Requested in ND. |
@allroundexperts is owed 250 for their work on this issue @bernhardoj is owed 250 for their work on this issue |
$250 approved for @bernhardoj |
$250 approved for @allroundexperts |
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.7-1
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
The user mention is not linked and it will be an actual mention (highlighted)
Actual Result:
The user mention is not linked and it is not an actual mention (not highlighted)
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6543224_1721079056142.20240716_052701.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @allroundexpertsThe text was updated successfully, but these errors were encountered: