From 024ae7a30678d7ca7f2eddba8adc2b53d90c1ab2 Mon Sep 17 00:00:00 2001 From: krishna2323 Date: Tue, 18 Mar 2025 17:54:39 +0530 Subject: [PATCH 1/3] fix: Completed task does not show strikethrough style. Signed-off-by: krishna2323 --- src/components/ReportActionItem/TaskPreview.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/components/ReportActionItem/TaskPreview.tsx b/src/components/ReportActionItem/TaskPreview.tsx index 4f22d65cbea07..0e597ecd3a50d 100644 --- a/src/components/ReportActionItem/TaskPreview.tsx +++ b/src/components/ReportActionItem/TaskPreview.tsx @@ -85,6 +85,14 @@ function TaskPreview({taskReportID, action, contextMenuAnchor, chatReportID, che return ${translate('parentReportAction.deletedTask')}`} />; } + const getTaskHTML = () => { + if (isTaskCompleted) { + return `${action?.childReportName ?? taskReport?.reportName ?? ''}`; + } + + return `${action?.childReportName ?? taskReport?.reportName ?? ''}`; + }; + return ( )} - ${taskReport?.reportName ?? action?.childReportName ?? ''}`} /> + {shouldShowGreenDotIndicator && ( From 5b4dd9639f98126f07bf2fd5b9d342924cc2fb9c Mon Sep 17 00:00:00 2001 From: krishna2323 Date: Tue, 18 Mar 2025 18:11:57 +0530 Subject: [PATCH 2/3] fix: Chat - Bold markdown is not applied for url. Signed-off-by: krishna2323 --- src/styles/index.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/styles/index.ts b/src/styles/index.ts index 7e351983fe461..9cb8732b391d1 100644 --- a/src/styles/index.ts +++ b/src/styles/index.ts @@ -161,6 +161,12 @@ const webViewStyles = (theme: ThemeColors) => textDecorationStyle: 'solid', }, + strong: { + // We set fontFamily and fontWeight directly in order to avoid overriding fontStyle. + fontFamily: FontUtils.fontFamily.platform.EXP_NEUE_BOLD.fontFamily, + fontWeight: FontUtils.fontFamily.platform.EXP_NEUE_BOLD.fontWeight, + }, + a: link(theme), ul: { From 6bc2458d15a0566c7d4a439584582790b323a2a2 Mon Sep 17 00:00:00 2001 From: krishna2323 Date: Sat, 5 Apr 2025 23:14:24 +0530 Subject: [PATCH 3/3] remove duplicate styles. Signed-off-by: krishna2323 --- src/styles/index.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/styles/index.ts b/src/styles/index.ts index 8f5e7570ec3e8..5cdeae4166136 100644 --- a/src/styles/index.ts +++ b/src/styles/index.ts @@ -167,12 +167,6 @@ const webViewStyles = (theme: ThemeColors) => textDecorationStyle: 'solid', }, - strong: { - // We set fontFamily and fontWeight directly in order to avoid overriding fontStyle. - fontFamily: FontUtils.fontFamily.platform.EXP_NEUE_BOLD.fontFamily, - fontWeight: FontUtils.fontFamily.platform.EXP_NEUE_BOLD.fontWeight, - }, - a: link(theme), ul: {