diff --git a/portal-ui/src/screens/Console/Tools/Inspect.tsx b/portal-ui/src/screens/Console/Tools/Inspect.tsx index ab743e76a..e34ca2ba2 100644 --- a/portal-ui/src/screens/Console/Tools/Inspect.tsx +++ b/portal-ui/src/screens/Console/Tools/Inspect.tsx @@ -20,7 +20,7 @@ import PageHeader from "../Common/PageHeader/PageHeader"; import PageLayout from "../Common/Layout/PageLayout"; import InputBoxWrapper from "../Common/FormComponents/InputBoxWrapper/InputBoxWrapper"; import FormSwitchWrapper from "../Common/FormComponents/FormSwitchWrapper/FormSwitchWrapper"; -import { FileBookIcon, PasswordKeyIcon } from "../../../icons"; +import { PasswordKeyIcon } from "../../../icons"; import ModalWrapper from "../Common/ModalWrapper/ModalWrapper"; import { Theme } from "@mui/material/styles"; import createStyles from "@mui/styles/createStyles"; @@ -60,6 +60,45 @@ const mapDispatchToProps = { }; const connector = connect(mapState, mapDispatchToProps); +const ExampleBlock = ({ + volumeVal, + pathVal, +}: { + volumeVal: string; + pathVal: string; +}) => { + return ( + + + + {volumeVal} + + + + {pathVal} + + + + ); +}; + const Inspect = ({ classes, setErrorSnackMessage, @@ -171,10 +210,41 @@ const Inspect = ({ entity={"Inspect"} /> ) : ( - + @@ -281,37 +351,70 @@ const Inspect = ({ } + title={""} + iconComponent={null} help={ - Inspect files on MinIO server + + + + Learn more about the Inspect feature - Examples + Examples: - - - {" "} - test-bucket -
- - test*/xl.meta - - + @@ -380,23 +509,10 @@ const Inspect = ({
- - - - test-bucket -
- test*/*/part.* - - + @@ -407,30 +523,18 @@ const Inspect = ({ caution.
- - - - - test-bucket -
- test/** - - + You can learn more at our{" "} @@ -447,7 +551,7 @@ const Inspect = ({ } /> - + )} {decryptionKey ? ( } > - + This will be displayed only once. It cannot be recovered.
Use secure medium to share this key.
- +
{ + return false; + }} + > - +
) : null}