-
Notifications
You must be signed in to change notification settings - Fork 4k
[CP Stg] Fix category change log thread header to match the system message #98495
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
Changes from all commits
d72234d
85a80b2
ec1ea81
ee7a364
2f9df00
bcf213d
e953905
950737c
83b7d55
8bedf1c
7516e4d
ba6772a
8df90c0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -95,6 +95,7 @@ import { | |
| getUpdatedCardFeedStatementPeriodMessage, | ||
| getUpdatedProhibitedExpensesMessage, | ||
| getWorkspaceAttendeeTrackingUpdateMessage, | ||
| getWorkspaceCategoryUpdateMessage, | ||
| getWorkspaceCurrencyUpdateMessage, | ||
| getWorkspaceCustomUnitRateAddedMessage, | ||
| getWorkspaceCustomUnitRateDeletedMessage, | ||
|
|
@@ -111,6 +112,7 @@ import { | |
| isActionableJoinRequest, | ||
| isActionOfType, | ||
| isCardIssuedAction, | ||
| isCategoryModificationAction, | ||
| isDynamicExternalWorkflowApproveFailedAction, | ||
| isDynamicExternalWorkflowSubmitFailedAction, | ||
| isMarkAsClosedAction, | ||
|
|
@@ -699,6 +701,10 @@ function computeReportNameBasedOnReportAction({ | |
| return getReimburserUpdateMessage(translate, parentReportAction); | ||
| } | ||
|
|
||
| if (parentReportAction?.actionName && isCategoryModificationAction(parentReportAction.actionName)) { | ||
| return getWorkspaceCategoryUpdateMessage(translate, parentReportAction, reportPolicy); | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When this new branch handles an Useful? React with 👍 / 👎.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not a regression, but probably a legitimate bug we can address in a follow-up.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can probably DRY this since it's kinda repeated in src/libs/OptionsListUtils/index.ts |
||
| } | ||
|
|
||
| if ( | ||
| isActionOfType(parentReportAction, CONST.REPORT.ACTIONS.TYPE.POLICY_CHANGE_LOG.ADD_TAX) || | ||
| isActionOfType(parentReportAction, CONST.REPORT.ACTIONS.TYPE.POLICY_CHANGE_LOG.DELETE_TAX) || | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems separate bug.
Do you have repro step? I am not able to reproduce raw html rendering
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nvm, I reproduced with markdown input
i.e.
<strong>Client</strong> namesinstead of Client names