-
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-03-14] [$500] Workspace - System message for workspace description edit with mark down is not gray #36598
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Triggered auto assignment to @puneetlath ( |
This is useful to fix, but also doesn't feel like a blocker since everything seems to be working fine (just not a grayed out system message) |
ProposalPlease re-state the problem that we are trying to solve in this issue.The workspace description system message is not grayed out when the description is a markdown. What is the root cause of that problem?Currently, we check the action name and apply the gray color. App/src/pages/home/report/ReportActionItem.js Lines 482 to 494 in 9843f66
This works perfectly for a plain text, but not for markdown. When the description is a markdown, it will be rendered as HTML, App/src/pages/home/report/comment/TextCommentFragment.tsx Lines 53 to 65 in 9843f66
and the style we pass won't work. What changes do you think we should make in order to solve the problem?We can follow the same pattern as App/src/pages/home/report/ReportActionItem.js Lines 482 to 491 in 9843f66
and wrap the HTML with
Then, for the plain text, we will apply the style if
Or we can just leave the current |
@puneetlath Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
As this was deploy blocker, there should be offending PR. |
Making external. |
Job added to Upwork: https://www.upwork.com/jobs/~01435fd857fbcc98a7 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh ( |
It's noticeable when the workspace description page is introduced. |
ProposalPlease re-state the problem that we are trying to solve in this issue.The system message for workspace description edit is not grayed out when mark down is involved. What is the root cause of that problem?
I think ReporUtils.getParsedComment make system message to prevent "CONST.REPORT.ACTIONS.TYPE.POLICYCHANGELOG" What changes do you think we should make in order to solve the problem?Delete code below
|
@yoyumiracle thanks for your proposal. I don't think you have found the root cause yet. Also, your solution doesn't work. Please test your solution on your local next time. Btw, your solution would cause a regression bug, where it displays plain text instead of markdown after saving workspace description |
@bernhardoj Thanks for your proposal. It looks good to me, the root cause is correct and you provided a working solution.
I prefer this option. But the
I think we should test against 4 actions here to ensure it still works with that option. What do you think? |
@hoangzinh I'm on your side. App/src/libs/ReportActionsUtils.ts Lines 781 to 801 in 669ac33
Sorry for confusing. |
I honestly think that the style shouldn't be put there as it affects flagged content text. For our case, we can't flag the 4 actions, so I'm thinking that we should put the App/src/pages/home/report/ReportActionItemFragment.tsx Lines 112 to 120 in 8d60f67
And yes, we can test this. |
@yoyumiracle It won't because this condition is not true in this case
|
@bernhardoj proposal #36598 (comment) looks good to me. He pointed out the root cause and provided a working solution. 🎀👀🎀 C+ reviewed |
Current assignee @puneetlath is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @hoangzinh 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR is ready cc: @hoangzinh FYI, I haven't got the auto offer yet cc: @puneetlath |
Hm, weird that it didn't work sending you the auto-offer. If it doesn't do it, I'll send you one manually when it's time to pay. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.48-0 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-03-14. 🎊 For reference, here are some details about the assignees on this issue:
|
Sent you an offer @bernhardoj: https://www.upwork.com/nx/wm/offer/101362453 |
All paid. Thanks y'all! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: v1.4.42-1
Reproducible in staging?: y
Reproducible in production?: n
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
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
The system message for workspace description edit should appear gray, regardless of the usage of mark down in the description.
Actual Result:
The system message for workspace description edit is not grayed out when mark down is involved.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6380766_1708008538695.bandicam_2024-02-15_16-00-04-569.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: