Description
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.63-0
Reproducible in staging?: y
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail: n/a
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:
- Go to staging.new.expensify.com
- Go to FAB > Start chat
- Create a group chat with User B.
- Send a message to the group chat.
- Click on the chat header > Members.
- Invite User B.
- As User B, go to the group chat.
- Right click on the whisper "made @user an admin" > Copy to clipboard.
- Paste the content.
Expected Result:
The user mention in the whisper is copied.
Actual Result:
The user mention in the whisper is not copied.
The user mention is also missing in LHN.
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
- Android: Native
- Android: mWeb Chrome
- iOS: Native
- iOS: mWeb Safari
- MacOS: Chrome / Safari
- MacOS: Desktop
Screenshots/Videos
Add any screenshot/video evidence
Bug6453668_1713448661144.20240418_215156.mp4
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~01c22e43e02e5a0415
- Upwork Job ID: 1785752223998607360
- Last Price Increase: 2024-06-26
- Automatic offers:
- eh2077 | Reviewer | 102966441
- ahmedGaber93 | Contributor | 102966443
Activity
melvin-bot commentedon Apr 18, 2024
Triggered auto assignment to @francoisl (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Apr 18, 2024
Triggered auto assignment to @isabelastisser (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.github-actions commentedon Apr 18, 2024
👋 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:
m-natarajan commentedon Apr 18, 2024
@isabelastisser FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.
m-natarajan commentedon Apr 18, 2024
We think this bug might be related to #vip-vsb
francoisl commentedon Apr 18, 2024
I feel like this has to do more with how we copy text from mentions specifically, because the message is in the format
"<muted-text>made <mention-user accountID=NNN></mention-user> an admin</muted-text>".Not sure it needs to be a blocker as it doesn't stop you from doing anything critical though.
In the meantime, cc @puneetlath if you have any idea off the top of your head what this could be from.
ahmedGaber93 commentedon Apr 18, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Group chat - User mention is not copied when copying "made an admin" whisper to clipboard
What is the root cause of that problem?
When We copy
<mention-user accountID="1234" />as HTML to clipboard in the web here.App/src/libs/Clipboard/index.ts
Lines 119 to 123 in 571a79d
the paste value here paste with different format
<meta charset='utf-8'><html><head></head><body><mention-user accountid="1234"></mention-user></body></html>(<openTag></closeTag>not<closedTag />), and this format not match rulereportMentionsinExpensiMarkWhat changes do you think we should make in order to solve the problem?
Edit
userMentionhere to match both<closedTag />and<openTag></closeTag>we will do the same for #40403
What alternative solutions did you explore? (Optional)
106 remaining items
eh2077 commentedon Jul 22, 2024
Checklist
eh2077 commentedon Jul 22, 2024
@isabelastisser I think you can handle the payment together with #40403 because we fixed them together here. The bounty should be $250 + $250 = $500 as mentioned earlier, see #40477 (comment)
cc @marcaaron @lakchote
mallenexpensify commentedon Jul 22, 2024
@eh2077 is there any reason to keep the other issue open? Possibly we need a regression test for that use flow?
If not, lit seems best to close that one and manage payment ($500/each) here.
eh2077 commentedon Jul 22, 2024
@mallenexpensify Yes, we can close the other issue #40403.
Regression test
@MENTION_USER text after #MENTION_REPORT text afterDo we agree 👍 or 👎
marcaaron commentedon Jul 23, 2024
LGTM
mallenexpensify commentedon Jul 23, 2024
Thanks @eh2077, issue closed, Test case created
eh2077 commentedon Jul 27, 2024
@mallenexpensify Can you help to issue the payment as discussed here #40477 (comment)
mallenexpensify commentedon Jul 30, 2024
Contributor: @ahmedGaber93 paid $500 via Upwork
Contributor+: @eh2077 paid $500 via Upwork.
@eh2077 thanks for the reminder, sorry I missed this (likely thought payment was via the other issue)