-
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 2023-06-01] [$1000] http://localhost is not treated as a link #17828
Comments
Triggered auto assignment to @miljakljajic ( |
Bug0 Triage Checklist (Main S/O)
|
Discussed here, working on this. https://expensify.slack.com/archives/C01SKUP7QR0/p1682442917120829 |
@miljakljajic 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@miljakljajic Still overdue 6 days?! Let's take care of this! |
Job added to Upwork: https://www.upwork.com/jobs/~0145e4cee523573d2e |
Current assignee @miljakljajic is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
Triggered auto assignment to @mountiny ( |
Approved as an external job & added to Upwork |
@miljakljajic @mountiny @Santhosh-Sellavel What's the expected behaviour here? Is it just the I'm proposing a solution for the case where we want to cater for all local urls. ProposalPlease re-state the problem that we are trying to solve in this issue.local urls are not being recognised What is the root cause of that problem?The root cause is that we're using a URL validation regex that does not allow a local url. This can be seen here. What changes do you think we should make in order to solve the problem?In my opinion, we should have two regex.
To use it in our chat, we'll have to first use What alternative solutions did you explore? (Optional)None |
Btw, I just noticed that Github actually treats local urls like Slack as well. Local URLs in my above comments are auto linked! |
@allroundexperts agree with you, I have updated the expected results |
@Santhosh-Sellavel what do you think of @allroundexperts proposal? |
@miljakljajic @mountiny @Santhosh-Sellavel this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@allroundexperts App/src/libs/ValidationUtils.js Line 253 in a26cbfe
Just supporting the markdown should be enough. We should consider Any thoughts @mountiny |
Contracts extended to @allroundexperts and @Santhosh-Sellavel. I'll be out when it's time to pay, review regression tests and close this out @puneetlath so I'll leave it to you from here! |
@allroundexperts is App PR ready? |
Will be in ~30 mins. |
PR was merged to main |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.17-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 2023-06-01. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
|
@allroundexperts has been paid. @Santhosh-Sellavel sent you a contract: https://www.upwork.com/nx/wm/offer/24847544 |
We won't need seperate regression tests here, need to update test cases for markdown URLs to include localhost too if not already. cc: @mountiny @puneetlath |
@Santhosh-Sellavel are you referring to manual tests or automated tests? Do we do manual testing for our various markdown rules? I would assume this can be covered by automated tests. |
@puneetlath
I'm not sure whether we do that, if we do then need to update that, if not we are good here. |
Got it! Can you check in testrail to see if we currently do? |
Got it. Hmmm. Feels like an edge-case scenario. I think automated testing is good enough for this. Thanks for the link. Went ahead and paid, so we're all good here. Thanks everyone! |
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:
Treat anything starts with https?:// as a valid link.
Actual Result:
Message remains as text
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: v1.3.4-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:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: @allroundexperts
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1682094889963549
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: