From c7fdfdd035c47b0844d017ea8742768ed6158e68 Mon Sep 17 00:00:00 2001 From: jinapurapu <65002498+jinapurapu@users.noreply.github.com> Date: Thu, 17 Mar 2022 12:30:30 -0700 Subject: [PATCH] Added download all credentials button, added tooltips, removed Done button, Updated test to use corner X instead of Done button (#1704) --- .../CredentialsPrompt/CredentialsPrompt.tsx | 63 +++++++++++++------ .../Common/ModalWrapper/ModalWrapper.tsx | 1 + portal-ui/tests/operator/tenants.ts | 4 +- 3 files changed, 46 insertions(+), 22 deletions(-) diff --git a/portal-ui/src/screens/Console/Common/CredentialsPrompt/CredentialsPrompt.tsx b/portal-ui/src/screens/Console/Common/CredentialsPrompt/CredentialsPrompt.tsx index e83c9ad73..862c58b72 100644 --- a/portal-ui/src/screens/Console/Common/CredentialsPrompt/CredentialsPrompt.tsx +++ b/portal-ui/src/screens/Console/Common/CredentialsPrompt/CredentialsPrompt.tsx @@ -20,13 +20,14 @@ import { Theme } from "@mui/material/styles"; import createStyles from "@mui/styles/createStyles"; import withStyles from "@mui/styles/withStyles"; import { NewServiceAccount } from "./types"; -import { Button } from "@mui/material"; import ModalWrapper from "../ModalWrapper/ModalWrapper"; import Grid from "@mui/material/Grid"; import CredentialItem from "./CredentialItem"; import WarnIcon from "../../../../icons/WarnIcon"; import { DownloadIcon, ServiceAccountCredentialsIcon } from "../../../../icons"; +import RBIconButton from "../../Buckets/BucketDetails/SummaryItems/RBIconButton"; + const styles = (theme: Theme) => createStyles({ warningBlock: { @@ -164,7 +165,7 @@ const CredentialsPrompt = ({ ) : (