import { Badge } from '@/react/components/Badge'; import { localizeDate } from '@/react/common/date-utils'; import { Alert } from '@@/Alert'; import { HelmRelease } from '../types'; import { DeploymentStatus, getStatusColor, getStatusText, } from '../helm-status-utils'; interface Props { release: HelmRelease; } export function HelmSummary({ release }: Props) { const isSuccess = release.info?.status === DeploymentStatus.DEPLOYED || release.info?.status === DeploymentStatus.SUPERSEDED; return (