You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2024-03-14] [$500] Workspace - System message for workspace description edit with mark down is not gray #36598
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:
Navigate to staging.new.expensify.com
Create a new workspace.
Go to workspace profile.
Click Workspace description.
Save a description without mark down.
Click Workspace description.
Save another description with mark down.
Go to #admin room.
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?
👋 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:
Identify the pull request that introduced this issue and revert it.
What changes do you think we should make in order to solve the problem?
We can follow the same pattern as styleAsDeleted props. Instead of passing the colorMuted style, we can have a new props called, styleAsMuted with the same condition as below
changed the title [-][$500] Workspace - System message for workspace description edit with mark down is not gray[/-][+][HOLD for payment 2024-03-14] [$500] Workspace - System message for workspace description edit with mark down is not gray[/+]on Mar 7, 2024
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:
Activity
github-actions commentedon Feb 15, 2024
👋 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:
melvin-bot commentedon Feb 15, 2024
Triggered auto assignment to @puneetlath (
Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.Beamanator commentedon Feb 15, 2024
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)
bernhardoj commentedon Feb 16, 2024
Proposal
Please 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
styleAsDeletedprops. Instead of passing thecolorMutedstyle, we can have a new props called,styleAsMutedwith the same condition as belowApp/src/pages/home/report/ReportActionItem.js
Lines 482 to 491 in 9843f66
and wrap the HTML with
<muted-text>tag to apply the gray text color.Then, for the plain text, we will apply the style if
styleAsMutedis true similar tostyleAsDeletedto every text that needs it.App/src/pages/home/report/comment/TextCommentFragment.tsx
Line 81 in 9843f66
Or we can just leave the current
stylewe have to reduce the changes and regression risk. Please let me know which way we should go.melvin-bot commentedon Feb 19, 2024
@puneetlath Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
situchan commentedon Feb 19, 2024
As this was deploy blocker, there should be offending PR.
@bernhardoj you know?
puneetlath commentedon Feb 19, 2024
Making external.
23 remaining items
bernhardoj commentedon Feb 23, 2024
PR is ready
cc: @hoangzinh
FYI, I haven't got the auto offer yet
cc: @puneetlath
puneetlath commentedon Feb 23, 2024
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.
[-][$500] Workspace - System message for workspace description edit with mark down is not gray[/-][+][HOLD for payment 2024-03-14] [$500] Workspace - System message for workspace description edit with mark down is not gray[/+]melvin-bot commentedon Mar 7, 2024
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Mar 7, 2024
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:
puneetlath commentedon Mar 13, 2024
Sent you an offer @bernhardoj: https://www.upwork.com/nx/wm/offer/101362453
puneetlath commentedon Mar 14, 2024
All paid. Thanks y'all!