From 2485e2e97c8891bff5c43726b3ad84834cfeb884 Mon Sep 17 00:00:00 2001 From: ibolton336 Date: Thu, 4 Jan 2024 12:07:21 -0500 Subject: [PATCH] :sparkles: Improve documentation for source analysis mode Signed-off-by: ibolton336 --- client/public/locales/en/translation.json | 6 ++++++ .../app/pages/applications/analysis-wizard/set-mode.tsx | 9 +++++++++ 2 files changed, 15 insertions(+) diff --git a/client/public/locales/en/translation.json b/client/public/locales/en/translation.json index b7621ed97f..96ebc7abb7 100644 --- a/client/public/locales/en/translation.json +++ b/client/public/locales/en/translation.json @@ -485,6 +485,12 @@ "required": "This field is required." }, "wizard": { + "alert": { + "sourceMode": { + "title": "Source code mode", + "description": "In this mode, the analysis will be based on the source code only. POM files will be ignored." + } + }, "composed": { "enable": "Enable {{what}}", "excluded": "Excluded {{what}}", diff --git a/client/src/app/pages/applications/analysis-wizard/set-mode.tsx b/client/src/app/pages/applications/analysis-wizard/set-mode.tsx index 20c837ce87..d3294d44aa 100644 --- a/client/src/app/pages/applications/analysis-wizard/set-mode.tsx +++ b/client/src/app/pages/applications/analysis-wizard/set-mode.tsx @@ -85,6 +85,15 @@ export const SetMode: React.FC = ({ isSingleApp, isModeValid }) => {

{t("wizard.label.notAllAnalyzableDetails")}

)} + {mode === "source-code" && ( + +

{t("wizard.alert.sourceMode.description")}

+
+ )} {mode === "binary-upload" && } );