Skip to content

Commit

Permalink
✨ Improve documentation for source analysis mode
Browse files Browse the repository at this point in the history
Signed-off-by: ibolton336 <[email protected]>
  • Loading branch information
ibolton336 committed Jan 4, 2024
1 parent 30ec412 commit 2485e2e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions client/public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,15 @@ export const SetMode: React.FC<ISetMode> = ({ isSingleApp, isModeValid }) => {
<p>{t("wizard.label.notAllAnalyzableDetails")}</p>
</Alert>
)}
{mode === "source-code" && (
<Alert
variant="info"
isInline
title={t("wizard.alert.sourceMode.title")}
>
<p>{t("wizard.alert.sourceMode.description")}</p>
</Alert>
)}
{mode === "binary-upload" && <UploadBinary />}
</Form>
);
Expand Down

0 comments on commit 2485e2e

Please sign in to comment.