Skip to content

Commit

Permalink
✨ Improve documentation for source analysis mode (#1654)
Browse files Browse the repository at this point in the history
<img width="1240" alt="Screenshot 2024-01-04 at 12 05 39 PM"
src="https://github.com/konveyor/tackle2-ui/assets/11218376/4618ca64-e961-4f05-b9c6-59e392247e20">

Signed-off-by: ibolton336 <ibolton@redhat.com>
  • Loading branch information
ibolton336 committed Feb 19, 2024
1 parent 8a630d9 commit ea6e859
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 @@ -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}}",
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 ea6e859

Please sign in to comment.