-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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 2023-05-29] [$1000] Editing link removes the link #18514
Comments
Triggered auto assignment to @arielgreen ( |
Bug0 Triage Checklist (Main S/O)
|
Hi @arielgreen, there are 2 mistakes in your reproduction steps:
This video should be helpful for better understanding 2023-05-09.07-49-12.mp4 |
I was doing some work to create a non-reproducible bug triaging process and came across this GH while searching by the @arielgreen I'm going to reopen this because the issue is reproducible following the steps. You just have to be sure you change the link part, not the name part. 2023-05-10_10-38-45.mp4 |
I can also reproduce this issue though the original reproduction steps are a little bit unclear. I'd like to post a proposal for it. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Edit website to capital letters removes the link. What is the root cause of that problem?An autolink comment, like <a href="https://Google.com" target="_blank" rel="noreferrer noopener">Google.com</a> Click to edit the link and it's parsed to markdown [Google.com](https://Google.com) If edit the above markdown(changing the capital letter 'G' to lower case) into [Google.com](https://google.com) Then we'll indentify the link is removed in method getRemovedMarkdownLinks because Note that domain names are case insensitive according to RFC 4343 , see this SO discussion. So the root cause of the issue is that we don't aware the link is not changed if only changing uppper or lower case letters of domain. What changes do you think we should make in order to solve the problem?To fix this issue, I think we can
To achieve this, we can use the website regex to capture the website(including protocol and domain) which is case insensitive. So we can
What alternative solutions did you explore? (Optional)N/A |
Job added to Upwork: https://www.upwork.com/jobs/~0145804dc44340d929 |
Current assignee @arielgreen is eligible for the External assigner, not assigning anyone new. |
Great, thanks for the clarification, all. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
Triggered auto assignment to @MariaHCD ( |
Thanks for the proposal @eh2077 , your analysis are correct and your solution looks perfect. cc @MariaHCD, This proposal looks good to me. 🎀 👀 🎀 C+ reviewed |
Looks good to me too |
@fedirjh @dhanashree-sawant @eh2077 offers sent in Upwork |
@arielgreen Accepted. Thank you! |
Hi @arielgreen, thanks, I have also accepted the offer. |
Thanks folks! @fedirjh please also be sure to fill out the checklist above. |
Reassigning, OOO tomorrow/Monday. |
Triggered auto assignment to @trjExpensify ( |
This comment was marked as duplicate.
This comment was marked as duplicate.
Cool, happy to help! @fedirjh, let us know about that checklist. :) |
Do we agree 👍 or 👎 |
Those regression steps look good to me! @eh2077 @trjExpensify what do you think? |
@fedirjh - you have access to TestRail as a C+, right? Wouldn't we just modify this existing test case instead of adding a new one entirely? So from #7 onwards..
|
We're ready for payment here, confirming these from the offers sent: $1,000 - @fedirjh for C+ review |
@trjExpensify Thanks for checking this! I think it's eligible for speed bonus. See below timeline FYI |
Awesome, amended offers and settled up with each of you! |
@trjExpensify Actually NO , I don’t have access to TestRail. Should I request access on the C+ channel ? |
I can check on that, maybe you don't get access anymore. |
Ah okay, so confirmed we didn't provide C+ access. Created an issue for Applause to look at. We're done here, closing! |
Thanks @trjExpensify! Editing the existing test case as you outlined here makes sense to me! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
App should keep the edited message as link
Actual Result:
App removes the edited message as link
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.11-4
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
Notes/Photos/Videos: Any additional supporting documentation
app.removes.edited.message.as.link.on.new.staging.mp4
Recording.503.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1683277952189849
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: