-
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
[PAID] [$250] Chat - Manually copied and pasted user mention turns into user profile hyperlink #41798
Comments
Triggered auto assignment to @sakluger ( |
@sakluger 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 |
We think that this bug might be related to #vip-vsp |
ProposalPlease re-state the problem that we are trying to solve in this issue.Copying a user mention and paste it turns the text into a link markdown. What is the root cause of that problem?The mention text is rendered as an anchor tag. App/src/components/HTMLEngineProvider/HTMLRenderers/MentionUserRenderer.tsx Lines 103 to 110 in e0b6a06
So, when we copy it, it will be copied as a link. This was previously fixed in #20814 by adding a testID of span because previously, if an element has a testID, the element name will be renamed to the testID, in this case span. But in my PR here, I update the logic so that it replaces the element name only if the testID is a valid markdown name. In this case, span is not a valid markdown. It's to fix another issue here. What changes do you think we should make in order to solve the problem?Instead of setting the testID to span here,
we can set it to
_or simply add span to the valid markdown list above, but not preferable we can add a similar fix if there is another issue found with other markdown |
Job added to Upwork: https://www.upwork.com/jobs/~01cc954368da0c91d3 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @c3024 ( |
@bernhardoj 's proposal here looks good to me. 🎀 👀 🎀 C+ Reviewed |
Triggered auto assignment to @luacmartins, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @c3024 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR is ready cc: @c3024 |
Triggered auto assignment to @alexpensify ( |
@alexpensify I'm OOO for two weeks. Can you please help with the payment if it's due before I'm back? The PR was deployed to Staging yesterday, so it will probably be deployed to prod early next week. |
Current assignee @sakluger is eligible for the Bug assigner, not assigning anyone new. |
Triggered auto assignment to @strepanier03 ( |
@strepanier03 - It looks like we are playing the assignment merry-go-round here. I, too, will be OOO next week and will not return until Tuesday, May 28. I'm reassigning now to get @sakluger help with the payment process. Thanks! BZ Discussion Here: https://expensify.slack.com/archives/C01SKUP7QR0/p1715886524903119?thread_ts=1715873747.589919&cid=C01SKUP7QR0 |
PR on staging so we're waiting for the 7-day hold to start. |
PR deployed to production but automation failed here. |
Deployed to production 2024-05-22, 7-days later is 2024-05-29. Updating title. |
Jobs are paid and contracts closed, thanks all! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.71-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: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Copied user mention should remain a mention
Actual Result:
Manually copied and pasted user mention turns in to hyperlink leading to the user profile
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6474088_1715104769258.2024-05-07_18-39-15.1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @strepanier03The text was updated successfully, but these errors were encountered: