diff --git a/client/src/app/pages/applications/applications-table/applications-table.tsx b/client/src/app/pages/applications/applications-table/applications-table.tsx index 0bdcb6fd9..ed4ce863c 100644 --- a/client/src/app/pages/applications/applications-table/applications-table.tsx +++ b/client/src/app/pages/applications/applications-table/applications-table.tsx @@ -15,14 +15,8 @@ import { DropdownItem, Modal, Tooltip, - Flex, - FlexItem, } from "@patternfly/react-core"; -import { - PencilAltIcon, - QuestionCircleIcon, - TagIcon, -} from "@patternfly/react-icons"; +import { PencilAltIcon, TagIcon } from "@patternfly/react-icons"; import { Table, Thead, @@ -847,25 +841,15 @@ export const ApplicationsTable: React.FC = () => { {getColumnVisibility("tags") && ( )} - - - {t("terms.effort")} - - - - - - - - - + {getColumnVisibility("effort") && ( + + )} diff --git a/client/src/app/pages/issues/affected-applications/affected-applications.tsx b/client/src/app/pages/issues/affected-applications/affected-applications.tsx index bc9ba6f70..53e235c47 100644 --- a/client/src/app/pages/issues/affected-applications/affected-applications.tsx +++ b/client/src/app/pages/issues/affected-applications/affected-applications.tsx @@ -2,8 +2,6 @@ import * as React from "react"; import { Breadcrumb, BreadcrumbItem, - Flex, - FlexItem, PageSection, PageSectionVariants, Text, @@ -11,7 +9,6 @@ import { Toolbar, ToolbarContent, ToolbarItem, - Tooltip, } from "@patternfly/react-core"; import { useTranslation } from "react-i18next"; import { Table, Tbody, Td, Th, Thead, Tr } from "@patternfly/react-table"; @@ -39,7 +36,6 @@ import { } from "../helpers"; import { IssueDetailDrawer } from "../issue-detail-drawer"; import { TablePersistenceKeyPrefix } from "@app/Constants"; -import { QuestionCircleIcon } from "@patternfly/react-icons"; interface IAffectedApplicationsRouteParams { ruleset: string; @@ -187,26 +183,10 @@ export const AffectedApplications: React.FC = () => { - - {t("terms.effort")} - - - - - - - - - + info={{ + tooltip: `${t("message.applicationEffortTooltip")}`, + }} + /> diff --git a/client/src/app/pages/issues/issue-detail-drawer/issue-affected-files-table.tsx b/client/src/app/pages/issues/issue-detail-drawer/issue-affected-files-table.tsx index a73b3718f..404df21fb 100644 --- a/client/src/app/pages/issues/issue-detail-drawer/issue-affected-files-table.tsx +++ b/client/src/app/pages/issues/issue-detail-drawer/issue-affected-files-table.tsx @@ -2,12 +2,9 @@ import * as React from "react"; import { useTranslation } from "react-i18next"; import { Button, - Flex, - FlexItem, Toolbar, ToolbarContent, ToolbarItem, - Tooltip, } from "@patternfly/react-core"; import { Table, Tbody, Td, Th, Thead, Tr } from "@patternfly/react-table"; import spacing from "@patternfly/react-styles/css/utilities/Spacing/spacing"; @@ -29,7 +26,6 @@ import { SimplePagination } from "@app/components/SimplePagination"; import { FileIncidentsDetailModal } from "./file-incidents-detail-modal"; import { FilterToolbar, FilterType } from "@app/components/FilterToolbar"; import PathDisplay from "./path-display"; -import { QuestionCircleIcon } from "@patternfly/react-icons"; export interface IIssueAffectedFilesTableProps { issue: AnalysisIssue; @@ -140,25 +136,14 @@ export const IssueAffectedFilesTable: React.FC< {...getThProps({ columnKey: "incidents" })} modifier="nowrap" /> - - - {t("terms.effort")} - - - - - - - - - + diff --git a/client/src/app/pages/issues/issues-table.tsx b/client/src/app/pages/issues/issues-table.tsx index dcf6a3cd0..63bbe5074 100644 --- a/client/src/app/pages/issues/issues-table.tsx +++ b/client/src/app/pages/issues/issues-table.tsx @@ -70,7 +70,6 @@ import { AffectedAppsLink } from "./affected-apps-link"; import { ConditionalTooltip } from "@app/components/ConditionalTooltip"; import { IssueDetailDrawer } from "./issue-detail-drawer"; import { IssueDescriptionAndLinks } from "./components/issue-description-and-links"; -import { QuestionCircleIcon } from "@patternfly/react-icons"; export interface IIssuesTableProps { mode: "allIssues" | "singleApp"; @@ -329,25 +328,12 @@ export const IssuesTable: React.FC = ({ mode }) => { - - - {t("terms.effort")} - - - - - - - - - +