@openshift-assisted/ui-lib 2.50.1 → 2.51.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/@types/cim/components/Agent/BMHStatusInfo.d.ts.map +1 -1
- package/build/@types/cim/components/Agent/MinimalHWRequirements.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts +1 -1
- package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/ConditionsTable.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/HostedClusterProgress.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsProgress.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/utils/status.d.ts +2 -2
- package/build/@types/cim/components/Hypershift/utils/status.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/EnvironmentDetails.d.ts.map +1 -1
- package/build/@types/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/agentStatus.d.ts +1 -1
- package/build/@types/cim/components/helpers/agentStatus.d.ts.map +1 -1
- package/build/@types/cim/components/modals/MassDeleteAgentModal.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/FinalizingProgress.d.ts +1 -1
- package/build/@types/common/components/clusterDetail/FinalizingProgress.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/OperatorsProgressItem.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/ProgressBarTexts.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/ReviewValidations.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostPropertyValidationPopover.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostStatus.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostValidationGroups.d.ts.map +1 -1
- package/build/@types/common/components/hosts/Hostname.d.ts.map +1 -1
- package/build/@types/common/components/hosts/MassChangeHostnameModal.d.ts.map +1 -1
- package/build/@types/common/components/hosts/VMRebootConfigurationInfo.d.ts.map +1 -1
- package/build/@types/common/components/hosts/status.d.ts.map +1 -1
- package/build/@types/common/components/storage/DisksTable.d.ts.map +1 -1
- package/build/@types/common/components/storage/StorageUtils.d.ts +1 -1
- package/build/@types/common/components/storage/StorageUtils.d.ts.map +1 -1
- package/build/@types/common/components/ui/WizardNavItem.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/RemovableField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/RichInputField.d.ts.map +1 -1
- package/build/@types/common/components/ui/index.d.ts +0 -1
- package/build/@types/common/components/ui/index.d.ts.map +1 -1
- package/build/@types/common/config/constants.d.ts +2 -2
- package/build/@types/common/config/constants.d.ts.map +1 -1
- package/build/@types/common/config/docs_links.d.ts +1 -0
- package/build/@types/common/config/docs_links.d.ts.map +1 -1
- package/build/@types/common/types/index.d.ts +1 -0
- package/build/@types/common/types/index.d.ts.map +1 -1
- package/build/@types/common/types/networkType.d.ts +12 -0
- package/build/@types/common/types/networkType.d.ts.map +1 -0
- package/build/@types/common/types/ui-settings.d.ts +0 -1
- package/build/@types/common/types/ui-settings.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmOperatorProgressItem.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.d.ts +8 -0
- package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.d.ts.map +1 -0
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterProperties.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/HostInventoryExpandable.d.ts +1 -1
- package/build/@types/ocm/components/clusterDetail/HostInventoryExpandable.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/OpenShiftVersionDetail.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ResetClusterModal.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterDetails.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts +2 -2
- package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts +0 -2
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/constants.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/disconnected/BasicStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts +1 -1
- package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClusterStatus.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts.map +1 -1
- package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
- package/build/@types/ocm/components/ui/InfoLinkWithModal.d.ts.map +1 -1
- package/build/@types/ocm/hooks/useUISettings.d.ts.map +1 -1
- package/build/@types/ocm/services/ClusterDetailsService.d.ts +1 -2
- package/build/@types/ocm/services/ClusterDetailsService.d.ts.map +1 -1
- package/build/@types/ocm/services/types.d.ts +0 -1
- package/build/@types/ocm/services/types.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/clusters/selectors.d.ts +1 -2
- package/build/@types/ocm/store/slices/clusters/selectors.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts +3 -3
- package/build/cjs/cim/components/Agent/BMHStatusInfo.js +4 -4
- package/build/cjs/cim/components/Agent/BMHStatusInfo.js.map +1 -1
- package/build/cjs/cim/components/Agent/MinimalHWRequirements.js +2 -2
- package/build/cjs/cim/components/Agent/MinimalHWRequirements.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js +3 -3
- package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js +7 -6
- package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js +3 -2
- package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js +2 -2
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/utils/status.js +8 -7
- package/build/cjs/cim/components/Hypershift/utils/status.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js +4 -4
- package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js +3 -3
- package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js.map +1 -1
- package/build/cjs/cim/components/helpers/agentStatus.js +3 -2
- package/build/cjs/cim/components/helpers/agentStatus.js.map +1 -1
- package/build/cjs/cim/components/modals/MassDeleteAgentModal.js +2 -2
- package/build/cjs/cim/components/modals/MassDeleteAgentModal.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js +2 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/FinalizingProgress.js +8 -7
- package/build/cjs/common/components/clusterDetail/FinalizingProgress.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js +4 -4
- package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js +5 -4
- package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/ReviewValidations.js +7 -6
- package/build/cjs/common/components/clusterWizard/ReviewValidations.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.js +3 -3
- package/build/cjs/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.js +3 -2
- package/build/cjs/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js +2 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js.map +1 -1
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js +6 -6
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js.map +1 -1
- package/build/cjs/common/components/hosts/HostStatus.js +2 -1
- package/build/cjs/common/components/hosts/HostStatus.js.map +1 -1
- package/build/cjs/common/components/hosts/HostValidationGroups.js +6 -6
- package/build/cjs/common/components/hosts/HostValidationGroups.js.map +1 -1
- package/build/cjs/common/components/hosts/Hostname.js +4 -3
- package/build/cjs/common/components/hosts/Hostname.js.map +1 -1
- package/build/cjs/common/components/hosts/MassChangeHostnameModal.js +2 -2
- package/build/cjs/common/components/hosts/MassChangeHostnameModal.js.map +1 -1
- package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js +2 -1
- package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js.map +1 -1
- package/build/cjs/common/components/hosts/status.js +19 -13
- package/build/cjs/common/components/hosts/status.js.map +1 -1
- package/build/cjs/common/components/storage/DisksTable.js +4 -2
- package/build/cjs/common/components/storage/DisksTable.js.map +1 -1
- package/build/cjs/common/components/storage/StorageUtils.js +3 -2
- package/build/cjs/common/components/storage/StorageUtils.js.map +1 -1
- package/build/cjs/common/components/ui/WizardNavItem.js +2 -2
- package/build/cjs/common/components/ui/WizardNavItem.js.map +1 -1
- package/build/cjs/common/components/ui/formik/RemovableField.js +3 -3
- package/build/cjs/common/components/ui/formik/RemovableField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/RichInputField.js +4 -4
- package/build/cjs/common/components/ui/formik/RichInputField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/TextAreaField.js +1 -1
- package/build/cjs/common/components/ui/formik/TextAreaField.js.map +1 -1
- package/build/cjs/common/components/ui/index.js +1 -3
- package/build/cjs/common/components/ui/index.js.map +1 -1
- package/build/cjs/common/config/constants.js +3 -4
- package/build/cjs/common/config/constants.js.map +1 -1
- package/build/cjs/common/config/docs_links.js +3 -2
- package/build/cjs/common/config/docs_links.js.map +1 -1
- package/build/cjs/common/types/index.js +1 -0
- package/build/cjs/common/types/index.js.map +1 -1
- package/build/cjs/common/types/networkType.js +28 -0
- package/build/cjs/common/types/networkType.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +1 -7
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js +4 -4
- package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.js +5 -2
- package/build/cjs/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js +92 -6
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.js +4 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js +3 -6
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.js +61 -0
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.js.map +1 -0
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.js +5 -3
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js +11 -7
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterProperties.js +1 -5
- package/build/cjs/ocm/components/clusterDetail/ClusterProperties.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/HostInventoryExpandable.js +5 -4
- package/build/cjs/ocm/components/clusterDetail/HostInventoryExpandable.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js +4 -3
- package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js +4 -2
- package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +16 -9
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +5 -7
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContext.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +13 -24
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/constants.js +1 -0
- package/build/cjs/ocm/components/clusterWizard/constants.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js +7 -6
- package/build/cjs/ocm/components/clusterWizard/disconnected/BasicStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +9 -1
- package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterStatus.js +13 -7
- package/build/cjs/ocm/components/clusters/ClusterStatus.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js +7 -6
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +15 -0
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
- package/build/cjs/ocm/components/ui/InfoLinkWithModal.js +2 -2
- package/build/cjs/ocm/components/ui/InfoLinkWithModal.js.map +1 -1
- package/build/cjs/ocm/hooks/useUISettings.js +0 -1
- package/build/cjs/ocm/hooks/useUISettings.js.map +1 -1
- package/build/cjs/ocm/services/ClusterDetailsService.js +2 -2
- package/build/cjs/ocm/services/ClusterDetailsService.js.map +1 -1
- package/build/cjs/ocm/store/slices/clusters/selectors.js.map +1 -1
- package/lib/cim/components/Agent/BMHStatusInfo.tsx +12 -4
- package/lib/cim/components/Agent/MinimalHWRequirements.tsx +4 -2
- package/lib/cim/components/ClusterDeployment/networkConfigurationValidation.ts +1 -1
- package/lib/cim/components/Hypershift/DetailsPage/ConditionsTable.tsx +13 -7
- package/lib/cim/components/Hypershift/DetailsPage/HostedClusterProgress.tsx +8 -4
- package/lib/cim/components/Hypershift/DetailsPage/NodePoolsProgress.tsx +6 -2
- package/lib/cim/components/Hypershift/utils/status.tsx +20 -9
- package/lib/cim/components/InfraEnv/EnvironmentDetails.tsx +11 -4
- package/lib/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.tsx +4 -6
- package/lib/cim/components/helpers/agentStatus.tsx +7 -3
- package/lib/cim/components/modals/MassDeleteAgentModal.tsx +12 -5
- package/lib/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.tsx +5 -2
- package/lib/common/components/clusterDetail/FinalizingProgress.tsx +21 -10
- package/lib/common/components/clusterDetail/OperatorsProgressItem.tsx +11 -5
- package/lib/common/components/clusterDetail/ProgressBarTexts.tsx +17 -5
- package/lib/common/components/clusterWizard/ReviewValidations.tsx +15 -6
- package/lib/common/components/clusterWizard/networkingSteps/NetworkTypeControlGroup.tsx +1 -1
- package/lib/common/components/clusterWizard/networkingSteps/StackTypeControlGroup.tsx +5 -6
- package/lib/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.tsx +2 -2
- package/lib/common/components/hosts/HostPropertyValidationPopover.tsx +9 -5
- package/lib/common/components/hosts/HostStatus.tsx +14 -3
- package/lib/common/components/hosts/HostValidationGroups.tsx +9 -5
- package/lib/common/components/hosts/Hostname.tsx +7 -4
- package/lib/common/components/hosts/MassChangeHostnameModal.tsx +6 -2
- package/lib/common/components/hosts/VMRebootConfigurationInfo.tsx +12 -3
- package/lib/common/components/hosts/status.tsx +46 -13
- package/lib/common/components/storage/DisksTable.tsx +15 -4
- package/lib/common/components/storage/StorageUtils.tsx +6 -4
- package/lib/common/components/ui/WizardNavItem.tsx +4 -7
- package/lib/common/components/ui/formik/RemovableField.tsx +8 -4
- package/lib/common/components/ui/formik/RichInputField.tsx +10 -6
- package/lib/common/components/ui/formik/TextAreaField.tsx +1 -1
- package/lib/common/components/ui/index.ts +0 -2
- package/lib/common/config/constants.ts +1 -3
- package/lib/common/config/docs_links.ts +2 -0
- package/lib/common/types/index.ts +1 -0
- package/lib/common/types/networkType.ts +37 -0
- package/lib/common/types/ui-settings.ts +0 -1
- package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +1 -8
- package/lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx +11 -5
- package/lib/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.tsx +8 -7
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.tsx +160 -20
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.tsx +5 -1
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.tsx +7 -10
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.tsx +142 -0
- package/lib/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.tsx +6 -3
- package/lib/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.tsx +3 -7
- package/lib/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.tsx +28 -15
- package/lib/ocm/components/clusterDetail/ClusterProperties.tsx +2 -6
- package/lib/ocm/components/clusterDetail/HostInventoryExpandable.tsx +11 -5
- package/lib/ocm/components/clusterDetail/OpenShiftVersionDetail.tsx +8 -5
- package/lib/ocm/components/clusterDetail/ResetClusterModal.tsx +6 -3
- package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +17 -13
- package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +7 -8
- package/lib/ocm/components/clusterWizard/ClusterWizardContext.tsx +0 -2
- package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +20 -42
- package/lib/ocm/components/clusterWizard/constants.ts +1 -0
- package/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx +12 -11
- package/lib/ocm/components/clusterWizard/wizardTransition.ts +9 -1
- package/lib/ocm/components/clusters/ClusterStatus.tsx +30 -8
- package/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx +12 -8
- package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +17 -0
- package/lib/ocm/components/ui/InfoLinkWithModal.tsx +4 -2
- package/lib/ocm/hooks/useUISettings.ts +0 -1
- package/lib/ocm/services/ClusterDetailsService.ts +0 -3
- package/lib/ocm/services/types.ts +0 -1
- package/lib/ocm/store/slices/clusters/selectors.tsx +2 -1
- package/package.json +4 -4
- package/build/@types/common/components/ui/UiIcon.d.ts +0 -11
- package/build/@types/common/components/ui/UiIcon.d.ts.map +0 -1
- package/build/@types/ocm/components/clusterConfiguration/CustomManifestCheckbox.d.ts +0 -8
- package/build/@types/ocm/components/clusterConfiguration/CustomManifestCheckbox.d.ts.map +0 -1
- package/build/cjs/common/components/ui/UiIcon.js +0 -11
- package/build/cjs/common/components/ui/UiIcon.js.map +0 -1
- package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js +0 -58
- package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js.map +0 -1
- package/lib/common/components/ui/UiIcon.tsx +0 -21
- package/lib/ocm/components/clusterConfiguration/CustomManifestCheckbox.tsx +0 -114
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
Popover,
|
|
4
|
+
Button,
|
|
5
|
+
Content,
|
|
6
|
+
FlexItem,
|
|
7
|
+
Flex,
|
|
8
|
+
Stack,
|
|
9
|
+
StackItem,
|
|
10
|
+
Icon,
|
|
11
|
+
} from '@patternfly/react-core';
|
|
3
12
|
import { PopoverProps } from '@patternfly/react-core/dist/js/components/Popover/Popover';
|
|
4
13
|
import { ExclamationTriangleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
|
|
5
14
|
import { UnknownIcon } from '@patternfly/react-icons/dist/js/icons/unknown-icon';
|
|
@@ -8,7 +17,7 @@ import hdate from 'human-date';
|
|
|
8
17
|
|
|
9
18
|
import { Host, HostProgressInfo } from '@openshift-assisted/types/assisted-installer-service';
|
|
10
19
|
import { ValidationsInfo } from '../../types/hosts';
|
|
11
|
-
import { ExternalLink,
|
|
20
|
+
import { ExternalLink, getHumanizedDateTime } from '../ui';
|
|
12
21
|
|
|
13
22
|
import HostProgress from './HostProgress';
|
|
14
23
|
import { getHostProgressStageNumber, getHostProgressStages } from './utils';
|
|
@@ -227,7 +236,9 @@ const getHostStatusIcon = (
|
|
|
227
236
|
minWidth="20rem"
|
|
228
237
|
maxWidth="30rem"
|
|
229
238
|
>
|
|
230
|
-
<
|
|
239
|
+
<Icon size="sm" status="warning">
|
|
240
|
+
<ExclamationTriangleIcon />
|
|
241
|
+
</Icon>
|
|
231
242
|
</Popover>
|
|
232
243
|
);
|
|
233
244
|
} else return icon;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import React, { Fragment, ReactElement } from 'react';
|
|
2
|
-
import { Alert, AlertGroup, AlertVariant, Level, LevelItem } from '@patternfly/react-core';
|
|
3
|
-
import { t_global_icon_color_status_warning_default as warningColor } from '@patternfly/react-tokens/dist/js/t_global_icon_color_status_warning_default';
|
|
4
|
-
import { t_global_color_status_success_default as okColor } from '@patternfly/react-tokens/dist/js/t_global_color_status_success_default';
|
|
2
|
+
import { Alert, AlertGroup, AlertVariant, Icon, Level, LevelItem } from '@patternfly/react-core';
|
|
5
3
|
import { PendingIcon } from '@patternfly/react-icons/dist/js/icons/pending-icon';
|
|
6
4
|
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
7
5
|
import { ExclamationTriangleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
|
|
@@ -293,7 +291,10 @@ export const HostValidationGroups = ({
|
|
|
293
291
|
if (failedValidations.length) {
|
|
294
292
|
return (
|
|
295
293
|
<>
|
|
296
|
-
{t('ai:Failed')}
|
|
294
|
+
{t('ai:Failed')}{' '}
|
|
295
|
+
<Icon status="warning">
|
|
296
|
+
<ExclamationTriangleIcon />
|
|
297
|
+
</Icon>
|
|
297
298
|
</>
|
|
298
299
|
);
|
|
299
300
|
} else if (pendingValidations.length) {
|
|
@@ -305,7 +306,10 @@ export const HostValidationGroups = ({
|
|
|
305
306
|
}
|
|
306
307
|
return (
|
|
307
308
|
<>
|
|
308
|
-
{t('ai:Ready')}
|
|
309
|
+
{t('ai:Ready')}{' '}
|
|
310
|
+
<Icon status="success">
|
|
311
|
+
<CheckCircleIcon />
|
|
312
|
+
</Icon>
|
|
309
313
|
</>
|
|
310
314
|
);
|
|
311
315
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Button, ButtonVariant, Flex, FlexItem, Popover } from '@patternfly/react-core';
|
|
2
|
+
import { Button, ButtonVariant, Flex, FlexItem, Icon, Popover } from '@patternfly/react-core';
|
|
3
3
|
import { ExclamationTriangleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
|
|
4
|
-
import { t_global_icon_color_status_warning_default as warningColor } from '@patternfly/react-tokens/dist/js/t_global_icon_color_status_warning_default';
|
|
5
4
|
import type { Host, Inventory } from '@openshift-assisted/types/assisted-installer-service';
|
|
6
5
|
import { getHostname } from './utils';
|
|
7
6
|
import { DASH } from '../constants';
|
|
@@ -44,7 +43,9 @@ const Hostname: React.FC<HostnameProps> = ({
|
|
|
44
43
|
<Flex alignItems={{ default: 'alignItemsCenter' }}>
|
|
45
44
|
{onEditHostname && !isValid && (
|
|
46
45
|
<FlexItem className={'pf-v6-u-mr-xs'}>
|
|
47
|
-
<
|
|
46
|
+
<Icon status="warning">
|
|
47
|
+
<ExclamationTriangleIcon />
|
|
48
|
+
</Icon>
|
|
48
49
|
</FlexItem>
|
|
49
50
|
)}
|
|
50
51
|
<FlexItem>{hostname}</FlexItem>
|
|
@@ -61,7 +62,9 @@ const Hostname: React.FC<HostnameProps> = ({
|
|
|
61
62
|
headerContent={
|
|
62
63
|
<Flex alignItems={{ default: 'alignItemsCenter' }}>
|
|
63
64
|
<FlexItem className={'pf-v6-u-mr-xs'}>
|
|
64
|
-
<
|
|
65
|
+
<Icon status="warning">
|
|
66
|
+
<ExclamationTriangleIcon />
|
|
67
|
+
</Icon>
|
|
65
68
|
</FlexItem>
|
|
66
69
|
<FlexItem>{t('ai:Hostname is not valid')}</FlexItem>
|
|
67
70
|
</Flex>
|
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
Form,
|
|
8
8
|
HelperText,
|
|
9
9
|
HelperTextItem,
|
|
10
|
+
Icon,
|
|
10
11
|
Modal,
|
|
11
12
|
ModalBody,
|
|
12
13
|
ModalFooter,
|
|
@@ -19,7 +20,6 @@ import {
|
|
|
19
20
|
} from '@patternfly/react-core';
|
|
20
21
|
import { Formik, useFormikContext } from 'formik';
|
|
21
22
|
import * as Yup from 'yup';
|
|
22
|
-
import { t_global_icon_color_status_info_default as blueInfoColor } from '@patternfly/react-tokens/dist/js/t_global_icon_color_status_info_default';
|
|
23
23
|
import { InfoCircleIcon } from '@patternfly/react-icons/dist/js/icons/info-circle-icon';
|
|
24
24
|
import { TFunction } from 'i18next';
|
|
25
25
|
|
|
@@ -236,7 +236,11 @@ const MassChangeHostnameForm = ({
|
|
|
236
236
|
>
|
|
237
237
|
<Button
|
|
238
238
|
variant="link"
|
|
239
|
-
icon={
|
|
239
|
+
icon={
|
|
240
|
+
<Icon status="info">
|
|
241
|
+
<InfoCircleIcon />
|
|
242
|
+
</Icon>
|
|
243
|
+
}
|
|
240
244
|
isInline
|
|
241
245
|
>
|
|
242
246
|
{t('ai:Not changeable')}
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
Button,
|
|
4
|
+
ButtonVariant,
|
|
5
|
+
Popover,
|
|
6
|
+
Content,
|
|
7
|
+
ContentVariants,
|
|
8
|
+
Icon,
|
|
9
|
+
} from '@patternfly/react-core';
|
|
3
10
|
import { InfoCircleIcon } from '@patternfly/react-icons/dist/js/icons/info-circle-icon';
|
|
4
11
|
import { Trans } from 'react-i18next';
|
|
5
|
-
import { PrismCode
|
|
12
|
+
import { PrismCode } from '../../../common/components/ui';
|
|
6
13
|
import { useTranslation } from '../../hooks/use-translation-wrapper';
|
|
7
14
|
|
|
8
15
|
export const VMRebootConfigurationContent = () => {
|
|
@@ -43,7 +50,9 @@ const VMRebootConfigurationInfo = () => {
|
|
|
43
50
|
<Popover bodyContent={<VMRebootConfigurationContent />} minWidth="35rem">
|
|
44
51
|
<Button variant={ButtonVariant.link} isInline>
|
|
45
52
|
<>
|
|
46
|
-
<
|
|
53
|
+
<Icon size="sm">
|
|
54
|
+
<InfoCircleIcon />
|
|
55
|
+
</Icon>
|
|
47
56
|
|
|
48
57
|
</>
|
|
49
58
|
{t('ai:Check your VM reboot configuration')}
|
|
@@ -8,13 +8,10 @@ import { ExclamationTriangleIcon } from '@patternfly/react-icons/dist/js/icons/e
|
|
|
8
8
|
import { InProgressIcon } from '@patternfly/react-icons/dist/js/icons/in-progress-icon';
|
|
9
9
|
import { LinkIcon } from '@patternfly/react-icons/dist/js/icons/link-icon';
|
|
10
10
|
import { PendingIcon } from '@patternfly/react-icons/dist/js/icons/pending-icon';
|
|
11
|
-
import { t_global_icon_color_status_danger_default as dangerColor } from '@patternfly/react-tokens/dist/js/t_global_icon_color_status_danger_default';
|
|
12
|
-
import { t_global_icon_color_status_warning_default as warningColor } from '@patternfly/react-tokens/dist/js/t_global_icon_color_status_warning_default';
|
|
13
|
-
import { t_global_color_status_success_default as okColor } from '@patternfly/react-tokens/dist/js/t_global_color_status_success_default';
|
|
14
|
-
import { chart_color_blue_300 as blueColor } from '@patternfly/react-tokens/dist/js/chart_color_blue_300';
|
|
15
11
|
import { Host } from '@openshift-assisted/types/assisted-installer-service';
|
|
16
12
|
import { HostStatus } from './types';
|
|
17
13
|
import { TFunction } from 'i18next';
|
|
14
|
+
import { Icon } from '@patternfly/react-core';
|
|
18
15
|
|
|
19
16
|
export const hostStatus = (t: TFunction): HostStatus<Host['status'] | 'finalizing'> =>
|
|
20
17
|
Object.freeze({
|
|
@@ -85,7 +82,11 @@ export const hostStatus = (t: TFunction): HostStatus<Host['status'] | 'finalizin
|
|
|
85
82
|
key: 'insufficient-unbound',
|
|
86
83
|
title: t('ai:Insufficient'),
|
|
87
84
|
category: 'Discovery related',
|
|
88
|
-
icon:
|
|
85
|
+
icon: (
|
|
86
|
+
<Icon status="warning">
|
|
87
|
+
<ExclamationTriangleIcon />
|
|
88
|
+
</Icon>
|
|
89
|
+
),
|
|
89
90
|
details: t(
|
|
90
91
|
'ai:This host does not meet the minimum hardware or networking requirements and can not be included in the cluster.',
|
|
91
92
|
),
|
|
@@ -94,7 +95,11 @@ export const hostStatus = (t: TFunction): HostStatus<Host['status'] | 'finalizin
|
|
|
94
95
|
key: 'known-unbound',
|
|
95
96
|
title: t('ai:Available'),
|
|
96
97
|
category: 'Discovery related',
|
|
97
|
-
icon:
|
|
98
|
+
icon: (
|
|
99
|
+
<Icon status="info">
|
|
100
|
+
<ConnectedIcon />
|
|
101
|
+
</Icon>
|
|
102
|
+
),
|
|
98
103
|
details: t(
|
|
99
104
|
'ai:This host meets the minimum hardware and networking requirements and can be included in the cluster.',
|
|
100
105
|
),
|
|
@@ -125,7 +130,11 @@ export const hostStatus = (t: TFunction): HostStatus<Host['status'] | 'finalizin
|
|
|
125
130
|
key: 'known',
|
|
126
131
|
title: t('ai:Ready'),
|
|
127
132
|
category: 'Discovery related',
|
|
128
|
-
icon:
|
|
133
|
+
icon: (
|
|
134
|
+
<Icon status="success">
|
|
135
|
+
<CheckCircleIcon />
|
|
136
|
+
</Icon>
|
|
137
|
+
),
|
|
129
138
|
details: t(
|
|
130
139
|
'ai:This host meets the minimum hardware and networking requirements and will be included in the cluster.',
|
|
131
140
|
),
|
|
@@ -143,7 +152,11 @@ export const hostStatus = (t: TFunction): HostStatus<Host['status'] | 'finalizin
|
|
|
143
152
|
key: 'insufficient',
|
|
144
153
|
title: t('ai:Insufficient'),
|
|
145
154
|
category: 'Discovery related',
|
|
146
|
-
icon:
|
|
155
|
+
icon: (
|
|
156
|
+
<Icon status="warning">
|
|
157
|
+
<ExclamationTriangleIcon />
|
|
158
|
+
</Icon>
|
|
159
|
+
),
|
|
147
160
|
details: t(
|
|
148
161
|
'ai:This host does not meet the minimum hardware or networking requirements and will not be included in the cluster.',
|
|
149
162
|
),
|
|
@@ -186,14 +199,22 @@ export const hostStatus = (t: TFunction): HostStatus<Host['status'] | 'finalizin
|
|
|
186
199
|
key: 'installing-pending-user-action',
|
|
187
200
|
title: t('ai:Pending user action'),
|
|
188
201
|
category: 'Installation related',
|
|
189
|
-
icon:
|
|
202
|
+
icon: (
|
|
203
|
+
<Icon status="warning">
|
|
204
|
+
<ExclamationTriangleIcon />
|
|
205
|
+
</Icon>
|
|
206
|
+
),
|
|
190
207
|
details: t('ai:This host is pending user action'),
|
|
191
208
|
},
|
|
192
209
|
installed: {
|
|
193
210
|
key: 'installed',
|
|
194
211
|
title: t('ai:Installed'),
|
|
195
212
|
category: 'Installation related',
|
|
196
|
-
icon:
|
|
213
|
+
icon: (
|
|
214
|
+
<Icon status="success">
|
|
215
|
+
<CheckCircleIcon />
|
|
216
|
+
</Icon>
|
|
217
|
+
),
|
|
197
218
|
details: t('ai:This host completed its installation successfully.'),
|
|
198
219
|
},
|
|
199
220
|
cancelled: {
|
|
@@ -208,7 +229,11 @@ export const hostStatus = (t: TFunction): HostStatus<Host['status'] | 'finalizin
|
|
|
208
229
|
key: 'error',
|
|
209
230
|
title: t('ai:Error'),
|
|
210
231
|
category: 'Installation related',
|
|
211
|
-
icon:
|
|
232
|
+
icon: (
|
|
233
|
+
<Icon status="danger">
|
|
234
|
+
<ExclamationCircleIcon />
|
|
235
|
+
</Icon>
|
|
236
|
+
),
|
|
212
237
|
details: t('ai:This host failed its installation.'),
|
|
213
238
|
withProgress: true,
|
|
214
239
|
},
|
|
@@ -223,7 +248,11 @@ export const hostStatus = (t: TFunction): HostStatus<Host['status'] | 'finalizin
|
|
|
223
248
|
key: 'resetting-pending-user-action',
|
|
224
249
|
title: t('ai:Reboot required'),
|
|
225
250
|
category: 'Installation related',
|
|
226
|
-
icon:
|
|
251
|
+
icon: (
|
|
252
|
+
<Icon status="warning">
|
|
253
|
+
<ExclamationTriangleIcon />
|
|
254
|
+
</Icon>
|
|
255
|
+
),
|
|
227
256
|
details: t(
|
|
228
257
|
'ai:Host has already been booted from disk during the previous installation. To finish resetting the installation, boot the host into the discovery image',
|
|
229
258
|
),
|
|
@@ -238,7 +267,11 @@ export const hostStatus = (t: TFunction): HostStatus<Host['status'] | 'finalizin
|
|
|
238
267
|
key: 'added-to-existing-cluster',
|
|
239
268
|
title: t('ai:Installed'),
|
|
240
269
|
category: 'Installation related',
|
|
241
|
-
icon:
|
|
270
|
+
icon: (
|
|
271
|
+
<Icon status="success">
|
|
272
|
+
<CheckCircleIcon />
|
|
273
|
+
</Icon>
|
|
274
|
+
),
|
|
242
275
|
details: t('ai:This host completed its installation successfully.'),
|
|
243
276
|
},
|
|
244
277
|
});
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
Content,
|
|
4
|
+
ContentVariants,
|
|
5
|
+
Popover,
|
|
6
|
+
Alert,
|
|
7
|
+
AlertVariant,
|
|
8
|
+
Icon,
|
|
9
|
+
} from '@patternfly/react-core';
|
|
3
10
|
import { TableVariant, Thead, Tbody, Table, Th, Tr, Td } from '@patternfly/react-table';
|
|
4
11
|
import type { Disk, Host } from '@openshift-assisted/types/assisted-installer-service';
|
|
5
12
|
import type { WithTestID } from '../../types/index';
|
|
@@ -12,7 +19,7 @@ import FormatDiskCheckbox, {
|
|
|
12
19
|
isInDiskSkipFormattingList,
|
|
13
20
|
} from '../hosts/FormatDiskCheckbox';
|
|
14
21
|
import { fileSize } from '../../utils';
|
|
15
|
-
import { PopoverIcon
|
|
22
|
+
import { PopoverIcon } from '../ui';
|
|
16
23
|
import { useTranslation } from '../../hooks/use-translation-wrapper';
|
|
17
24
|
import { TFunction } from 'i18next';
|
|
18
25
|
|
|
@@ -102,7 +109,9 @@ const DiskName = ({
|
|
|
102
109
|
{isIndented && <span style={{ width: '1rem', display: 'inline-block' }} />}
|
|
103
110
|
{isInDiskSkipFormattingList(host, disk.id) && (
|
|
104
111
|
<Popover bodyContent={<SkipFormattingDisk />} minWidth="20rem" maxWidth="30rem">
|
|
105
|
-
<
|
|
112
|
+
<Icon size="sm" status="warning">
|
|
113
|
+
<ExclamationTriangleIcon />
|
|
114
|
+
</Icon>
|
|
106
115
|
</Popover>
|
|
107
116
|
)}
|
|
108
117
|
{' '}
|
|
@@ -117,7 +126,9 @@ const DiskName = ({
|
|
|
117
126
|
maxWidth="30rem"
|
|
118
127
|
data-testid="disk-limitations-popover"
|
|
119
128
|
>
|
|
120
|
-
<
|
|
129
|
+
<Icon size="sm" status="warning">
|
|
130
|
+
<ExclamationTriangleIcon />
|
|
131
|
+
</Icon>
|
|
121
132
|
</Popover>
|
|
122
133
|
</>
|
|
123
134
|
)}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { TFunction } from 'i18next';
|
|
3
|
-
import {
|
|
4
|
-
import { TableRow } from '../hosts/AITable';
|
|
5
|
-
import { Popover, Content, ContentVariants } from '@patternfly/react-core';
|
|
3
|
+
import { Popover, Content, ContentVariants, Icon } from '@patternfly/react-core';
|
|
6
4
|
import { ExclamationTriangleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
|
|
7
5
|
import { Host } from '@openshift-assisted/types/assisted-installer-service';
|
|
6
|
+
import { getHostRole, getInventory, RoleCell } from '../../index';
|
|
7
|
+
import { TableRow } from '../hosts/AITable';
|
|
8
8
|
|
|
9
9
|
const SkipFormattingDisks = () => (
|
|
10
10
|
<Content component={ContentVariants.p}>Some bootable disks will skip formatting</Content>
|
|
@@ -49,7 +49,9 @@ export const numberOfDisksColumn: TableRow<Host> = {
|
|
|
49
49
|
{' '}
|
|
50
50
|
{host.skipFormattingDisks && (
|
|
51
51
|
<Popover bodyContent={<SkipFormattingDisks />} minWidth="20rem" maxWidth="30rem">
|
|
52
|
-
<
|
|
52
|
+
<Icon size="sm" status="warning">
|
|
53
|
+
<ExclamationTriangleIcon />
|
|
54
|
+
</Icon>
|
|
53
55
|
</Popover>
|
|
54
56
|
)}
|
|
55
57
|
</>
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React, { PropsWithChildren, ReactNode } from 'react';
|
|
2
|
-
import { WizardNavItem, WizardNavItemProps } from '@patternfly/react-core';
|
|
2
|
+
import { Icon, WizardNavItem, WizardNavItemProps } from '@patternfly/react-core';
|
|
3
3
|
import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
|
|
4
|
-
import UiIcon from './UiIcon';
|
|
5
4
|
|
|
6
5
|
const getNavItemContent = (
|
|
7
6
|
content: ReactNode,
|
|
@@ -13,11 +12,9 @@ const getNavItemContent = (
|
|
|
13
12
|
return (
|
|
14
13
|
<>
|
|
15
14
|
{content}
|
|
16
|
-
<
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
icon={<ExclamationCircleIcon />}
|
|
20
|
-
/>
|
|
15
|
+
<Icon status="danger" className="wizard-nav-item-warning-icon">
|
|
16
|
+
<ExclamationCircleIcon />
|
|
17
|
+
</Icon>
|
|
21
18
|
</>
|
|
22
19
|
);
|
|
23
20
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Button, ButtonVariant, Tooltip, TooltipProps } from '@patternfly/react-core';
|
|
2
|
+
import { Button, ButtonVariant, Icon, Tooltip, TooltipProps } from '@patternfly/react-core';
|
|
3
3
|
import { MinusCircleIcon } from '@patternfly/react-icons/dist/js/icons/minus-circle-icon';
|
|
4
|
-
import './RemovableField.css';
|
|
5
4
|
import classnames from 'classnames';
|
|
6
|
-
|
|
5
|
+
|
|
6
|
+
import './RemovableField.css';
|
|
7
7
|
|
|
8
8
|
interface RemovableFieldProps {
|
|
9
9
|
onRemove: VoidFunction;
|
|
@@ -30,7 +30,11 @@ const RemovableField: React.FC<RemovableFieldProps & Omit<TooltipProps, 'content
|
|
|
30
30
|
distance={0}
|
|
31
31
|
content={
|
|
32
32
|
<Button
|
|
33
|
-
icon={
|
|
33
|
+
icon={
|
|
34
|
+
<Icon size="sm">
|
|
35
|
+
<MinusCircleIcon />
|
|
36
|
+
</Icon>
|
|
37
|
+
}
|
|
34
38
|
variant={ButtonVariant.plain}
|
|
35
39
|
onClick={onRemove}
|
|
36
40
|
data-testid={removeButtonDataTestId}
|
|
@@ -15,15 +15,13 @@ import {
|
|
|
15
15
|
FormHelperText,
|
|
16
16
|
HelperText,
|
|
17
17
|
ButtonVariant,
|
|
18
|
+
Icon,
|
|
18
19
|
} from '@patternfly/react-core';
|
|
19
20
|
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
20
21
|
import { CheckIcon } from '@patternfly/react-icons/dist/js/icons/check-icon';
|
|
21
22
|
import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
|
|
22
23
|
import { InfoCircleIcon } from '@patternfly/react-icons/dist/js/icons/info-circle-icon';
|
|
23
24
|
import { TimesIcon } from '@patternfly/react-icons/dist/js/icons/times-icon';
|
|
24
|
-
import { t_global_color_status_success_default as okColor } from '@patternfly/react-tokens/dist/js/t_global_color_status_success_default';
|
|
25
|
-
import { t_global_icon_color_status_danger_default as dangerColor } from '@patternfly/react-tokens/dist/js/t_global_icon_color_status_danger_default';
|
|
26
|
-
import { t_global_icon_color_status_info_default as blueInfoColor } from '@patternfly/react-tokens/dist/js/t_global_icon_color_status_info_default';
|
|
27
25
|
|
|
28
26
|
import { InputFieldProps as BaseInputProps } from './types';
|
|
29
27
|
import { getFieldId } from './utils';
|
|
@@ -164,11 +162,17 @@ const RichInputField: React.FC<RichInputFieldPropsProps> = React.forwardRef(
|
|
|
164
162
|
<Button
|
|
165
163
|
icon={
|
|
166
164
|
!isValid ? (
|
|
167
|
-
<
|
|
165
|
+
<Icon status="danger">
|
|
166
|
+
<ExclamationCircleIcon />
|
|
167
|
+
</Icon>
|
|
168
168
|
) : value ? (
|
|
169
|
-
<
|
|
169
|
+
<Icon status="success">
|
|
170
|
+
<CheckCircleIcon />
|
|
171
|
+
</Icon>
|
|
170
172
|
) : (
|
|
171
|
-
<
|
|
173
|
+
<Icon status="info">
|
|
174
|
+
<InfoCircleIcon />
|
|
175
|
+
</Icon>
|
|
172
176
|
)
|
|
173
177
|
}
|
|
174
178
|
variant={ButtonVariant.control}
|
|
@@ -72,7 +72,7 @@ const TextAreaField: React.FC<React.PropsWithChildren<TextAreaFieldProps>> = ({
|
|
|
72
72
|
icon={<ExclamationCircleIcon />}
|
|
73
73
|
variant={'error'}
|
|
74
74
|
id={`${fieldId}-helper-error`}
|
|
75
|
-
data-testid={`input-textarea-${fieldId}-helper-text`}
|
|
75
|
+
data-testid={`input-textarea-${fieldId}-helper-text-error`}
|
|
76
76
|
>
|
|
77
77
|
{errorMessage}
|
|
78
78
|
</HelperTextItem>
|
|
@@ -28,5 +28,3 @@ export { default as ClusterEventsToolbar } from './ClusterEventsToolbar';
|
|
|
28
28
|
export { default as ModalProgress } from './ModalProgress';
|
|
29
29
|
export { default as ConfirmationModal } from './ConfirmationModal';
|
|
30
30
|
export { default as NoPermissionsError } from './NoPermissionsError';
|
|
31
|
-
|
|
32
|
-
export { default as UiIcon } from './UiIcon';
|
|
@@ -53,6 +53,7 @@ export const clusterStatusLabels = (t: TFunction): { [key in Cluster['status']]:
|
|
|
53
53
|
error: t('ai:Error'),
|
|
54
54
|
installed: t('ai:Installed'),
|
|
55
55
|
'adding-hosts': t('ai:Adding hosts'),
|
|
56
|
+
unmonitored: t('ai:Unmonitored'),
|
|
56
57
|
});
|
|
57
58
|
|
|
58
59
|
export const clusterFieldLabels = (t: TFunction): { [key in string]: string } => ({
|
|
@@ -331,9 +332,6 @@ export const MS_PER_DAY = 1000 * 60 * 60 * 24;
|
|
|
331
332
|
|
|
332
333
|
export const NO_SUBNET_SET = 'NO_SUBNET_SET';
|
|
333
334
|
|
|
334
|
-
export const NETWORK_TYPE_OVN = 'OVNKubernetes';
|
|
335
|
-
export const NETWORK_TYPE_SDN = 'OpenShiftSDN';
|
|
336
|
-
|
|
337
335
|
export const IPV4_STACK = 'singleStack';
|
|
338
336
|
export const DUAL_STACK = 'dualStack';
|
|
339
337
|
|
|
@@ -54,6 +54,8 @@ export const getOpenShiftNetworkingDocsLink = (ocpVersion?: string) => {
|
|
|
54
54
|
return `https://docs.redhat.com/en/documentation/openshift_container_platform/${validOcpVersion}/html/installing_on_bare_metal/${variant}#installation-network-user-infra_installing-bare-metal`;
|
|
55
55
|
};
|
|
56
56
|
|
|
57
|
+
export const RED_HAT_CNI_SUPPORT_MATRIX_LINK = 'https://access.redhat.com/articles/5436171';
|
|
58
|
+
|
|
57
59
|
export const SSH_GENERATION_DOC_LINK = 'https://www.redhat.com/sysadmin/configure-ssh-keygen';
|
|
58
60
|
|
|
59
61
|
//Hosts status
|
|
@@ -7,6 +7,7 @@ export * from './events';
|
|
|
7
7
|
export * from './clusters';
|
|
8
8
|
export * from './cpuArchitecture';
|
|
9
9
|
export * from './featureSupportLevel';
|
|
10
|
+
export * from './networkType';
|
|
10
11
|
export * from './typescriptExtensions';
|
|
11
12
|
export * from './generateIsoFields';
|
|
12
13
|
export * from './errortype';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { FeatureSupportLevelId } from '@openshift-assisted/types/assisted-installer-service';
|
|
2
|
+
|
|
3
|
+
export type NetworkTypeKey =
|
|
4
|
+
| 'OVNKubernetes'
|
|
5
|
+
| 'OpenShiftSDN'
|
|
6
|
+
| 'CiscoACI'
|
|
7
|
+
| 'Cilium'
|
|
8
|
+
| 'Calico'
|
|
9
|
+
| 'None';
|
|
10
|
+
|
|
11
|
+
export const NETWORK_TYPE_OVN: NetworkTypeKey = 'OVNKubernetes';
|
|
12
|
+
export const NETWORK_TYPE_SDN: NetworkTypeKey = 'OpenShiftSDN';
|
|
13
|
+
export const NETWORK_TYPE_CISCO_ACI: NetworkTypeKey = 'CiscoACI';
|
|
14
|
+
export const NETWORK_TYPE_CILIUM: NetworkTypeKey = 'Cilium';
|
|
15
|
+
export const NETWORK_TYPE_CALICO: NetworkTypeKey = 'Calico';
|
|
16
|
+
export const NETWORK_TYPE_NONE: NetworkTypeKey = 'None';
|
|
17
|
+
|
|
18
|
+
export const NETWORK_TYPE_LABELS: Record<string, string> = {
|
|
19
|
+
[NETWORK_TYPE_OVN]: 'Open Virtual Networking (OVN)',
|
|
20
|
+
[NETWORK_TYPE_SDN]: 'Software-Defined Networking (SDN)',
|
|
21
|
+
[NETWORK_TYPE_CISCO_ACI]: 'Cisco ACI',
|
|
22
|
+
[NETWORK_TYPE_CILIUM]: 'Isovalent Cilium',
|
|
23
|
+
[NETWORK_TYPE_CALICO]: 'Tigera Calico',
|
|
24
|
+
[NETWORK_TYPE_NONE]: 'None (Custom CNI)',
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export const NETWORK_TYPE_FEATURE_IDS: Record<string, FeatureSupportLevelId> = {
|
|
28
|
+
[NETWORK_TYPE_OVN]: 'OVN_NETWORK_TYPE',
|
|
29
|
+
[NETWORK_TYPE_SDN]: 'SDN_NETWORK_TYPE',
|
|
30
|
+
[NETWORK_TYPE_CISCO_ACI]: 'CISCO_ACI_NETWORK_TYPE',
|
|
31
|
+
[NETWORK_TYPE_CILIUM]: 'CILIUM_NETWORK_TYPE',
|
|
32
|
+
[NETWORK_TYPE_CALICO]: 'CALICO_NETWORK_TYPE',
|
|
33
|
+
[NETWORK_TYPE_NONE]: 'NONE_NETWORK_TYPE',
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export const isThirdPartyCNI = (networkType: string | undefined): boolean =>
|
|
37
|
+
!!networkType && networkType !== NETWORK_TYPE_OVN && networkType !== NETWORK_TYPE_SDN;
|
|
@@ -21,7 +21,6 @@ import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
|
21
21
|
import { OcmRichInputField } from '../ui/OcmFormFields';
|
|
22
22
|
import OcmOpenShiftVersion from './OcmOpenShiftVersion';
|
|
23
23
|
import OcmOpenShiftVersionSelect from './OcmOpenShiftVersionSelect';
|
|
24
|
-
import CustomManifestCheckbox from './CustomManifestCheckbox';
|
|
25
24
|
import CpuArchitectureDropdown from './CpuArchitectureDropdown';
|
|
26
25
|
import { OcmBaseDomainField } from './OcmBaseDomainField';
|
|
27
26
|
import useSupportLevelsAPI from '../../hooks/useSupportLevelsAPI';
|
|
@@ -35,7 +34,6 @@ import {
|
|
|
35
34
|
ManagedDomain,
|
|
36
35
|
PlatformType,
|
|
37
36
|
} from '@openshift-assisted/types/assisted-installer-service';
|
|
38
|
-
import { useClusterWizardContext } from '../clusterWizard/ClusterWizardContext';
|
|
39
37
|
import { useFeature } from '../../hooks/use-feature';
|
|
40
38
|
import ControlPlaneNodesDropdown, {
|
|
41
39
|
ControlPlaneNodesLabel,
|
|
@@ -68,7 +66,6 @@ export const OcmClusterDetailsFormFields = ({
|
|
|
68
66
|
const { openshiftVersion, platform } = values;
|
|
69
67
|
const { getCpuArchitectures } = useOpenShiftVersionsContext();
|
|
70
68
|
const cpuArchitecturesByVersionImage = getCpuArchitectures(openshiftVersion);
|
|
71
|
-
const clusterWizardContext = useClusterWizardContext();
|
|
72
69
|
const featureSupportLevelData = useSupportLevelsAPI(
|
|
73
70
|
'features',
|
|
74
71
|
values.openshiftVersion,
|
|
@@ -91,12 +88,10 @@ export const OcmClusterDetailsFormFields = ({
|
|
|
91
88
|
(selectedPlatform: PlatformType) => {
|
|
92
89
|
const isOracleSelected = selectedPlatform === 'external';
|
|
93
90
|
if (isOracleSelected) {
|
|
94
|
-
setFieldValue('addCustomManifest', isOracleSelected, false);
|
|
95
|
-
clusterWizardContext.setCustomManifestsStep(isOracleSelected);
|
|
96
91
|
setFieldValue('hostsNetworkConfigurationType', HostsNetworkConfigurationType.DHCP);
|
|
97
92
|
}
|
|
98
93
|
},
|
|
99
|
-
[
|
|
94
|
+
[setFieldValue],
|
|
100
95
|
);
|
|
101
96
|
|
|
102
97
|
React.useEffect(() => {
|
|
@@ -213,8 +208,6 @@ export const OcmClusterDetailsFormFields = ({
|
|
|
213
208
|
) : (
|
|
214
209
|
<ControlPlaneNodesDropdown featureSupportLevelData={featureSupportLevelData} />
|
|
215
210
|
)}
|
|
216
|
-
<CustomManifestCheckbox clusterId={cluster?.id || ''} isDisabled={platform === 'external'} />
|
|
217
|
-
|
|
218
211
|
{!isSingleClusterFeatureEnabled && (
|
|
219
212
|
<HostsNetworkConfigurationControlGroup
|
|
220
213
|
clusterExists={clusterExists}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Button, ButtonVariant, List, ListItem, Popover } from '@patternfly/react-core';
|
|
2
|
+
import { Button, ButtonVariant, Icon, List, ListItem, Popover } from '@patternfly/react-core';
|
|
3
3
|
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
4
4
|
import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
|
|
5
5
|
import { InProgressIcon } from '@patternfly/react-icons/dist/js/icons/in-progress-icon';
|
|
6
6
|
import { PendingIcon } from '@patternfly/react-icons/dist/js/icons/pending-icon';
|
|
7
|
-
import { t_global_icon_color_status_danger_default as dangerColor } from '@patternfly/react-tokens/dist/js/t_global_icon_color_status_danger_default';
|
|
8
|
-
import { t_global_color_status_success_default as okColor } from '@patternfly/react-tokens/dist/js/t_global_color_status_success_default';
|
|
9
7
|
import { pluralize } from 'humanize-plus';
|
|
10
8
|
import { TFunction } from 'i18next';
|
|
11
9
|
|
|
@@ -60,9 +58,17 @@ export function getOperatorsLabel(operators: MonitoredOperatorsList, t: TFunctio
|
|
|
60
58
|
export function getOperatorsIcon(status: OperatorStatus | 'pending') {
|
|
61
59
|
switch (status) {
|
|
62
60
|
case 'available':
|
|
63
|
-
return
|
|
61
|
+
return (
|
|
62
|
+
<Icon status="success">
|
|
63
|
+
<CheckCircleIcon />
|
|
64
|
+
</Icon>
|
|
65
|
+
);
|
|
64
66
|
case 'failed':
|
|
65
|
-
return
|
|
67
|
+
return (
|
|
68
|
+
<Icon status="danger">
|
|
69
|
+
<ExclamationCircleIcon />
|
|
70
|
+
</Icon>
|
|
71
|
+
);
|
|
66
72
|
case 'progressing':
|
|
67
73
|
return <InProgressIcon />;
|
|
68
74
|
default:
|