Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TM-1556] Admin Views: Add info icon text #746

Merged
merged 1 commit into from
Dec 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions src/admin/components/ResourceTabs/PolygonReviewTab/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import LinearProgressBarMonitored from "@/components/elements/ProgressBar/Linear
import Table from "@/components/elements/Table/Table";
import { VARIANT_TABLE_SITE_POLYGON_REVIEW } from "@/components/elements/Table/TableVariants";
import Text from "@/components/elements/Text/Text";
import ToolTip from "@/components/elements/Tooltip/Tooltip";
import Icon from "@/components/extensive/Icon/Icon";
import { IconNames } from "@/components/extensive/Icon/Icon";
import ModalAdd from "@/components/extensive/Modal/ModalAdd";
Expand Down Expand Up @@ -628,7 +629,9 @@ const PolygonReviewTab: FC<IProps> = props => {
<div className="w-40 lg:w-48">
<Text variant="text-14" className="flex items-center gap-1 text-darkCustom">
Site Status
<Icon name={IconNames.IC_INFO} className="h-3.5 w-3.5 text-darkCustom" />
<ToolTip title={""} content={"Site Status"} width="" trigger="click">
<Icon name={IconNames.IC_INFO} className="h-3.5 w-3.5 text-darkCustom" />
</ToolTip>
</Text>
<Text variant="text-14-bold" className="leading-[normal] text-black">
{record?.readable_status}
Expand All @@ -637,7 +640,9 @@ const PolygonReviewTab: FC<IProps> = props => {
<div className="w-full">
<Text variant="text-14" className="mb-2 flex items-center gap-1 text-darkCustom">
Polygon Overview
<Icon name={IconNames.IC_INFO} className="h-3.5 w-3.5 text-darkCustom" />
<ToolTip title={""} content={"Polygon Overview"} width="" trigger="click">
<Icon name={IconNames.IC_INFO} className="h-3.5 w-3.5 text-darkCustom" />
</ToolTip>
</Text>
<If condition={sitePolygonData.length < total}>
<Then>
Expand All @@ -655,7 +660,9 @@ const PolygonReviewTab: FC<IProps> = props => {
<div className="mb-2">
<Text variant="text-16-bold" className="mb-2 flex items-center gap-1 text-darkCustom">
Add or Edit Polygons
<Icon name={IconNames.IC_INFO} className="h-3.5 w-3.5 text-darkCustom" />
<ToolTip title={""} content={"Add or Edit Polygons"} width="" trigger="click">
<Icon name={IconNames.IC_INFO} className="h-3.5 w-3.5 text-darkCustom" />
</ToolTip>
</Text>
<Text variant="text-14-light" className="text-darkCustom">
Add, remove or edit polygons that are associated to a site. Polygons may be edited in the map
Expand Down
Loading