From 1124fbb71ba9d33c83eddf98677a0eb68413cdc0 Mon Sep 17 00:00:00 2001 From: Iva Date: Thu, 14 Mar 2024 14:45:35 +0200 Subject: [PATCH 1/4] Add stars icon --- cl2-component-library/package.json | 2 +- cl2-component-library/src/components/Icon/index.tsx | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/cl2-component-library/package.json b/cl2-component-library/package.json index eb940c45797f..aead71e6eaef 100644 --- a/cl2-component-library/package.json +++ b/cl2-component-library/package.json @@ -1,5 +1,5 @@ { - "version": "0.11.34", + "version": "0.11.35", "license": "MIT", "main": "dist/index.js", "typings": "dist/index.d.ts", diff --git a/cl2-component-library/src/components/Icon/index.tsx b/cl2-component-library/src/components/Icon/index.tsx index 50e1f75824f6..348ffa934100 100644 --- a/cl2-component-library/src/components/Icon/index.tsx +++ b/cl2-component-library/src/components/Icon/index.tsx @@ -755,6 +755,18 @@ export const icons = { ), + stars: (props: IconPropsWithoutName) => ( + + + + + ), database: (props: IconPropsWithoutName) => ( Date: Thu, 14 Mar 2024 14:50:20 +0200 Subject: [PATCH 2/4] Change icon --- .../projects/project/analysis/Insights/SummarizeButton.tsx | 2 +- .../projects/project/analysis/Insights/SummaryHeader.tsx | 2 +- .../Admin/projects/project/analysis/LaunchModal/index.tsx | 2 +- .../projects/project/analysis/Tags/AutoTaggingModal/Step1.tsx | 4 ++-- .../containers/Admin/projects/project/analysis/Tags/index.tsx | 2 +- .../Admin/projects/project/ideas/AnalysisBanner.tsx | 4 ++-- .../FormResultsQuestion/TextQuestion/Analysis/index.tsx | 4 ++-- .../FormResultsQuestion/TextQuestion/AnalysisUpsell/index.tsx | 2 +- .../reporting/components/ReportBuilder/Toolbox/index.tsx | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/front/app/containers/Admin/projects/project/analysis/Insights/SummarizeButton.tsx b/front/app/containers/Admin/projects/project/analysis/Insights/SummarizeButton.tsx index 94a469fdb016..f542231e4850 100644 --- a/front/app/containers/Admin/projects/project/analysis/Insights/SummarizeButton.tsx +++ b/front/app/containers/Admin/projects/project/analysis/Insights/SummarizeButton.tsx @@ -92,7 +92,7 @@ const SummarizeButton = () => { > ); diff --git a/front/app/containers/Admin/projects/project/analysis/LaunchModal/index.tsx b/front/app/containers/Admin/projects/project/analysis/LaunchModal/index.tsx index 0a832683a745..ba56980a8a07 100644 --- a/front/app/containers/Admin/projects/project/analysis/LaunchModal/index.tsx +++ b/front/app/containers/Admin/projects/project/analysis/LaunchModal/index.tsx @@ -28,7 +28,7 @@ const LaunchModal = ({ onClose }: LaunchModalProps) => { id="e2e-analysis-launch-modal" > - + {formatMessage(messages.title)} diff --git a/front/app/containers/Admin/projects/project/analysis/Tags/AutoTaggingModal/Step1.tsx b/front/app/containers/Admin/projects/project/analysis/Tags/AutoTaggingModal/Step1.tsx index f72dd90829d2..1aaefddc435c 100644 --- a/front/app/containers/Admin/projects/project/analysis/Tags/AutoTaggingModal/Step1.tsx +++ b/front/app/containers/Admin/projects/project/analysis/Tags/AutoTaggingModal/Step1.tsx @@ -121,7 +121,7 @@ const AutoTagOption = ({ alignItems="center" > - {' '} + {' '} {formatMessage(messages.autoTagTitle)} {formatMessage(messages.autoTagDescription)} diff --git a/front/app/containers/Admin/projects/project/analysis/Tags/index.tsx b/front/app/containers/Admin/projects/project/analysis/Tags/index.tsx index a931717ddd6d..7b8bcbe16db9 100644 --- a/front/app/containers/Admin/projects/project/analysis/Tags/index.tsx +++ b/front/app/containers/Admin/projects/project/analysis/Tags/index.tsx @@ -195,7 +195,7 @@ const Tags = () => { @@ -192,7 +192,7 @@ const Analysis = ({ }) } buttonStyle="secondary" - icon="flash" + icon="stars" > {formatMessage(messages.showSummaries)} diff --git a/front/app/containers/Admin/projects/project/nativeSurvey/FormResults/FormResultsQuestion/TextQuestion/AnalysisUpsell/index.tsx b/front/app/containers/Admin/projects/project/nativeSurvey/FormResults/FormResultsQuestion/TextQuestion/AnalysisUpsell/index.tsx index 4affac4a3581..09c283796d56 100644 --- a/front/app/containers/Admin/projects/project/nativeSurvey/FormResults/FormResultsQuestion/TextQuestion/AnalysisUpsell/index.tsx +++ b/front/app/containers/Admin/projects/project/nativeSurvey/FormResults/FormResultsQuestion/TextQuestion/AnalysisUpsell/index.tsx @@ -18,7 +18,7 @@ const AnalysisUpsell = () => { const { formatMessage } = useIntl(); return ( - + {formatMessage(messages.title)}
    diff --git a/front/app/containers/Admin/reporting/components/ReportBuilder/Toolbox/index.tsx b/front/app/containers/Admin/reporting/components/ReportBuilder/Toolbox/index.tsx index dbf27ba75703..724adbb97a81 100644 --- a/front/app/containers/Admin/reporting/components/ReportBuilder/Toolbox/index.tsx +++ b/front/app/containers/Admin/reporting/components/ReportBuilder/Toolbox/index.tsx @@ -142,7 +142,7 @@ const ReportBuilderToolbox = ({