Closed kavimuru closed 8 months ago
Current assignee @0xmiroslav is eligible for the Internal assigner, not assigning anyone new.
I think we're close to a solution, @0xmiroslav what do you think of the latest updated proposals?
@johnmlee101 do you think we're close enough to switch back to external?
I reviewed recent 2 proposals after last review. Still doesn't work for some cases.
@tienifr @akinwale please run automated tests (npm run test
) in expensify-common repo. You will easily find regression cases.
Please submit updated proposal only when tests pass.
@sakluger as this is really not an easy issue, we can bump the price so that contributors investigate more time to avoid any regressions. or @johnmlee101 will work on this internally?
I reviewed recent 2 proposals after last review. Still doesn't work for some cases. @tienifr @akinwale please run automated tests (
npm run test
) in expensify-common repo. You will easily find regression cases. Please submit updated proposal only when tests pass.
@0xmiroslav Thanks for the update. I was initially looking for these tests, so that I could run them, as I was testing directly in the browser. I have updated the regex in my proposal (also please note it still goes with the replacement
method), and all test cases pass now. I also like the idea of bumping the price. ๐
Here are the results.
I update my proposal, and it works fine and pass all test. But I recently find negative look behind (?<!) supported in ECMAScript 9(2018) while we use ES6 as I know (I think this can help others to stop using it, unless we decide to use it)
edit REGEXP of autoEmail
to be match optional http\\S*=
and use it in replacement case like this.
{
name: 'autoEmail',
regex: new RegExp(
`(?![^<]*>|[^<>]*<\\/)((?:http\\S*=)?)${CONST.REG_EXP.MARKDOWN_EMAIL}(?![^<]*(<\\/pre>|<\\/code>|<\\/a>))`,
'gim',
),
replacement: (match, g1, g2) => {
return g1 ? match : `<a href="mailto:${g2}">${g2}</a>`;
},
},
all test passed in expensify-common by npm run test
result
Yeah I think I'm fine with bumping the price, it's a fairly complex, and the discussions have been active so I don't think we'll move this to internal just yet
Current assignee @sakluger is eligible for the External assigner, not assigning anyone new.
Current assignee @0xmiroslav is eligible for the External assigner, not assigning anyone new.
Current assignee @johnmlee101 is eligible for the External assigner, not assigning anyone new.
Upwork job price has been updated to $2000
@sakluger as this is really not an easy issue, we can bump the price so that contributors investigate more time to avoid any regressions. or @johnmlee101 will work on this internally?
I agree, I've raised to $2000.
@0xmiroslav any thoughts on the latest proposals?
Updated https://github.com/Expensify/App/issues/16762#issuecomment-1500804673
I have updated my proposal to fix cases that @0xmiroslav pointed out https://github.com/Expensify/App/issues/16762#issuecomment-1522954837
I reviewed recent 2 proposals after last review. Still doesn't work for some cases. @tienifr @akinwale please run automated tests (npm run test) in expensify-common repo. You will easily find regression cases. Please submit updated proposal only when tests pass.
@0xmiroslav the tests failed due to new changes to the URL_WEBSITE_REGEX
that causes the example regex I provided to be incorrect, not due to the solution itself.
Proposal updated to address that, all tests passing now.
Thanks!
@0xmiroslav could you please review the lastest proposals?
๐ฃ It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? ๐ธ
updating today
Sorry for delay here, been busy on urgent PRs for EC3. I will provide feedback asap on latest proposals after last review
All good, thanks for the context. That's fine since EC3 issues take priority right now.
EC3 is still top priority.
๐ฃ It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? ๐ธ
It's been a week. Checking in! Are you still reviewing proposals?
Still evaluating proposals. I will provide update tomorrow.
EC3 is happening! And deploys are paused for the rest of the week. @0xmiroslav hopefully that means there will be some time to review these proposals.
Hey @0xmiroslav, can you please prioritize reviewing these proposals? The latest proposal updates have been waiting 3 weeks, so we need to start moving this forward.
Sure, planning to post updates tomorrow
๐ฃ It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? ๐ธ
Bump! @0xmiroslav
@akinwale your solution failing test cases. please update proposal based on latest codebase. To confirm this is your regex, right?
(?![^<]*>|[^<>]*<\\/)(^| |\\b)${CONST.REG_EXP.MARKDOWN_EMAIL}(?![^<]*(<\\/pre>|<\\/code>|<\\/a>))
@akinwale your solution failing test cases. please update proposal based on latest codebase. To confirm this is your regex, right?
(?![^<]*>|[^<>]*<\\/)(^| |\\b)${CONST.REG_EXP.MARKDOWN_EMAIL}(?![^<]*(<\\/pre>|<\\/code>|<\\/a>))
No.
Please check my proposal for my most up to date regex and replacement. It was updated over a month ago. Thanks.
Bump @0xmiroslav. I noticed that you have a lot of issues assigned currently - let me know if you'd like me to reassign, it's no problem.
๐ฃ It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? ๐ธ
@akinwale your latest proposal is still failing my test cases.
I am currently adding more edge cases in automated tests myself locally to validate all proposals in an automatic way.
@0xmiroslav hi, just checking what do you think of my proposal here https://github.com/Expensify/App/issues/16762#issuecomment-1531561529? It passes all test cases.
Thanks!
@tienifr He's adding more test cases in his end and validate all our proposals. So just wait @0xmiroslav
expecting update tomorrow
Triggered auto assignment to @flaviadefaria (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details.
Readded BZ label since I'm OOO next week.
still testing proposed solutions one by one
@0xmiroslav do you think you can this assigned to a contributor by tomorrow?
๐ฃ It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? ๐ธ
@0xmiroslav can you give an update?
Sorry I will update tomorrow
updating very soon
๐ฃ It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? ๐ธ
@0xmiroslav it's been more than 10 days here without hearing from you. What's going on? Also @sakluger as you're back I'm returning this to you.
Apologize for extreme delays on this issue. was focusing on more priority issues meanwhile. Update: added most automated cases myself locally and still fixing expected strings. I will give final update on Monday.
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 parse the deep link detail with email param.
Actual Result:
App can't parse the deep link detail with email param. The URL prefix (
https://
) is not part of the link, and we instead link incorrectly.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.2.92-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
https://user-images.githubusercontent.com/43996225/228922658-ef1627e6-9f3e-4f91-a52a-8cb26a5ea47f.mov
Expensify/Expensify Issue URL: Issue reported by: @hungvu193 Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1680191331185739
View all open jobs on GitHub
Upwork Automation - Do Not Edit