From 1e9fc0d22dcba4898698563a1e8016dbcd8d2bd0 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 f97c91fc2..01fd411fc 100644 --- a/client/public/locales/en/translation.json +++ b/client/public/locales/en/translation.json @@ -486,6 +486,12 @@ "required": "This field is required." }, "wizard": { + "alert": { + "sourceMode": { + "title": "Source Code Mode", + "description": "This mode focuses on analyzing the source code. Language-specific dependency configurations, like in Java's POM files, are not the primary focus and may not be fully analyzed." + } + }, "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 20c837ce8..d3294d44a 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" && } );