@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
|
@@ -2,6 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import {
|
|
3
3
|
Button,
|
|
4
4
|
ButtonVariant,
|
|
5
|
+
Icon,
|
|
5
6
|
Modal,
|
|
6
7
|
ModalBody,
|
|
7
8
|
ModalFooter,
|
|
@@ -15,7 +16,6 @@ import HostRequirements, {
|
|
|
15
16
|
HostRequirementsListProps,
|
|
16
17
|
} from '../../../common/components/hosts/HostRequirements';
|
|
17
18
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
18
|
-
import { UiIcon } from '../../../common';
|
|
19
19
|
|
|
20
20
|
type HostData = {
|
|
21
21
|
cpu_cores: number;
|
|
@@ -86,7 +86,9 @@ const MinimalHWRequirements: React.FC<MinimalHWRequirementsProps> = ({
|
|
|
86
86
|
isInline
|
|
87
87
|
className="host-requirements-link"
|
|
88
88
|
>
|
|
89
|
-
<
|
|
89
|
+
<Icon status="warning" size="sm">
|
|
90
|
+
<InfoCircleIcon />
|
|
91
|
+
</Icon>
|
|
90
92
|
{t('ai:Minimum hardware requirements')}
|
|
91
93
|
</Button>
|
|
92
94
|
<MinimalHWRequirementsModal
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from '@openshift-assisted/types/assisted-installer-service';
|
|
5
5
|
import { NetworkConfigurationValues } from '../../../common/types/clusters';
|
|
6
6
|
import { isDualStack } from '../../../common/components/clusterConfiguration/utils';
|
|
7
|
-
import { DUAL_STACK, IPV4_STACK, NETWORK_TYPE_OVN } from '../../../common
|
|
7
|
+
import { DUAL_STACK, IPV4_STACK, NETWORK_TYPE_OVN } from '../../../common';
|
|
8
8
|
|
|
9
9
|
export const getNetworkInitialValues = (
|
|
10
10
|
cluster: Cluster,
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Flex, FlexItem, Icon } from '@patternfly/react-core';
|
|
2
3
|
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
3
4
|
import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
|
|
4
5
|
import { InProgressIcon } from '@patternfly/react-icons/dist/js/icons/in-progress-icon';
|
|
5
6
|
import { UnknownIcon } from '@patternfly/react-icons/dist/js/icons/unknown-icon';
|
|
6
7
|
import { Table, Tbody, Td, Th, Thead, Tr } from '@patternfly/react-table';
|
|
7
|
-
import { t_global_color_status_success_default as okColor } from '@patternfly/react-tokens/dist/js/t_global_color_status_success_default';
|
|
8
8
|
|
|
9
|
-
import * as React from 'react';
|
|
10
9
|
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
11
10
|
|
|
12
11
|
import './ConditionsTable.css';
|
|
13
|
-
import { UiIcon } from '../../../../common';
|
|
14
12
|
|
|
15
13
|
const ignoredConditions = ['Progressing'];
|
|
16
14
|
const reversedConditions = ['Degraded'];
|
|
@@ -50,14 +48,22 @@ const ConditionsTable = ({ conditions, isDone }: ConditionsTableProps) => {
|
|
|
50
48
|
c.status === okStatus ? (
|
|
51
49
|
<InProgressIcon />
|
|
52
50
|
) : (
|
|
53
|
-
<
|
|
51
|
+
<Icon status="success">
|
|
52
|
+
<CheckCircleIcon />
|
|
53
|
+
</Icon>
|
|
54
54
|
);
|
|
55
55
|
} else {
|
|
56
56
|
if (c.status === okStatus) {
|
|
57
|
-
icon =
|
|
57
|
+
icon = (
|
|
58
|
+
<Icon status="success">
|
|
59
|
+
<CheckCircleIcon />
|
|
60
|
+
</Icon>
|
|
61
|
+
);
|
|
58
62
|
} else if (c.status === nokStatus) {
|
|
59
63
|
icon = isDone ? (
|
|
60
|
-
<
|
|
64
|
+
<Icon status="danger" size="sm">
|
|
65
|
+
<ExclamationCircleIcon />
|
|
66
|
+
</Icon>
|
|
61
67
|
) : (
|
|
62
68
|
<InProgressIcon />
|
|
63
69
|
);
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import {
|
|
3
3
|
ExpandableSectionToggle,
|
|
4
|
+
Icon,
|
|
4
5
|
ProgressStep,
|
|
5
6
|
Spinner,
|
|
6
7
|
Stack,
|
|
7
8
|
StackItem,
|
|
8
9
|
} from '@patternfly/react-core';
|
|
9
|
-
import { t_global_color_status_success_default as okColor } from '@patternfly/react-tokens/dist/js/t_global_color_status_success_default';
|
|
10
10
|
|
|
11
11
|
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
12
12
|
import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
|
|
13
13
|
import { HostedClusterK8sResource } from '../types';
|
|
14
14
|
import { useTranslation } from '../../../../common/hooks/use-translation-wrapper';
|
|
15
|
-
import { ExternalLink
|
|
15
|
+
import { ExternalLink } from '../../../../common';
|
|
16
16
|
import ConditionsTable from './ConditionsTable';
|
|
17
17
|
|
|
18
18
|
type HostedClusterProgressProps = {
|
|
@@ -34,9 +34,13 @@ const HostedClusterProgress = ({ hostedCluster, launchToOCP }: HostedClusterProg
|
|
|
34
34
|
if (progressingCondtion?.status === 'False') {
|
|
35
35
|
progressIcon =
|
|
36
36
|
availableCondtion?.status === 'True' ? (
|
|
37
|
-
<
|
|
37
|
+
<Icon status="success">
|
|
38
|
+
<CheckCircleIcon />
|
|
39
|
+
</Icon>
|
|
38
40
|
) : (
|
|
39
|
-
<
|
|
41
|
+
<Icon status="danger" size="sm">
|
|
42
|
+
<ExclamationCircleIcon />
|
|
43
|
+
</Icon>
|
|
40
44
|
);
|
|
41
45
|
}
|
|
42
46
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import {
|
|
3
3
|
ExpandableSectionToggle,
|
|
4
|
+
Icon,
|
|
4
5
|
ProgressStep,
|
|
5
6
|
Spinner,
|
|
6
7
|
Stack,
|
|
7
8
|
StackItem,
|
|
8
9
|
} from '@patternfly/react-core';
|
|
9
10
|
import { TFunction } from 'i18next';
|
|
10
|
-
import { t_global_color_status_success_default as okColor } from '@patternfly/react-tokens/dist/js/t_global_color_status_success_default';
|
|
11
11
|
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
12
12
|
|
|
13
13
|
import {
|
|
@@ -42,7 +42,11 @@ const getNodePoolsStatus = (
|
|
|
42
42
|
|
|
43
43
|
const nodePoolsStatus: { type: string; icon: React.ReactNode } = {
|
|
44
44
|
type: 'ok',
|
|
45
|
-
icon:
|
|
45
|
+
icon: (
|
|
46
|
+
<Icon status="success">
|
|
47
|
+
<CheckCircleIcon />
|
|
48
|
+
</Icon>
|
|
49
|
+
),
|
|
46
50
|
};
|
|
47
51
|
|
|
48
52
|
for (const property in nodePoolMap) {
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TFunction } from 'i18next';
|
|
3
|
+
import { Icon } from '@patternfly/react-core';
|
|
1
4
|
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
2
5
|
import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
|
|
3
6
|
import { InProgressIcon } from '@patternfly/react-icons/dist/js/icons/in-progress-icon';
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
import { t_global_icon_color_status_danger_default as dangerColor } from '@patternfly/react-tokens/dist/js/t_global_icon_color_status_danger_default';
|
|
7
|
-
import { t_global_icon_color_status_warning_default as warningColor } from '@patternfly/react-tokens/dist/js/t_global_icon_color_status_warning_default';
|
|
7
|
+
|
|
8
|
+
import { NodePoolK8sResource } from '../types';
|
|
8
9
|
import { AgentK8sResource } from '../../../types';
|
|
9
10
|
import { getAgentStatus } from '../../helpers';
|
|
10
|
-
import { NodePoolK8sResource } from '../types';
|
|
11
|
-
import { TFunction } from 'i18next';
|
|
12
11
|
import { agentStatus } from '../../helpers/agentStatus';
|
|
13
12
|
|
|
14
13
|
export type NodePoolStatus = {
|
|
@@ -40,7 +39,11 @@ export const getNodePoolStatus = (
|
|
|
40
39
|
if (hasErrorAgents) {
|
|
41
40
|
return {
|
|
42
41
|
type: 'error',
|
|
43
|
-
icon:
|
|
42
|
+
icon: (
|
|
43
|
+
<Icon status="danger">
|
|
44
|
+
<ExclamationCircleIcon />
|
|
45
|
+
</Icon>
|
|
46
|
+
),
|
|
44
47
|
text: t('ai:Error'),
|
|
45
48
|
};
|
|
46
49
|
}
|
|
@@ -58,7 +61,11 @@ export const getNodePoolStatus = (
|
|
|
58
61
|
if (hasWarningAgents) {
|
|
59
62
|
return {
|
|
60
63
|
type: 'warning',
|
|
61
|
-
icon:
|
|
64
|
+
icon: (
|
|
65
|
+
<Icon status="warning">
|
|
66
|
+
<ExclamationCircleIcon />
|
|
67
|
+
</Icon>
|
|
68
|
+
),
|
|
62
69
|
text: t('ai:Warning'),
|
|
63
70
|
};
|
|
64
71
|
}
|
|
@@ -66,7 +73,11 @@ export const getNodePoolStatus = (
|
|
|
66
73
|
return nodePool.status?.conditions?.find(({ type }) => type === 'Ready')?.status === 'True'
|
|
67
74
|
? {
|
|
68
75
|
type: 'ok',
|
|
69
|
-
icon:
|
|
76
|
+
icon: (
|
|
77
|
+
<Icon status="success">
|
|
78
|
+
<CheckCircleIcon />
|
|
79
|
+
</Icon>
|
|
80
|
+
),
|
|
70
81
|
text: t('ai:Ready'),
|
|
71
82
|
}
|
|
72
83
|
: {
|
|
@@ -13,12 +13,11 @@ import {
|
|
|
13
13
|
Title,
|
|
14
14
|
TitleSizes,
|
|
15
15
|
Label,
|
|
16
|
+
Icon,
|
|
16
17
|
} from '@patternfly/react-core';
|
|
17
18
|
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
18
19
|
import { ExclamationTriangleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
|
|
19
20
|
import { PencilAltIcon } from '@patternfly/react-icons/dist/js/icons/pencil-alt-icon';
|
|
20
|
-
import { t_global_color_status_success_default as okColor } from '@patternfly/react-tokens/dist/js/t_global_color_status_success_default';
|
|
21
|
-
import { t_global_icon_color_status_warning_default as warningColor } from '@patternfly/react-tokens/dist/js/t_global_icon_color_status_warning_default';
|
|
22
21
|
|
|
23
22
|
import { architectureData } from '../../../common';
|
|
24
23
|
import { InfraEnvK8sResource, SecretK8sResource } from '../../types';
|
|
@@ -39,11 +38,19 @@ type EditItemProps = {
|
|
|
39
38
|
};
|
|
40
39
|
|
|
41
40
|
const EditItem: React.FC<EditItemProps> = ({ title, onEdit, isLoading, isWarning, noIcon }) => {
|
|
42
|
-
let icon =
|
|
41
|
+
let icon = (
|
|
42
|
+
<Icon status="success">
|
|
43
|
+
<CheckCircleIcon />
|
|
44
|
+
</Icon>
|
|
45
|
+
);
|
|
43
46
|
if (isLoading) {
|
|
44
47
|
icon = <Spinner size="md" />;
|
|
45
48
|
} else if (isWarning) {
|
|
46
|
-
icon =
|
|
49
|
+
icon = (
|
|
50
|
+
<Icon status="warning">
|
|
51
|
+
<ExclamationTriangleIcon />
|
|
52
|
+
</Icon>
|
|
53
|
+
);
|
|
47
54
|
}
|
|
48
55
|
const btn = (
|
|
49
56
|
<>
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { Icon, Tooltip } from '@patternfly/react-core';
|
|
2
3
|
import { ExclamationTriangleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
|
|
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
4
|
import { getAgentStatus, getBMHStatus } from '../helpers';
|
|
5
5
|
import { AgentK8sResource, BareMetalHostK8sResource } from '../../types';
|
|
6
6
|
import { AGENT_BMH_NAME_LABEL_KEY } from '../common';
|
|
7
|
-
import { Tooltip } from '@patternfly/react-core';
|
|
8
7
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
9
8
|
import { agentStatus, bmhStatus } from '../helpers/agentStatus';
|
|
10
9
|
|
|
@@ -51,10 +50,9 @@ const InfraEnvHostsTabAgentsWarning: React.FC<InfraEnvHostsTabAgentsWarning> = (
|
|
|
51
50
|
if (hostsWithProblemsCount) {
|
|
52
51
|
return (
|
|
53
52
|
<Tooltip content={t('ai:{{count}} host has problems', { count: hostsWithProblemsCount })}>
|
|
54
|
-
<
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
/>
|
|
53
|
+
<Icon status="warning">
|
|
54
|
+
<ExclamationTriangleIcon className="infra-env-hosts-tab-title__icon" />
|
|
55
|
+
</Icon>
|
|
58
56
|
</Tooltip>
|
|
59
57
|
);
|
|
60
58
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { TFunction } from 'i18next';
|
|
3
|
+
import { Icon } from '@patternfly/react-core';
|
|
2
4
|
import { ConnectedIcon } from '@patternfly/react-icons/dist/js/icons/connected-icon';
|
|
3
5
|
import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
|
|
4
|
-
import { t_global_icon_color_status_danger_default as dangerColor } from '@patternfly/react-tokens/dist/js/t_global_icon_color_status_danger_default';
|
|
5
6
|
import { hostStatus } from '../../../common';
|
|
6
7
|
import { HostStatus } from '../../../common/components/hosts/types';
|
|
7
|
-
import { TFunction } from 'i18next';
|
|
8
8
|
|
|
9
9
|
export const bmhStatus = (t: TFunction): HostStatus<string> => ({
|
|
10
10
|
'bmh-error': {
|
|
@@ -68,7 +68,11 @@ export const agentStatus = (t: TFunction): HostStatus<string> => ({
|
|
|
68
68
|
specSyncErr: {
|
|
69
69
|
key: 'specSyncErr',
|
|
70
70
|
title: t('ai:Sync error'),
|
|
71
|
-
icon:
|
|
71
|
+
icon: (
|
|
72
|
+
<Icon status="danger">
|
|
73
|
+
<ExclamationCircleIcon />
|
|
74
|
+
</Icon>
|
|
75
|
+
),
|
|
72
76
|
category: 'Discovery related',
|
|
73
77
|
},
|
|
74
78
|
});
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { TFunction } from 'i18next';
|
|
3
|
+
import { Button, Flex, FlexItem, Icon, Popover } from '@patternfly/react-core';
|
|
3
4
|
import { InfoCircleIcon } from '@patternfly/react-icons/dist/js/icons/info-circle-icon';
|
|
4
5
|
import { Link } from 'react-router-dom-v5-compat';
|
|
5
|
-
|
|
6
|
+
|
|
7
|
+
import { Host } from '@openshift-assisted/types/assisted-installer-service';
|
|
6
8
|
import {
|
|
7
9
|
getHostname,
|
|
8
10
|
getInventory,
|
|
@@ -23,8 +25,6 @@ import BMHStatus from '../Agent/BMHStatus';
|
|
|
23
25
|
import { getBMHStatus, getAgentStatus } from '../helpers';
|
|
24
26
|
import { usePagination } from '../../../common/components/hosts/usePagination';
|
|
25
27
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
26
|
-
import { TFunction } from 'i18next';
|
|
27
|
-
import { Host } from '@openshift-assisted/types/assisted-installer-service';
|
|
28
28
|
import { agentStatus, bmhStatus } from '../helpers/agentStatus';
|
|
29
29
|
|
|
30
30
|
const hostnameColumn = (agents: AgentK8sResource[], t: TFunction): TableRow<Host> => {
|
|
@@ -99,7 +99,14 @@ const statusColumn = (
|
|
|
99
99
|
</Link>
|
|
100
100
|
}
|
|
101
101
|
>
|
|
102
|
-
<Button
|
|
102
|
+
<Button
|
|
103
|
+
variant="link"
|
|
104
|
+
icon={
|
|
105
|
+
<Icon status="info">
|
|
106
|
+
<InfoCircleIcon />
|
|
107
|
+
</Icon>
|
|
108
|
+
}
|
|
109
|
+
>
|
|
103
110
|
{t<string>('ai:Cannot be deleted')}
|
|
104
111
|
</Button>
|
|
105
112
|
</Popover>
|
|
@@ -14,9 +14,10 @@ import {
|
|
|
14
14
|
ModalHeader,
|
|
15
15
|
ModalFooter,
|
|
16
16
|
ModalBody,
|
|
17
|
+
Icon,
|
|
17
18
|
} from '@patternfly/react-core';
|
|
18
19
|
import { InfoCircleIcon } from '@patternfly/react-icons/dist/js/icons/info-circle-icon';
|
|
19
|
-
import { PrismCode
|
|
20
|
+
import { PrismCode } from '../ui';
|
|
20
21
|
import { useTranslation } from '../../hooks/use-translation-wrapper';
|
|
21
22
|
import { Trans } from 'react-i18next';
|
|
22
23
|
import { saveAs } from 'file-saver';
|
|
@@ -207,7 +208,9 @@ export const HostsNotShowingLink = ({
|
|
|
207
208
|
<Button variant={ButtonVariant.link} onClick={() => setDiscoveryHintModalOpen(true)} isInline>
|
|
208
209
|
{!isInline && (
|
|
209
210
|
<>
|
|
210
|
-
<
|
|
211
|
+
<Icon size="sm">
|
|
212
|
+
<InfoCircleIcon />
|
|
213
|
+
</Icon>
|
|
211
214
|
|
|
212
215
|
</>
|
|
213
216
|
)}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
2
|
-
import { EventListFetchProps } from '../../types';
|
|
3
1
|
import React from 'react';
|
|
4
|
-
import
|
|
5
|
-
import { Button, ButtonVariant, Popover, Content } from '@patternfly/react-core';
|
|
2
|
+
import capitalize from 'lodash-es/capitalize.js';
|
|
3
|
+
import { Button, ButtonVariant, Popover, Content, Icon } from '@patternfly/react-core';
|
|
6
4
|
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
7
5
|
import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
|
|
8
6
|
import { InProgressIcon } from '@patternfly/react-icons/dist/js/icons/in-progress-icon';
|
|
9
7
|
import { PendingIcon } from '@patternfly/react-icons/dist/js/icons/pending-icon';
|
|
10
|
-
|
|
11
|
-
import {
|
|
8
|
+
|
|
9
|
+
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
10
|
+
import { EventsModal } from '../ui';
|
|
11
|
+
import { EventListFetchProps } from '../../types';
|
|
12
12
|
import ClusterProgressItem from './ClusterProgressItem';
|
|
13
|
-
import capitalize from 'lodash-es/capitalize.js';
|
|
14
13
|
import { useTranslation } from '../../hooks/use-translation-wrapper';
|
|
15
14
|
|
|
16
15
|
type FinalizingProgressProps = {
|
|
@@ -32,7 +31,11 @@ const areAllBuiltInOperatorsAvailable = (
|
|
|
32
31
|
export const getFinalizingStatus = (cluster: Cluster) => {
|
|
33
32
|
let finalizingIcon, initializationStatus;
|
|
34
33
|
if (areAllBuiltInOperatorsAvailable(cluster.monitoredOperators)) {
|
|
35
|
-
finalizingIcon =
|
|
34
|
+
finalizingIcon = (
|
|
35
|
+
<Icon status="success">
|
|
36
|
+
<CheckCircleIcon />
|
|
37
|
+
</Icon>
|
|
38
|
+
);
|
|
36
39
|
initializationStatus = 'completed';
|
|
37
40
|
} else {
|
|
38
41
|
switch (cluster.status) {
|
|
@@ -42,12 +45,20 @@ export const getFinalizingStatus = (cluster: Cluster) => {
|
|
|
42
45
|
break;
|
|
43
46
|
case 'error':
|
|
44
47
|
case 'cancelled':
|
|
45
|
-
finalizingIcon =
|
|
48
|
+
finalizingIcon = (
|
|
49
|
+
<Icon status="danger">
|
|
50
|
+
<ExclamationCircleIcon />
|
|
51
|
+
</Icon>
|
|
52
|
+
);
|
|
46
53
|
initializationStatus = 'failed';
|
|
47
54
|
break;
|
|
48
55
|
case 'installed':
|
|
49
56
|
case 'adding-hosts':
|
|
50
|
-
finalizingIcon =
|
|
57
|
+
finalizingIcon = (
|
|
58
|
+
<Icon status="success">
|
|
59
|
+
<CheckCircleIcon />
|
|
60
|
+
</Icon>
|
|
61
|
+
);
|
|
51
62
|
initializationStatus = 'completed';
|
|
52
63
|
break;
|
|
53
64
|
default:
|
|
@@ -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
|
import {
|
|
@@ -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:
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Icon } 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
|
-
|
|
7
|
-
import {
|
|
6
|
+
|
|
7
|
+
import { Host, HostRole } from '@openshift-assisted/types/assisted-installer-service';
|
|
8
8
|
import ClusterProgressItem from './ClusterProgressItem';
|
|
9
9
|
import { useTranslation } from '../../hooks/use-translation-wrapper';
|
|
10
10
|
|
|
@@ -24,7 +24,13 @@ export const ProgressBarTexts = ({ hosts, hostRole }: HostProgressProps) => {
|
|
|
24
24
|
if (hosts.some((host) => ['cancelled', 'error'].includes(host.status))) {
|
|
25
25
|
const failedHostsCount = hosts.filter((host) => host.status === 'error').length;
|
|
26
26
|
return (
|
|
27
|
-
<ClusterProgressItem
|
|
27
|
+
<ClusterProgressItem
|
|
28
|
+
icon={
|
|
29
|
+
<Icon status="danger">
|
|
30
|
+
<ExclamationCircleIcon />
|
|
31
|
+
</Icon>
|
|
32
|
+
}
|
|
33
|
+
>
|
|
28
34
|
<>
|
|
29
35
|
{hostRoleText}
|
|
30
36
|
<br />
|
|
@@ -73,7 +79,13 @@ export const ProgressBarTexts = ({ hosts, hostRole }: HostProgressProps) => {
|
|
|
73
79
|
}
|
|
74
80
|
|
|
75
81
|
return (
|
|
76
|
-
<ClusterProgressItem
|
|
82
|
+
<ClusterProgressItem
|
|
83
|
+
icon={
|
|
84
|
+
<Icon status="success">
|
|
85
|
+
<CheckCircleIcon />
|
|
86
|
+
</Icon>
|
|
87
|
+
}
|
|
88
|
+
>
|
|
77
89
|
<>
|
|
78
90
|
{hostRoleText}
|
|
79
91
|
<br />
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import lodashValues from 'lodash-es/values.js';
|
|
3
|
-
import { Button, ButtonVariant } from '@patternfly/react-core';
|
|
3
|
+
import { Button, ButtonVariant, Icon } from '@patternfly/react-core';
|
|
4
4
|
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
5
5
|
import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
|
|
6
6
|
import { ExclamationTriangleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
|
|
7
|
-
import { t_global_color_status_success_default as okColor } from '@patternfly/react-tokens/dist/js/t_global_color_status_success_default';
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
ValidationsInfo as ClusterValidationsInfo,
|
|
@@ -30,13 +29,15 @@ import {
|
|
|
30
29
|
import { useTranslation } from '../../hooks/use-translation-wrapper';
|
|
31
30
|
import { Trans } from 'react-i18next';
|
|
32
31
|
import { getKeys, stringToJSON } from '../../utils';
|
|
33
|
-
import { UiIcon } from '../ui';
|
|
34
32
|
|
|
35
33
|
const AllValidationsPassed = () => {
|
|
36
34
|
const { t } = useTranslation();
|
|
37
35
|
return (
|
|
38
36
|
<>
|
|
39
|
-
<
|
|
37
|
+
<Icon status="success">
|
|
38
|
+
<CheckCircleIcon />
|
|
39
|
+
</Icon>{' '}
|
|
40
|
+
{t('ai:All checks passed')}
|
|
40
41
|
</>
|
|
41
42
|
);
|
|
42
43
|
};
|
|
@@ -124,9 +125,17 @@ const FailingValidation = <S extends string>({
|
|
|
124
125
|
|
|
125
126
|
let icon;
|
|
126
127
|
if (severity === 'warning') {
|
|
127
|
-
icon =
|
|
128
|
+
icon = (
|
|
129
|
+
<Icon status="warning">
|
|
130
|
+
<ExclamationTriangleIcon />
|
|
131
|
+
</Icon>
|
|
132
|
+
);
|
|
128
133
|
} else {
|
|
129
|
-
icon =
|
|
134
|
+
icon = (
|
|
135
|
+
<Icon status="danger">
|
|
136
|
+
<ExclamationCircleIcon />
|
|
137
|
+
</Icon>
|
|
138
|
+
);
|
|
130
139
|
}
|
|
131
140
|
|
|
132
141
|
return (
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { Split, SplitItem, Tooltip, FormGroup } from '@patternfly/react-core';
|
|
3
3
|
import { RadioField } from '../../ui/formik';
|
|
4
4
|
import { PopoverIcon } from '../../../components/ui';
|
|
5
|
-
import { NETWORK_TYPE_OVN, NETWORK_TYPE_SDN } from '../../../
|
|
5
|
+
import { NETWORK_TYPE_OVN, NETWORK_TYPE_SDN } from '../../../types/networkType';
|
|
6
6
|
import { useTranslation } from '../../../hooks/use-translation-wrapper';
|
|
7
7
|
|
|
8
8
|
const GROUP_NAME = 'networkType';
|
|
@@ -3,15 +3,14 @@ import { ButtonVariant, FormGroup, Split, SplitItem, Tooltip } from '@patternfly
|
|
|
3
3
|
import { useFormikContext } from 'formik';
|
|
4
4
|
import { Address4, Address6 } from 'ip-address';
|
|
5
5
|
|
|
6
|
-
import { HostSubnets, NetworkConfigurationValues } from '../../../types';
|
|
7
|
-
import { getFieldId } from '../../ui';
|
|
8
6
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
HostSubnets,
|
|
8
|
+
NetworkConfigurationValues,
|
|
11
9
|
NETWORK_TYPE_OVN,
|
|
12
10
|
NETWORK_TYPE_SDN,
|
|
13
|
-
|
|
14
|
-
} from '
|
|
11
|
+
} from '../../../types';
|
|
12
|
+
import { getFieldId } from '../../ui';
|
|
13
|
+
import { DUAL_STACK, IPV4_STACK, NO_SUBNET_SET } from '../../../config';
|
|
15
14
|
import { RadioField } from '../../ui/formik';
|
|
16
15
|
import { ConfirmationModal, PopoverIcon } from '../../ui';
|
|
17
16
|
import { reorderNetworksByCurrentPrimary } from './reorderNetworks';
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
Stack,
|
|
10
10
|
StackItem,
|
|
11
11
|
} from '@patternfly/react-core';
|
|
12
|
-
import { NetworkConfigurationValues, HostSubnets } from '../../../types';
|
|
13
|
-
import {
|
|
12
|
+
import { NetworkConfigurationValues, HostSubnets, NETWORK_TYPE_SDN } from '../../../types';
|
|
13
|
+
import { DUAL_STACK } from '../../../config';
|
|
14
14
|
import { selectMachineNetworkCIDR, selectApiVip, selectIngressVip } from '../../../selectors';
|
|
15
15
|
import { getVipValidationsById } from '../../clusterConfiguration';
|
|
16
16
|
import { FormikStaticField, PopoverIcon } from '../../ui';
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Button, ButtonVariant, Flex, Popover } from '@patternfly/react-core';
|
|
2
|
+
import { Button, ButtonVariant, Flex, Icon, 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 { PendingIcon } from '@patternfly/react-icons/dist/js/icons/pending-icon';
|
|
6
|
-
import { t_global_icon_color_status_danger_default as dangerColor } from '@patternfly/react-tokens/dist/js/t_global_icon_color_status_danger_default';
|
|
7
|
-
import { t_global_color_status_success_default as successColor } from '@patternfly/react-tokens/dist/js/t_global_color_status_success_default';
|
|
8
6
|
import { toSentence } from '../ui';
|
|
9
7
|
import { hostValidationFailureHints, hostValidationLabels } from '../../config';
|
|
10
8
|
import { Validation } from '../../types/hosts';
|
|
@@ -67,7 +65,10 @@ const HostPropertyValidationPopover: React.FC<
|
|
|
67
65
|
return (
|
|
68
66
|
<ValidationPopover validation={validation} actions={failureActions}>
|
|
69
67
|
<Flex columnGap={{ default: 'columnGapSm' }} alignItems={{ default: 'alignItemsCenter' }}>
|
|
70
|
-
<
|
|
68
|
+
<Icon status="danger">
|
|
69
|
+
<ExclamationCircleIcon />
|
|
70
|
+
</Icon>{' '}
|
|
71
|
+
{children}
|
|
71
72
|
</Flex>
|
|
72
73
|
</ValidationPopover>
|
|
73
74
|
);
|
|
@@ -85,7 +86,10 @@ const HostPropertyValidationPopover: React.FC<
|
|
|
85
86
|
return (
|
|
86
87
|
<>
|
|
87
88
|
<Flex columnGap={{ default: 'columnGapSm' }} alignItems={{ default: 'alignItemsCenter' }}>
|
|
88
|
-
<
|
|
89
|
+
<Icon status="success">
|
|
90
|
+
<CheckCircleIcon />
|
|
91
|
+
</Icon>{' '}
|
|
92
|
+
{children}
|
|
89
93
|
</Flex>
|
|
90
94
|
</>
|
|
91
95
|
);
|