-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 2024-08-07] [$250] Android - Workspace - WS description with markdown is not shown correctly on opening preview #45635
Comments
Triggered auto assignment to @VictoriaExpensify ( |
We think that this bug might be related to #vip-vsp |
@VictoriaExpensify 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 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Workspace description should be shown as 😃 57 but displayed as 😃 57 What is the root cause of that problem?Current: Input: We see that the opening Let's take a look at the parsing regex taken from here:
So obviously the problem is with the second group above where it covers all the cases where the tag name starts with either
What changes do you think we should make in order to solve the problem?
Reference: https://www.rexegg.com/regex-boundaries.php#wordboundary We should append word boundary to the tag names
We don't need to prepend We see that this issue can happens with any other tags, we should apply word boundary for them as well. |
Job added to Upwork: https://www.upwork.com/jobs/~0183f826d1418b3bc1 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
Able to recreate. Agree this best fits under vip_vsb |
This explanation is wrong as it Anyways, I think the main root cause explanation is correct. we can move ahead with this solution. @gijoe0295 Here is what I want you to do in the PR.
Could you please share results for 3 & 4 before we assign you this issue? Thanks. |
1, 2 and 3: I added some test cases in Expensify/expensify-common#760 and re-run the test suites. Note that we could never have those last 2 test cases in App because we always parse bold text by For 4, I tried running perf-test but it failed even on
But my observation indicated that everything still work smoothly without any noticeable delay/performance impact. |
Great. Let's go then. @gijoe0295's proposal looks good to me. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @cristipaval, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @gijoe0295 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@parasharrajat PR Expensify/expensify-common#760 was merged. I wonder if I need to create an App PR to manually upgrade |
@cristipaval, @parasharrajat, @VictoriaExpensify, @gijoe0295 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@gijoe0295 Yes please, create a PR here to upgrade to new version |
@parasharrajat Should we upgrade to the latest version |
I would say latest. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.14-6 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 2024-08-07. 🎊 For reference, here are some details about the assignees on this 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:
|
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:
Regression Test Steps
Do you agree 👍 or 👎 ? |
@parasharrajat - were you able to identify the PR that caused this bug? Are you able to link it here? 🙏 |
I could not find the PR where this issue starts to show up. Technically, this issue came to light from the new markdown input lib and I am not which version of it created this issue. There are many PRs where we updated the version of this lib so It more hassle than its worth. Also, the issue is caused due to the regex which was present since the start of the ExpensifyParser so I don't see point in finding a 3 years old PR. |
No prob, thanks for your help and input @parasharrajat |
Created a testrail GH - https://github.com/Expensify/Expensify/issues/418362 |
Payment Summary Contributor: @gijoe0295 paid $250 via Upwork |
Payment requested as per #45635 (comment) |
$250 approved for @parasharrajat |
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: 9.0.8
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4697842
Issue reported by: Applause - Internal Team
Action Performed:
fhjj57😃57Expected Result:
Workspace description should be shown as
😃57Actual Result:
Workspace description should be shown as
😃57 but displayed as_😃57_Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6545580_1721244119403.Screenrecorder-2024-07-18-00-40-34-372_compress_1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @VictoriaExpensifyThe text was updated successfully, but these errors were encountered: