-
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
[$500] Chat - Inconsistent in URL display while editing comment #28162
Comments
Triggered auto assignment to @isabelastisser ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.When editing a comment, any existing text that looks like a link will be transformed to a markdown link upon the save. What is the root cause of that problem?Any URL looking text is not considered when editing a comment because What changes do you think we should make in order to solve the problem?We should find a better way to handle the URL intentional deletes from the comment done by this function App/src/libs/actions/Report.js Lines 1128 to 1137 in f5409e7
And at the same time, preserve any markdown that were only in the original comment. By finding which links that were actually added upon the current and the existing ones. So before transforming the edited text to a markdown, we can run this function that will return an array of the added links vs what's been already there.
And the apply What alternative solutions did you explore? (Optional)N/A |
Job added to Upwork: https://www.upwork.com/jobs/~014bb50037929a38de |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
it's intentional behaviour , dupe of #24258 |
📣 @agilejune! 📣
|
Yep. This is expected. Let's close this @isabelastisser! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
If an url is sent and edited with same url, then it is not shown as link. But if we enter different url while editing, then it is shown as link. There should not be inconsistent behaviour when user send url while editing comment
Actual Result:
If an url is sent and edited with same url, then it is not shown as link. But if we enter different url while editing, then it is shown as link
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.74-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
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
Notes/Photos/Videos: Any additional supporting documentation
Bug6213759_url.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: