diff --git a/libs/ui-lib/lib/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.tsx b/libs/ui-lib/lib/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.tsx index b524e46b91..b5ef951184 100644 --- a/libs/ui-lib/lib/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.tsx +++ b/libs/ui-lib/lib/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.tsx @@ -1,11 +1,11 @@ import React from 'react'; import { SupportLevel } from '@openshift-assisted/types/assisted-installer-service'; -import { FeatureId, isPreviewSupportLevel } from '../../types'; +import { isPreviewSupportLevel } from '../../types'; import { TechnologyPreview } from '../ui/TechnologyPreview'; import { DeveloperPreview } from '../ui/DeveloperPreview'; export type NewSupportLevelBadgeProps = { - featureId: FeatureId; + featureId: string; supportLevel: SupportLevel | undefined; }; diff --git a/libs/ui-lib/lib/ocm/components/clusterConfiguration/operators/bundleSpecs.tsx b/libs/ui-lib/lib/ocm/components/clusterConfiguration/operators/bundleSpecs.tsx index b50742d225..dc4e133a0b 100644 --- a/libs/ui-lib/lib/ocm/components/clusterConfiguration/operators/bundleSpecs.tsx +++ b/libs/ui-lib/lib/ocm/components/clusterConfiguration/operators/bundleSpecs.tsx @@ -1,9 +1,8 @@ import * as React from 'react'; import { List, ListItem } from '@patternfly/react-core'; -import { FeatureId, OPENSHIFT_AI_REQUIREMENTS_LINK } from '../../../../common'; +import { OPENSHIFT_AI_REQUIREMENTS_LINK } from '../../../../common'; export type BundleSpec = { - featureId?: FeatureId; noSNO?: boolean; incompatibleBundles?: string[]; Description: React.ComponentType; @@ -28,7 +27,6 @@ export const bundleSpecs: { [key: string]: BundleSpec } = { ), }, 'openshift-ai-nvidia': { - featureId: 'OPENSHIFT_AI', noSNO: true, incompatibleBundles: ['openshift-ai-amd'], Description: () => ( @@ -46,7 +44,6 @@ export const bundleSpecs: { [key: string]: BundleSpec } = { docsLink: OPENSHIFT_AI_REQUIREMENTS_LINK, }, 'openshift-ai-amd': { - featureId: 'OPENSHIFT_AI', noSNO: true, incompatibleBundles: ['openshift-ai-nvidia'], Description: () => ( diff --git a/libs/ui-lib/lib/ocm/components/clusterWizard/OperatorsBundle.tsx b/libs/ui-lib/lib/ocm/components/clusterWizard/OperatorsBundle.tsx index 94a8591d3f..e5b4e55e74 100644 --- a/libs/ui-lib/lib/ocm/components/clusterWizard/OperatorsBundle.tsx +++ b/libs/ui-lib/lib/ocm/components/clusterWizard/OperatorsBundle.tsx @@ -186,19 +186,17 @@ const BundleCard = ({
{bundle.description}
- {bundleSpec.featureId && ( - - - - - - - - - )} + + + + + + + +