@openshift-assisted/ui-lib 2.9.15-cim → 2.10.0-cim
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/BMCForm.d.ts.map +1 -1
- package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts +2 -2
- package/build/@types/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.d.ts +2 -6
- package/build/@types/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.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 +2 -6
- package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsProgress.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsTable.d.ts +2 -6
- package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsTable.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/types.d.ts +2 -8
- package/build/@types/cim/components/Hypershift/HostedClusterWizard/HostsStep/types.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/forms/NodePoolAgentsForm.d.ts +3 -1
- package/build/@types/cim/components/Hypershift/forms/NodePoolAgentsForm.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/modals/AddNodePoolModal.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/modals/ManageHostsModal.d.ts +1 -1
- package/build/@types/cim/components/Hypershift/modals/ManageHostsModal.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/modals/NodePoolForm.d.ts +0 -8
- package/build/@types/cim/components/Hypershift/modals/NodePoolForm.d.ts.map +1 -1
- package/build/@types/cim/components/Hypershift/types.d.ts +19 -1
- package/build/@types/cim/components/Hypershift/types.d.ts.map +1 -1
- 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/helpers/agentStatus.d.ts.map +1 -1
- package/build/@types/cim/components/helpers/clusterDeployment.d.ts +2 -2
- package/build/@types/cim/components/helpers/toAssisted.d.ts.map +1 -1
- package/build/@types/cim/components/modals/AddBmcHostYamlForm.d.ts.map +1 -1
- package/build/@types/cim/components/modals/CimConfiguration/CimConfigurationForm.d.ts.map +1 -1
- package/build/@types/common/api/assisted-service/NewFeatureSupportLevelsAPI.d.ts.map +1 -1
- package/build/@types/common/components/clusterConfiguration/OpenShiftVersionSelect.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/FinalizingProgress.d.ts.map +1 -1
- package/build/@types/common/components/clusterDetail/KubeconfigDownload.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/featureSupportLevels/FeatureSupportLevelBadge.d.ts.map +1 -1
- package/build/@types/common/components/hosts/HostRowDetail.d.ts +1 -2
- package/build/@types/common/components/hosts/HostRowDetail.d.ts.map +1 -1
- package/build/@types/common/components/hosts/status.d.ts.map +1 -1
- package/build/@types/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.d.ts.map +1 -1
- package/build/@types/common/components/ui/BorderedIcon/BorderedIcon.d.ts +3 -2
- package/build/@types/common/components/ui/BorderedIcon/BorderedIcon.d.ts.map +1 -1
- package/build/@types/common/components/ui/ClusterEventsToolbar.d.ts.map +1 -1
- package/build/@types/common/components/ui/DeveloperPreview.d.ts +5 -0
- package/build/@types/common/components/ui/DeveloperPreview.d.ts.map +1 -0
- package/build/@types/common/components/ui/EventsList.d.ts.map +1 -1
- package/build/@types/common/components/ui/PreviewBadge.d.ts +8 -7
- package/build/@types/common/components/ui/PreviewBadge.d.ts.map +1 -1
- package/build/@types/common/components/ui/PrismCode.d.ts.map +1 -1
- package/build/@types/common/components/ui/TechnologyPreview.d.ts +5 -0
- package/build/@types/common/components/ui/TechnologyPreview.d.ts.map +1 -0
- package/build/@types/common/components/ui/formik/RichInputField.d.ts.map +1 -1
- package/build/@types/common/components/ui/formik/validationSchemas.d.ts.map +1 -1
- package/build/@types/common/components/ui/index.d.ts +2 -0
- package/build/@types/common/components/ui/index.d.ts.map +1 -1
- package/build/@types/common/config/constants.d.ts +1 -1
- package/build/@types/common/types/clusters.d.ts +4 -2
- package/build/@types/common/types/clusters.d.ts.map +1 -1
- package/build/@types/common/utils.d.ts +1 -0
- package/build/@types/common/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.d.ts.map +1 -1
- package/build/@types/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.d.ts.map +1 -1
- package/build/@types/ocm/components/Routes.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/CpuArchitectureDropdown.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/DiscoveryImageForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/HostInventory.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/OcmOperatorProgressItem.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.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/NetworkConfigurationForm.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/LvmCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/operators/OdfCheckbox.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.d.ts +3 -2
- package/build/@types/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.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/AssistedInstallerDetailCard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/ClusterDetail.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterDetail/utils.d.ts +1 -1
- package/build/@types/ocm/components/clusterDetail/utils.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
- package/build/@types/ocm/components/clusterWizard/OperatorsStep.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/AssistedInstallerHeader.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClusterStatus.d.ts.map +1 -1
- package/build/@types/ocm/components/clusters/ClustersListToolbar.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 +2 -0
- package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
- package/build/@types/ocm/components/fetching/fetchEvents.d.ts.map +1 -1
- package/build/@types/ocm/components/hosts/HostsDiscoveryTable.d.ts.map +1 -1
- package/build/@types/ocm/components/ui/OcmFormFields.d.ts +1 -1
- package/build/@types/ocm/components/utils.d.ts +5 -0
- package/build/@types/ocm/components/utils.d.ts.map +1 -0
- package/build/@types/ocm/hooks/use-feature.d.ts +3 -0
- package/build/@types/ocm/hooks/use-feature.d.ts.map +1 -0
- package/build/@types/ocm/index.d.ts +1 -2
- package/build/@types/ocm/index.d.ts.map +1 -1
- package/build/@types/ocm/services/ClusterDetailsService.d.ts.map +1 -1
- package/build/@types/ocm/services/ClustersService.d.ts.map +1 -1
- package/build/@types/ocm/services/Day2ClusterService.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts +1 -2
- package/build/@types/ocm/store/slices/current-cluster/slice.d.ts.map +1 -1
- package/build/@types/ocm/store/slices/feature-flags/selectors.d.ts +3 -2
- package/build/@types/ocm/store/slices/feature-flags/selectors.d.ts.map +1 -1
- package/build/cjs/cim/components/Agent/AgentTable.js +2 -2
- package/build/cjs/cim/components/Agent/AgentTable.js.map +1 -1
- package/build/cjs/cim/components/Agent/BMCForm.js +4 -3
- package/build/cjs/cim/components/Agent/BMCForm.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/ClusterDeploymentCreateProgress.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.js.map +1 -1
- package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js +2 -2
- package/build/cjs/cim/components/ClusterDeployment/networkConfigurationValidation.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js +10 -6
- package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js +5 -3
- package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js +3 -3
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js +2 -2
- package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsTable.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.js +9 -4
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.js +13 -3
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.js +32 -10
- package/build/cjs/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/forms/NodePoolAgentsForm.js +16 -5
- package/build/cjs/cim/components/Hypershift/forms/NodePoolAgentsForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js +5 -0
- package/build/cjs/cim/components/Hypershift/modals/AddNodePoolModal.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js +50 -10
- package/build/cjs/cim/components/Hypershift/modals/ManageHostsModal.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/modals/NodePoolForm.js +1 -1
- package/build/cjs/cim/components/Hypershift/modals/NodePoolForm.js.map +1 -1
- package/build/cjs/cim/components/Hypershift/utils/status.js +11 -7
- package/build/cjs/cim/components/Hypershift/utils/status.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js +6 -4
- package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js.map +1 -1
- package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.js +2 -2
- package/build/cjs/cim/components/InfraEnv/InfraEnvFormPage.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/InfraEnv/InfraTableToolbar.js +2 -2
- package/build/cjs/cim/components/InfraEnv/InfraTableToolbar.js.map +1 -1
- package/build/cjs/cim/components/helpers/agentStatus.js +5 -4
- package/build/cjs/cim/components/helpers/agentStatus.js.map +1 -1
- package/build/cjs/cim/components/helpers/toAssisted.js +8 -2
- package/build/cjs/cim/components/helpers/toAssisted.js.map +1 -1
- package/build/cjs/cim/components/modals/AddBmcHostYamlForm.js +4 -3
- package/build/cjs/cim/components/modals/AddBmcHostYamlForm.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigDisconnectedAlert.js +2 -2
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigDisconnectedAlert.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigProgressAlert.js +2 -2
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigProgressAlert.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationForm.js +9 -8
- package/build/cjs/cim/components/modals/CimConfiguration/CimConfigurationForm.js.map +1 -1
- package/build/cjs/cim/components/modals/CimConfiguration/CimStorageMissingAlert.js +2 -2
- package/build/cjs/cim/components/modals/CimConfiguration/CimStorageMissingAlert.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/api/assisted-service/NewFeatureSupportLevelsAPI.js +1 -5
- package/build/cjs/common/api/assisted-service/NewFeatureSupportLevelsAPI.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js +2 -2
- package/build/cjs/common/components/clusterConfiguration/DiscoveryImageConfigForm.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js +2 -2
- package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.js +3 -3
- package/build/cjs/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.js.map +1 -1
- package/build/cjs/common/components/clusterConfiguration/OpenShiftVersionSelect.js +8 -5
- package/build/cjs/common/components/clusterConfiguration/OpenShiftVersionSelect.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ClusterCredentials.js +2 -2
- package/build/cjs/common/components/clusterDetail/ClusterCredentials.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ConsoleModal.js +2 -2
- package/build/cjs/common/components/clusterDetail/ConsoleModal.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/FinalizingProgress.js +9 -6
- package/build/cjs/common/components/clusterDetail/FinalizingProgress.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/KubeconfigDownload.js +5 -4
- package/build/cjs/common/components/clusterDetail/KubeconfigDownload.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js +10 -6
- package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js.map +1 -1
- package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js +6 -4
- package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/ReviewValidations.js +9 -5
- package/build/cjs/common/components/clusterWizard/ReviewValidations.js.map +1 -1
- package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js +4 -4
- package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js.map +1 -1
- package/build/cjs/common/components/featureSupportLevels/FeatureSupportLevelBadge.js +3 -2
- package/build/cjs/common/components/featureSupportLevels/FeatureSupportLevelBadge.js.map +1 -1
- package/build/cjs/common/components/hosts/DiskRole.js +2 -2
- package/build/cjs/common/components/hosts/DiskRole.js.map +1 -1
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js +8 -5
- package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js.map +1 -1
- package/build/cjs/common/components/hosts/HostRowDetail.js +2 -2
- package/build/cjs/common/components/hosts/HostRowDetail.js.map +1 -1
- package/build/cjs/common/components/hosts/HostStatus.js +2 -2
- package/build/cjs/common/components/hosts/HostStatus.js.map +1 -1
- package/build/cjs/common/components/hosts/HostValidationGroups.js +8 -5
- package/build/cjs/common/components/hosts/HostValidationGroups.js.map +1 -1
- package/build/cjs/common/components/hosts/Hostname.js +4 -4
- package/build/cjs/common/components/hosts/Hostname.js.map +1 -1
- package/build/cjs/common/components/hosts/HostsTable.js +2 -2
- package/build/cjs/common/components/hosts/HostsTable.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/OcpConsoleNodesSectionLink.js +2 -2
- package/build/cjs/common/components/hosts/OcpConsoleNodesSectionLink.js.map +1 -1
- package/build/cjs/common/components/hosts/TableToolbar.js +3 -3
- package/build/cjs/common/components/hosts/TableToolbar.js.map +1 -1
- package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js +2 -2
- package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js.map +1 -1
- package/build/cjs/common/components/hosts/status.js +42 -30
- package/build/cjs/common/components/hosts/status.js.map +1 -1
- package/build/cjs/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.js +3 -2
- package/build/cjs/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.js.map +1 -1
- package/build/cjs/common/components/storage/DisksTable.js +3 -3
- package/build/cjs/common/components/storage/DisksTable.js.map +1 -1
- package/build/cjs/common/components/storage/StorageUtils.js +2 -2
- package/build/cjs/common/components/storage/StorageUtils.js.map +1 -1
- package/build/cjs/common/components/ui/BorderedIcon/BorderedIcon.js +10 -10
- package/build/cjs/common/components/ui/BorderedIcon/BorderedIcon.js.map +1 -1
- package/build/cjs/common/components/ui/ClusterEventsToolbar.js +4 -3
- package/build/cjs/common/components/ui/ClusterEventsToolbar.js.map +1 -1
- package/build/cjs/common/components/ui/DeveloperPreview.js +14 -0
- package/build/cjs/common/components/ui/DeveloperPreview.js.map +1 -0
- package/build/cjs/common/components/ui/EventsList.js +8 -5
- package/build/cjs/common/components/ui/EventsList.js.map +1 -1
- package/build/cjs/common/components/ui/ExternalLink.js +2 -2
- package/build/cjs/common/components/ui/ExternalLink.js.map +1 -1
- package/build/cjs/common/components/ui/NoPermissionsError.js +3 -3
- package/build/cjs/common/components/ui/NoPermissionsError.js.map +1 -1
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js +2 -2
- package/build/cjs/common/components/ui/OpenShiftVersionDropdown.js.map +1 -1
- package/build/cjs/common/components/ui/PopoverIcon.js +2 -2
- package/build/cjs/common/components/ui/PopoverIcon.js.map +1 -1
- package/build/cjs/common/components/ui/PreviewBadge.js +6 -17
- package/build/cjs/common/components/ui/PreviewBadge.js.map +1 -1
- package/build/cjs/common/components/ui/PrismCode.js +6 -4
- package/build/cjs/common/components/ui/PrismCode.js.map +1 -1
- package/build/cjs/common/components/ui/SimpleDropdown.js +2 -2
- package/build/cjs/common/components/ui/SimpleDropdown.js.map +1 -1
- package/build/cjs/common/components/ui/TechnologyPreview.js +15 -0
- package/build/cjs/common/components/ui/TechnologyPreview.js.map +1 -0
- package/build/cjs/common/components/ui/ViewClusterEventsButton.js +2 -2
- package/build/cjs/common/components/ui/ViewClusterEventsButton.js.map +1 -1
- package/build/cjs/common/components/ui/WizardNavItem.js +3 -3
- package/build/cjs/common/components/ui/WizardNavItem.js.map +1 -1
- package/build/cjs/common/components/ui/eventsModal.js +3 -3
- package/build/cjs/common/components/ui/eventsModal.js.map +1 -1
- package/build/cjs/common/components/ui/formik/AddButton.js +2 -2
- package/build/cjs/common/components/ui/formik/AddButton.js.map +1 -1
- package/build/cjs/common/components/ui/formik/AdditionalNTPSourcesField.js +1 -1
- package/build/cjs/common/components/ui/formik/AdditionalNTPSourcesField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/PencilEditField.js +2 -2
- package/build/cjs/common/components/ui/formik/PencilEditField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/PullSecretField.js +3 -3
- package/build/cjs/common/components/ui/formik/PullSecretField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/RemovableField.js +2 -2
- package/build/cjs/common/components/ui/formik/RemovableField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/RichInputField.js +8 -4
- package/build/cjs/common/components/ui/formik/RichInputField.js.map +1 -1
- package/build/cjs/common/components/ui/formik/validationSchemas.js +11 -4
- package/build/cjs/common/components/ui/formik/validationSchemas.js.map +1 -1
- package/build/cjs/common/components/ui/index.js +2 -0
- package/build/cjs/common/components/ui/index.js.map +1 -1
- package/build/cjs/common/components/ui/uiState/EmptyState.js +2 -2
- package/build/cjs/common/components/ui/uiState/EmptyState.js.map +1 -1
- package/build/cjs/common/components/ui/uiState/ErrorState.js +3 -3
- package/build/cjs/common/components/ui/uiState/ErrorState.js.map +1 -1
- package/build/cjs/common/config/constants.js +1 -1
- package/build/cjs/common/types/clusters.js +5 -1
- package/build/cjs/common/types/clusters.js.map +1 -1
- package/build/cjs/common/utils.js +19 -1
- package/build/cjs/common/utils.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/AddHosts.js +1 -1
- package/build/cjs/ocm/components/AddHosts/AddHosts.js.map +1 -1
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.js +4 -3
- package/build/cjs/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.js.map +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.js +3 -4
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.js.map +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js +1 -1
- package/build/cjs/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.js.map +1 -1
- package/build/cjs/ocm/components/Routes.js +7 -9
- package/build/cjs/ocm/components/Routes.js.map +1 -1
- package/build/cjs/ocm/components/SentryErrorMonitorContextProvider.js +1 -1
- package/build/cjs/ocm/components/SentryErrorMonitorContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js +10 -8
- package/build/cjs/ocm/components/clusterConfiguration/CpuArchitectureDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageForm.js +4 -3
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js +2 -1
- package/build/cjs/ocm/components/clusterConfiguration/HostInventory.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js +4 -4
- package/build/cjs/ocm/components/clusterConfiguration/OcmBaseDomainField.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +6 -5
- package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js +9 -6
- package/build/cjs/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js +10 -6
- package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CollapsedManifest.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CollapsedManifest.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.js +3 -3
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js +3 -3
- package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js +9 -5
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +1 -7
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/CnvCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js +3 -0
- package/build/cjs/ocm/components/clusterConfiguration/operators/LvmCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/operators/MceCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js +15 -5
- package/build/cjs/ocm/components/clusterConfiguration/operators/OdfCheckbox.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js +23 -12
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.js +3 -3
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/constants.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/constants.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js +4 -2
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js +13 -7
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/review/ReviewStep.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.js.map +1 -1
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.js +2 -2
- package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js +11 -10
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerDetailCard.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js +6 -5
- package/build/cjs/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/CancelInstallationModal.js +1 -1
- package/build/cjs/ocm/components/clusterDetail/CancelInstallationModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetail.js +3 -2
- package/build/cjs/ocm/components/clusterDetail/ClusterDetail.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js +3 -3
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailStatusMessages.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailsButtonGroup.js +2 -2
- package/build/cjs/ocm/components/clusterDetail/ClusterDetailsButtonGroup.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ClusterInstallationError.js +2 -2
- package/build/cjs/ocm/components/clusterDetail/ClusterInstallationError.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js +2 -2
- package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js +5 -5
- package/build/cjs/ocm/components/clusterDetail/ProgressBarAlerts.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js +4 -4
- package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js.map +1 -1
- package/build/cjs/ocm/components/clusterDetail/utils.js +5 -5
- package/build/cjs/ocm/components/clusterDetail/utils.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +2 -1
- package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/HostDiscovery.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/HostDiscovery.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/Operators.js +1 -1
- package/build/cjs/ocm/components/clusterWizard/Operators.js.map +1 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js +7 -1
- package/build/cjs/ocm/components/clusterWizard/OperatorsStep.js.map +1 -1
- package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js +2 -2
- package/build/cjs/ocm/components/clusters/AssistedInstallerHeader.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterBreadcrumbs.js +1 -1
- package/build/cjs/ocm/components/clusters/ClusterBreadcrumbs.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClusterStatus.js +15 -8
- package/build/cjs/ocm/components/clusters/ClusterStatus.js.map +1 -1
- package/build/cjs/ocm/components/clusters/Clusters.js +3 -3
- package/build/cjs/ocm/components/clusters/Clusters.js.map +1 -1
- package/build/cjs/ocm/components/clusters/ClustersListToolbar.js +4 -3
- package/build/cjs/ocm/components/clusters/ClustersListToolbar.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js +6 -5
- package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js.map +1 -1
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +17 -1
- package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
- package/build/cjs/ocm/components/fetching/fetchEvents.js +1 -1
- package/build/cjs/ocm/components/fetching/fetchEvents.js.map +1 -1
- package/build/cjs/ocm/components/hosts/HostsDiscoveryTable.js +1 -1
- package/build/cjs/ocm/components/hosts/HostsDiscoveryTable.js.map +1 -1
- package/build/cjs/ocm/components/hosts/HostsTableEmptyState.js +2 -2
- package/build/cjs/ocm/components/hosts/HostsTableEmptyState.js.map +1 -1
- package/build/cjs/ocm/components/hosts/use-hosts-table.js +1 -1
- package/build/cjs/ocm/components/hosts/use-hosts-table.js.map +1 -1
- package/build/cjs/ocm/components/hosts/utils.js +1 -1
- package/build/cjs/ocm/components/hosts/utils.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/components/utils.js +18 -0
- package/build/cjs/ocm/components/utils.js.map +1 -0
- package/build/cjs/ocm/hooks/use-feature.js +10 -0
- package/build/cjs/ocm/hooks/use-feature.js.map +1 -0
- package/build/cjs/ocm/hooks/useClusterCustomManifests.js +1 -1
- package/build/cjs/ocm/hooks/useClusterCustomManifests.js.map +1 -1
- package/build/cjs/ocm/hooks/useClusterPreflightRequirements.js +1 -1
- package/build/cjs/ocm/hooks/useClusterPreflightRequirements.js.map +1 -1
- package/build/cjs/ocm/hooks/useManagedDomains.js +1 -1
- package/build/cjs/ocm/hooks/useManagedDomains.js.map +1 -1
- package/build/cjs/ocm/hooks/useOpenshiftVersions.js +1 -1
- package/build/cjs/ocm/hooks/useOpenshiftVersions.js.map +1 -1
- package/build/cjs/ocm/hooks/usePullSecret.js +1 -1
- package/build/cjs/ocm/hooks/usePullSecret.js.map +1 -1
- package/build/cjs/ocm/hooks/useSupportLevelsAPI.js +1 -1
- package/build/cjs/ocm/hooks/useSupportLevelsAPI.js.map +1 -1
- package/build/cjs/ocm/hooks/useUsedClusterNames.js +1 -1
- package/build/cjs/ocm/hooks/useUsedClusterNames.js.map +1 -1
- package/build/cjs/ocm/index.js +1 -2
- package/build/cjs/ocm/index.js.map +1 -1
- package/build/cjs/ocm/services/ClusterDetailsService.js +19 -7
- package/build/cjs/ocm/services/ClusterDetailsService.js.map +1 -1
- package/build/cjs/ocm/services/ClustersService.js +2 -2
- package/build/cjs/ocm/services/ClustersService.js.map +1 -1
- package/build/cjs/ocm/services/Day2ClusterService.js +11 -1
- package/build/cjs/ocm/services/Day2ClusterService.js.map +1 -1
- package/build/cjs/ocm/store/slices/feature-flags/selectors.js +2 -1
- package/build/cjs/ocm/store/slices/feature-flags/selectors.js.map +1 -1
- package/lib/cim/components/Agent/AgentTable.tsx +1 -1
- package/lib/cim/components/Agent/BMCForm.tsx +2 -1
- package/lib/cim/components/Agent/MinimalHWRequirements.tsx +1 -1
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentCreateProgress.tsx +1 -1
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentDetailsTable.tsx +1 -1
- package/lib/cim/components/ClusterDeployment/ClusterDeploymentHostsNetworkTable.tsx +1 -1
- package/lib/cim/components/ClusterDeployment/networkConfigurationValidation.ts +2 -2
- package/lib/cim/components/Hypershift/DetailsPage/ClusterInstallationProgress.tsx +7 -6
- package/lib/cim/components/Hypershift/DetailsPage/ConditionsTable.tsx +6 -10
- package/lib/cim/components/Hypershift/DetailsPage/HostedClusterProgress.tsx +4 -5
- package/lib/cim/components/Hypershift/DetailsPage/NodePoolsProgress.tsx +9 -8
- package/lib/cim/components/Hypershift/DetailsPage/NodePoolsTable.tsx +8 -7
- package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsForm.tsx +8 -3
- package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/HostsStep.tsx +13 -3
- package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/NodePoolForm.tsx +36 -8
- package/lib/cim/components/Hypershift/HostedClusterWizard/HostsStep/types.ts +2 -8
- package/lib/cim/components/Hypershift/forms/NodePoolAgentsForm.tsx +58 -19
- package/lib/cim/components/Hypershift/modals/AddNodePoolModal.tsx +7 -2
- package/lib/cim/components/Hypershift/modals/ManageHostsModal.tsx +64 -12
- package/lib/cim/components/Hypershift/modals/NodePoolForm.tsx +8 -10
- package/lib/cim/components/Hypershift/types.ts +21 -1
- package/lib/cim/components/Hypershift/utils/status.tsx +6 -6
- package/lib/cim/components/InfraEnv/EnvironmentDetails.tsx +3 -1
- package/lib/cim/components/InfraEnv/InfraEnvFormPage.tsx +1 -1
- package/lib/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.tsx +2 -2
- package/lib/cim/components/InfraEnv/InfraTableToolbar.tsx +1 -1
- package/lib/cim/components/helpers/agentStatus.tsx +3 -2
- package/lib/cim/components/helpers/toAssisted.ts +8 -2
- package/lib/cim/components/modals/AddBmcHostYamlForm.tsx +2 -1
- package/lib/cim/components/modals/CimConfiguration/CimConfigDisconnectedAlert.tsx +1 -1
- package/lib/cim/components/modals/CimConfiguration/CimConfigProgressAlert.tsx +1 -1
- package/lib/cim/components/modals/CimConfiguration/CimConfigurationForm.tsx +2 -1
- package/lib/cim/components/modals/CimConfiguration/CimStorageMissingAlert.tsx +1 -1
- package/lib/cim/components/modals/MassDeleteAgentModal.tsx +1 -1
- package/lib/common/api/assisted-service/NewFeatureSupportLevelsAPI.ts +1 -0
- package/lib/common/components/clusterConfiguration/DiscoveryImageConfigForm.tsx +1 -1
- package/lib/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.tsx +1 -1
- package/lib/common/components/clusterConfiguration/DiskEncryptionFields/DiskEncryptionMode.tsx +1 -1
- package/lib/common/components/clusterConfiguration/OpenShiftVersionSelect.tsx +5 -9
- package/lib/common/components/clusterDetail/ClusterCredentials.tsx +1 -1
- package/lib/common/components/clusterDetail/ConsoleModal.tsx +1 -1
- package/lib/common/components/clusterDetail/FinalizingProgress.tsx +4 -6
- package/lib/common/components/clusterDetail/KubeconfigDownload.tsx +16 -6
- package/lib/common/components/clusterDetail/OperatorsProgressItem.tsx +6 -10
- package/lib/common/components/clusterDetail/ProgressBarTexts.tsx +3 -1
- package/lib/common/components/clusterWizard/ReviewValidations.tsx +6 -10
- package/lib/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.tsx +6 -6
- package/lib/common/components/featureSupportLevels/FeatureSupportLevelBadge.tsx +2 -1
- package/lib/common/components/hosts/DiskRole.tsx +1 -1
- package/lib/common/components/hosts/HostPropertyValidationPopover.tsx +5 -5
- package/lib/common/components/hosts/HostRowDetail.tsx +6 -10
- package/lib/common/components/hosts/HostStatus.tsx +1 -1
- package/lib/common/components/hosts/HostValidationGroups.tsx +5 -5
- package/lib/common/components/hosts/Hostname.tsx +2 -2
- package/lib/common/components/hosts/HostsTable.tsx +1 -1
- package/lib/common/components/hosts/MassChangeHostnameModal.tsx +1 -1
- package/lib/common/components/hosts/OcpConsoleNodesSectionLink.tsx +1 -1
- package/lib/common/components/hosts/TableToolbar.tsx +2 -2
- package/lib/common/components/hosts/VMRebootConfigurationInfo.tsx +1 -1
- package/lib/common/components/hosts/status.tsx +14 -18
- package/lib/common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge.tsx +2 -1
- package/lib/common/components/storage/DisksTable.tsx +1 -1
- package/lib/common/components/storage/StorageUtils.tsx +1 -1
- package/lib/common/components/ui/BorderedIcon/BorderedIcon.tsx +2 -1
- package/lib/common/components/ui/ClusterEventsToolbar.tsx +2 -1
- package/lib/common/components/ui/DeveloperPreview.tsx +19 -0
- package/lib/common/components/ui/EventsList.tsx +4 -6
- package/lib/common/components/ui/ExternalLink.tsx +1 -1
- package/lib/common/components/ui/NoPermissionsError.tsx +2 -2
- package/lib/common/components/ui/OpenShiftVersionDropdown.tsx +1 -1
- package/lib/common/components/ui/PopoverIcon.tsx +1 -1
- package/lib/common/components/ui/PreviewBadge.tsx +8 -42
- package/lib/common/components/ui/PrismCode.tsx +3 -5
- package/lib/common/components/ui/SimpleDropdown.tsx +1 -1
- package/lib/common/components/ui/TechnologyPreview.tsx +25 -0
- package/lib/common/components/ui/ViewClusterEventsButton.tsx +1 -1
- package/lib/common/components/ui/WizardNavItem.tsx +2 -2
- package/lib/common/components/ui/eventsModal.tsx +2 -2
- package/lib/common/components/ui/formik/AddButton.tsx +1 -1
- package/lib/common/components/ui/formik/AdditionalNTPSourcesField.tsx +1 -1
- package/lib/common/components/ui/formik/PencilEditField.tsx +1 -1
- package/lib/common/components/ui/formik/PullSecretField.tsx +1 -1
- package/lib/common/components/ui/formik/RemovableField.tsx +1 -1
- package/lib/common/components/ui/formik/RichInputField.tsx +5 -7
- package/lib/common/components/ui/formik/validationSchemas.ts +12 -6
- package/lib/common/components/ui/index.ts +2 -0
- package/lib/common/components/ui/uiState/EmptyState.tsx +1 -1
- package/lib/common/components/ui/uiState/ErrorState.tsx +2 -2
- package/lib/common/config/constants.ts +1 -1
- package/lib/common/types/clusters.ts +8 -4
- package/lib/common/utils.ts +18 -0
- package/lib/ocm/components/AddHosts/AddHosts.tsx +1 -1
- package/lib/ocm/components/AddHosts/day2Wizard/Day2ClusterDetails.tsx +3 -4
- package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTab.tsx +5 -7
- package/lib/ocm/components/HostsClusterDetailTab/HostsClusterDetailTabContent.tsx +1 -1
- package/lib/ocm/components/Routes.tsx +8 -11
- package/lib/ocm/components/SentryErrorMonitorContextProvider.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/CpuArchitectureDropdown.tsx +13 -9
- package/lib/ocm/components/clusterConfiguration/DiscoveryImageForm.tsx +3 -2
- package/lib/ocm/components/clusterConfiguration/DiscoveryImageTypeDropdown.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/HostInventory.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/OcmBaseDomainField.tsx +5 -5
- package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +4 -4
- package/lib/ocm/components/clusterConfiguration/OcmDiscoveryImageConfigForm.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/OcmOpenShiftVersionSelect.tsx +6 -10
- package/lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx +6 -10
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CollapsedManifest.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifest.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/CustomManifestsArray.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/components/FolderDropdown.tsx +7 -2
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.tsx +10 -3
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +1 -9
- package/lib/ocm/components/clusterConfiguration/networkConfiguration/SubnetsDropdown.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/CnvCheckbox.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/LvmCheckbox.tsx +7 -1
- package/lib/ocm/components/clusterConfiguration/operators/MceCheckbox.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/operators/OdfCheckbox.tsx +22 -4
- package/lib/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.tsx +38 -18
- package/lib/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/platformIntegration/constants.tsx +2 -2
- package/lib/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.tsx +4 -2
- package/lib/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.tsx +8 -12
- package/lib/ocm/components/clusterConfiguration/review/ReviewStep.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/CollapsedHost.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpForm.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/StaticIpHostsArray.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.tsx +1 -1
- package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.tsx +1 -1
- package/lib/ocm/components/clusterDetail/AssistedInstallerDetailCard.tsx +25 -26
- package/lib/ocm/components/clusterDetail/AssistedInstallerExtraDetailCard.tsx +16 -21
- package/lib/ocm/components/clusterDetail/CancelInstallationModal.tsx +1 -1
- package/lib/ocm/components/clusterDetail/ClusterDetail.tsx +3 -9
- package/lib/ocm/components/clusterDetail/ClusterDetailStatusMessages.tsx +2 -2
- package/lib/ocm/components/clusterDetail/ClusterDetailsButtonGroup.tsx +2 -2
- package/lib/ocm/components/clusterDetail/ClusterInstallationError.tsx +2 -2
- package/lib/ocm/components/clusterDetail/OpenShiftVersionDetail.tsx +1 -1
- package/lib/ocm/components/clusterDetail/ProgressBarAlerts.tsx +5 -5
- package/lib/ocm/components/clusterDetail/ResetClusterModal.tsx +3 -3
- package/lib/ocm/components/clusterDetail/utils.tsx +6 -5
- package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +1 -1
- package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +1 -1
- package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +2 -5
- package/lib/ocm/components/clusterWizard/HostDiscovery.tsx +1 -1
- package/lib/ocm/components/clusterWizard/Operators.tsx +1 -1
- package/lib/ocm/components/clusterWizard/OperatorsStep.tsx +17 -2
- package/lib/ocm/components/clusters/AssistedInstallerHeader.tsx +8 -6
- package/lib/ocm/components/clusters/ClusterBreadcrumbs.tsx +1 -1
- package/lib/ocm/components/clusters/ClusterStatus.tsx +9 -13
- package/lib/ocm/components/clusters/Clusters.tsx +2 -2
- package/lib/ocm/components/clusters/ClustersListToolbar.tsx +2 -1
- package/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx +3 -2
- package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +16 -0
- package/lib/ocm/components/fetching/fetchEvents.ts +15 -3
- package/lib/ocm/components/hosts/HostsDiscoveryTable.tsx +0 -1
- package/lib/ocm/components/hosts/HostsTableEmptyState.tsx +1 -1
- package/lib/ocm/components/hosts/use-hosts-table.tsx +1 -1
- package/lib/ocm/components/hosts/utils.ts +1 -1
- package/lib/ocm/components/ui/InfoLinkWithModal.tsx +1 -1
- package/lib/ocm/components/utils.ts +19 -0
- package/lib/ocm/hooks/_use-feature-detection.test.tsx +7 -15
- package/lib/ocm/hooks/use-feature.ts +7 -0
- package/lib/ocm/hooks/useClusterCustomManifests.ts +1 -1
- package/lib/ocm/hooks/useClusterPreflightRequirements.ts +1 -1
- package/lib/ocm/hooks/useManagedDomains.ts +1 -1
- package/lib/ocm/hooks/useOpenshiftVersions.tsx +1 -1
- package/lib/ocm/hooks/usePullSecret.ts +1 -1
- package/lib/ocm/hooks/useSupportLevelsAPI.ts +1 -1
- package/lib/ocm/hooks/useUsedClusterNames.ts +1 -1
- package/lib/ocm/index.ts +1 -2
- package/lib/ocm/services/ClusterDetailsService.ts +20 -4
- package/lib/ocm/services/ClustersService.ts +10 -4
- package/lib/ocm/services/Day2ClusterService.ts +20 -2
- package/lib/ocm/store/slices/feature-flags/selectors.ts +6 -6
- package/package.json +14 -6
- package/build/@types/ocm/api/index.d.ts +0 -2
- package/build/@types/ocm/api/index.d.ts.map +0 -1
- package/build/cjs/ocm/api/index.js +0 -5
- package/build/cjs/ocm/api/index.js.map +0 -1
- package/lib/ocm/api/index.ts +0 -1
|
@@ -1,9 +1,17 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { useState } from 'react';
|
|
2
2
|
import { FormGroup, Tooltip } from '@patternfly/react-core';
|
|
3
|
-
import { ExternalLinkAltIcon } from '@patternfly/react-icons';
|
|
4
|
-
import {
|
|
3
|
+
import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
|
|
4
|
+
import {
|
|
5
|
+
getFieldId,
|
|
6
|
+
PopoverIcon,
|
|
7
|
+
ODF_REQUIREMENTS_LINK,
|
|
8
|
+
ODF_LINK,
|
|
9
|
+
OperatorsValues,
|
|
10
|
+
} from '../../../../common';
|
|
5
11
|
import { OcmCheckboxField } from '../../ui/OcmFormFields';
|
|
6
12
|
import { useNewFeatureSupportLevel } from '../../../../common/components/newFeatureSupportLevels';
|
|
13
|
+
import { useFormikContext } from 'formik';
|
|
14
|
+
import { getOdfIncompatibleWithLvmsReason } from '../../featureSupportLevels/featureStateUtils';
|
|
7
15
|
|
|
8
16
|
const ODF_FIELD_NAME = 'useOpenShiftDataFoundation';
|
|
9
17
|
|
|
@@ -37,8 +45,18 @@ const OdfHelperText = () => {
|
|
|
37
45
|
|
|
38
46
|
const OdfCheckbox = () => {
|
|
39
47
|
const featureSupportLevelContext = useNewFeatureSupportLevel();
|
|
48
|
+
const { values } = useFormikContext<OperatorsValues>();
|
|
40
49
|
const fieldId = getFieldId(ODF_FIELD_NAME, 'input');
|
|
41
|
-
const disabledReason =
|
|
50
|
+
const [disabledReason, setDisabledReason] = useState<string | undefined>();
|
|
51
|
+
|
|
52
|
+
React.useEffect(() => {
|
|
53
|
+
let disabledReason = featureSupportLevelContext.getFeatureDisabledReason('ODF');
|
|
54
|
+
if (!disabledReason) {
|
|
55
|
+
disabledReason = getOdfIncompatibleWithLvmsReason(values);
|
|
56
|
+
}
|
|
57
|
+
setDisabledReason(disabledReason);
|
|
58
|
+
}, [values, featureSupportLevelContext]);
|
|
59
|
+
|
|
42
60
|
return (
|
|
43
61
|
<FormGroup isInline fieldId={fieldId}>
|
|
44
62
|
<OcmCheckboxField
|
package/lib/ocm/components/clusterConfiguration/platformIntegration/ExternalPlatformDropdown.tsx
CHANGED
|
@@ -10,23 +10,23 @@ import {
|
|
|
10
10
|
SplitItem,
|
|
11
11
|
Tooltip,
|
|
12
12
|
} from '@patternfly/react-core';
|
|
13
|
-
import { CaretDownIcon } from '@patternfly/react-icons';
|
|
13
|
+
import { CaretDownIcon } from '@patternfly/react-icons/dist/js/icons/caret-down-icon';
|
|
14
14
|
import { useField } from 'formik';
|
|
15
15
|
import {
|
|
16
16
|
CpuArchitecture,
|
|
17
|
-
DeveloperPreview,
|
|
18
17
|
FeatureId,
|
|
19
18
|
SupportedCpuArchitecture,
|
|
20
19
|
getFieldId,
|
|
21
20
|
} from '../../../../common';
|
|
22
21
|
import { ExternalPlaformIds, ExternalPlatformLabels, ExternalPlatformLinks } from './constants';
|
|
23
|
-
import { PlatformType } from '@openshift-assisted/types/assisted-installer-service';
|
|
22
|
+
import { PlatformType, SupportLevel } from '@openshift-assisted/types/assisted-installer-service';
|
|
24
23
|
import {
|
|
25
24
|
NewFeatureSupportLevelData,
|
|
26
25
|
NewFeatureSupportLevelMap,
|
|
27
26
|
useNewFeatureSupportLevel,
|
|
28
27
|
} from '../../../../common/components/newFeatureSupportLevels';
|
|
29
28
|
import { architectureData } from '../CpuArchitectureDropdown';
|
|
29
|
+
import NewFeatureSupportLevelBadge from '../../../../common/components/newFeatureSupportLevels/NewFeatureSupportLevelBadge';
|
|
30
30
|
|
|
31
31
|
const INPUT_NAME = 'platform';
|
|
32
32
|
const fieldId = getFieldId(INPUT_NAME, 'input');
|
|
@@ -43,6 +43,7 @@ export type ExternalPlatformInfo = {
|
|
|
43
43
|
label: string;
|
|
44
44
|
href?: string;
|
|
45
45
|
disabledReason?: string;
|
|
46
|
+
supportLevel?: SupportLevel;
|
|
46
47
|
};
|
|
47
48
|
|
|
48
49
|
const getDisabledReasonForExternalPlatform = (
|
|
@@ -52,19 +53,19 @@ const getDisabledReasonForExternalPlatform = (
|
|
|
52
53
|
featureSupportLevelData?: NewFeatureSupportLevelMap | null,
|
|
53
54
|
cpuArchitecture?: SupportedCpuArchitecture,
|
|
54
55
|
): string | undefined => {
|
|
55
|
-
if (
|
|
56
|
+
if (isSNO && (platform === 'nutanix' || platform === 'vsphere')) {
|
|
57
|
+
return `${ExternalPlatformLabels[platform]} integration is not supported for Single-Node OpenShift.`;
|
|
58
|
+
} else if (
|
|
59
|
+
isSNO &&
|
|
60
|
+
(cpuArchitecture === CpuArchitecture.ppc64le || cpuArchitecture === CpuArchitecture.s390x)
|
|
61
|
+
) {
|
|
62
|
+
return `Plaform integration is not supported for Single-Node OpenShift with the selected CPU architecture.`;
|
|
63
|
+
} else {
|
|
56
64
|
return newFeatureSupportLevelContext.getFeatureDisabledReason(
|
|
57
65
|
ExternalPlaformIds[platform] as FeatureId,
|
|
58
66
|
featureSupportLevelData ?? undefined,
|
|
59
67
|
cpuArchitecture,
|
|
60
68
|
);
|
|
61
|
-
} else if (platform === 'nutanix' || platform === 'vsphere') {
|
|
62
|
-
return `${ExternalPlatformLabels[platform]} integration is not supported for Single-Node OpenShift.`;
|
|
63
|
-
} else if (
|
|
64
|
-
cpuArchitecture === CpuArchitecture.ppc64le ||
|
|
65
|
-
cpuArchitecture === CpuArchitecture.s390x
|
|
66
|
-
) {
|
|
67
|
-
return `Plaform integration is not supported for Single-Node OpenShift with the selected CPU architecture.`;
|
|
68
69
|
}
|
|
69
70
|
};
|
|
70
71
|
|
|
@@ -75,7 +76,7 @@ const getExternalPlatformTypes = (
|
|
|
75
76
|
featureSupportLevelData?: NewFeatureSupportLevelMap | null,
|
|
76
77
|
cpuArchitecture?: SupportedCpuArchitecture,
|
|
77
78
|
): Partial<{ [key in PlatformType]: ExternalPlatformInfo }> => {
|
|
78
|
-
const platforms = ['none', 'nutanix', showOciOption && '
|
|
79
|
+
const platforms = ['none', 'nutanix', showOciOption && 'external', 'vsphere'] as PlatformType[];
|
|
79
80
|
|
|
80
81
|
return platforms.filter(Boolean).reduce(
|
|
81
82
|
(a, platform) => ({
|
|
@@ -90,6 +91,10 @@ const getExternalPlatformTypes = (
|
|
|
90
91
|
featureSupportLevelData ?? undefined,
|
|
91
92
|
cpuArchitecture,
|
|
92
93
|
),
|
|
94
|
+
supportLevel: newFeatureSupportLevelContext.getFeatureSupportLevel(
|
|
95
|
+
ExternalPlaformIds[platform] as FeatureId,
|
|
96
|
+
featureSupportLevelData ?? undefined,
|
|
97
|
+
),
|
|
93
98
|
},
|
|
94
99
|
}),
|
|
95
100
|
{},
|
|
@@ -104,6 +109,14 @@ export const areAllExternalPlatformIntegrationDisabled = (
|
|
|
104
109
|
.every((info) => info.disabledReason !== undefined);
|
|
105
110
|
};
|
|
106
111
|
|
|
112
|
+
const getReasonForDropdownDisabled = (isSNO: boolean, labelCpuArch: string): string => {
|
|
113
|
+
if (!isSNO) {
|
|
114
|
+
return `Platform integration is not supported when ${labelCpuArch} is selected`;
|
|
115
|
+
} else {
|
|
116
|
+
return `Platform integration is not supported for SNO clusters`;
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
|
|
107
120
|
export const ExternalPlatformDropdown = ({
|
|
108
121
|
showOciOption,
|
|
109
122
|
onChange,
|
|
@@ -117,9 +130,10 @@ export const ExternalPlatformDropdown = ({
|
|
|
117
130
|
Partial<{ [key in PlatformType]: ExternalPlatformInfo }>
|
|
118
131
|
>({});
|
|
119
132
|
|
|
120
|
-
const tooltipDropdownDisabled =
|
|
121
|
-
|
|
122
|
-
|
|
133
|
+
const tooltipDropdownDisabled = getReasonForDropdownDisabled(
|
|
134
|
+
isSNO,
|
|
135
|
+
cpuArchitecture ? architectureData[cpuArchitecture].label : '',
|
|
136
|
+
);
|
|
123
137
|
|
|
124
138
|
const handleClick = (event: MouseEvent<HTMLButtonElement>, href: string) => {
|
|
125
139
|
event.stopPropagation(); // Stop event propagation here
|
|
@@ -161,9 +175,10 @@ export const ExternalPlatformDropdown = ({
|
|
|
161
175
|
}, [dropdownIsDisabled, externalPlatformTypes]);
|
|
162
176
|
|
|
163
177
|
const enabledItems = Object.keys(externalPlatformTypes).map((platform) => {
|
|
164
|
-
const { label, href, disabledReason } = externalPlatformTypes[
|
|
178
|
+
const { label, href, disabledReason, supportLevel } = externalPlatformTypes[
|
|
165
179
|
platform as PlatformType
|
|
166
180
|
] as ExternalPlatformInfo;
|
|
181
|
+
|
|
167
182
|
return (
|
|
168
183
|
<DropdownItem key={platform} id={platform} isAriaDisabled={disabledReason !== undefined}>
|
|
169
184
|
<Split>
|
|
@@ -171,7 +186,12 @@ export const ExternalPlatformDropdown = ({
|
|
|
171
186
|
<Tooltip hidden={!disabledReason} content={disabledReason} position="top">
|
|
172
187
|
<div>
|
|
173
188
|
{label}
|
|
174
|
-
|
|
189
|
+
<span onClick={(event) => event.stopPropagation()}>
|
|
190
|
+
<NewFeatureSupportLevelBadge
|
|
191
|
+
featureId={ExternalPlaformIds[platform as PlatformType] as FeatureId}
|
|
192
|
+
supportLevel={supportLevel}
|
|
193
|
+
/>
|
|
194
|
+
</span>
|
|
175
195
|
</div>
|
|
176
196
|
</Tooltip>
|
|
177
197
|
</SplitItem>
|
|
@@ -208,7 +228,7 @@ export const ExternalPlatformDropdown = ({
|
|
|
208
228
|
const toggle = React.useMemo(
|
|
209
229
|
() => (
|
|
210
230
|
<DropdownToggle
|
|
211
|
-
onToggle={(val) => setOpen(val)}
|
|
231
|
+
onToggle={(val: boolean) => setOpen(val)}
|
|
212
232
|
toggleIndicator={CaretDownIcon}
|
|
213
233
|
isText
|
|
214
234
|
className="pf-u-w-100"
|
package/lib/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ExclamationTriangleIcon } from '@patternfly/react-icons';
|
|
3
|
-
import { global_warning_color_100 as warningColor } from '@patternfly/react-tokens';
|
|
2
|
+
import { ExclamationTriangleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
|
|
3
|
+
import { global_warning_color_100 as warningColor } from '@patternfly/react-tokens/dist/js/global_warning_color_100';
|
|
4
4
|
import { SupportedPlatformType } from '../../../../common';
|
|
5
5
|
import { ExternalPlatformLinks } from './constants';
|
|
6
6
|
|
|
@@ -5,7 +5,7 @@ export const ExternalPlatformLabels: { [key in PlatformType]: string } = {
|
|
|
5
5
|
baremetal: 'No platform integration',
|
|
6
6
|
none: 'No platform integration',
|
|
7
7
|
nutanix: 'Nutanix',
|
|
8
|
-
|
|
8
|
+
external: 'Oracle Cloud Infrastructure (Requires a custom manifest)',
|
|
9
9
|
vsphere: 'vSphere',
|
|
10
10
|
};
|
|
11
11
|
|
|
@@ -18,6 +18,6 @@ export const ExternalPlaformIds: { [key in PlatformType]: string } = {
|
|
|
18
18
|
baremetal: '',
|
|
19
19
|
none: '',
|
|
20
20
|
nutanix: 'NUTANIX_INTEGRATION',
|
|
21
|
-
|
|
21
|
+
external: 'EXTERNAL_PLATFORM_OCI',
|
|
22
22
|
vsphere: 'VSPHERE_INTEGRATION',
|
|
23
23
|
};
|
|
@@ -59,7 +59,8 @@ export const ReviewNetworkingTable = ({ cluster }: { cluster: Cluster }) => {
|
|
|
59
59
|
],
|
|
60
60
|
});
|
|
61
61
|
|
|
62
|
-
cluster.
|
|
62
|
+
cluster.apiVips &&
|
|
63
|
+
cluster.apiVips.length > 0 &&
|
|
63
64
|
networkRows.push({
|
|
64
65
|
rowId: 'api-ip',
|
|
65
66
|
cells: [
|
|
@@ -71,7 +72,8 @@ export const ReviewNetworkingTable = ({ cluster }: { cluster: Cluster }) => {
|
|
|
71
72
|
],
|
|
72
73
|
});
|
|
73
74
|
|
|
74
|
-
cluster.
|
|
75
|
+
cluster.ingressVips &&
|
|
76
|
+
cluster.ingressVips.length &&
|
|
75
77
|
networkRows.push({
|
|
76
78
|
rowId: 'ingress-ip',
|
|
77
79
|
cells: [
|
|
@@ -8,18 +8,14 @@ import {
|
|
|
8
8
|
Split,
|
|
9
9
|
SplitItem,
|
|
10
10
|
} from '@patternfly/react-core';
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from '@patternfly/react-
|
|
17
|
-
import {
|
|
18
|
-
|
|
19
|
-
global_info_color_100 as infoColor,
|
|
20
|
-
global_danger_color_100 as dangerColor,
|
|
21
|
-
global_warning_color_100 as warningColor,
|
|
22
|
-
} from '@patternfly/react-tokens';
|
|
11
|
+
import { CheckCircleIcon } from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
12
|
+
import { ExclamationCircleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-circle-icon';
|
|
13
|
+
import { ExclamationTriangleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
|
|
14
|
+
import { InfoCircleIcon } from '@patternfly/react-icons/dist/js/icons/info-circle-icon';
|
|
15
|
+
import { global_success_color_100 as okColor } from '@patternfly/react-tokens/dist/js/global_success_color_100';
|
|
16
|
+
import { global_info_color_100 as infoColor } from '@patternfly/react-tokens/dist/js/global_info_color_100';
|
|
17
|
+
import { global_danger_color_100 as dangerColor } from '@patternfly/react-tokens/dist/js/global_danger_color_100';
|
|
18
|
+
import { global_warning_color_100 as warningColor } from '@patternfly/react-tokens/dist/js/global_warning_color_100';
|
|
23
19
|
|
|
24
20
|
import { ClusterValidations, DetailItem, DetailList, HostsValidations } from '../../../../common';
|
|
25
21
|
import { useClusterWizardContext } from '../../clusterWizard/ClusterWizardContext';
|
|
@@ -3,7 +3,7 @@ import { useDispatch, useSelector } from 'react-redux';
|
|
|
3
3
|
import { ActionListItem, Button, ButtonVariant, Grid, GridItem } from '@patternfly/react-core';
|
|
4
4
|
import { ClusterWizardStepHeader, useAlerts, ClusterWizardStep } from '../../../../common';
|
|
5
5
|
import { useClusterWizardContext } from '../../clusterWizard/ClusterWizardContext';
|
|
6
|
-
import { getApiErrorMessage, handleApiError } from '
|
|
6
|
+
import { getApiErrorMessage, handleApiError } from '../../../../common/api';
|
|
7
7
|
import { updateCluster } from '../../../store/slices/current-cluster/slice';
|
|
8
8
|
import ClusterWizardFooter from '../../clusterWizard/ClusterWizardFooter';
|
|
9
9
|
import ClusterWizardNavigation from '../../clusterWizard/ClusterWizardNavigation';
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
TextVariants,
|
|
8
8
|
Text,
|
|
9
9
|
} from '@patternfly/react-core';
|
|
10
|
-
import { InfoCircleIcon } from '@patternfly/react-icons';
|
|
10
|
+
import { InfoCircleIcon } from '@patternfly/react-icons/dist/js/icons/info-circle-icon';
|
|
11
11
|
import React from 'react';
|
|
12
12
|
|
|
13
13
|
export type HostSummaryProps = {
|
|
@@ -5,7 +5,7 @@ import { Formik, FormikConfig, useFormikContext, yupToFormErrors } from 'formik'
|
|
|
5
5
|
import isEqual from 'lodash-es/isEqual.js';
|
|
6
6
|
import { useAlerts, useFormikAutoSave } from '../../../../../common';
|
|
7
7
|
import { useErrorMonitor } from '../../../../../common/components/ErrorHandling/ErrorMonitorContext';
|
|
8
|
-
import { getApiErrorMessage } from '
|
|
8
|
+
import { getApiErrorMessage } from '../../../../../common/api';
|
|
9
9
|
import { StaticIpFormProps } from './propTypes';
|
|
10
10
|
import { selectCurrentClusterPermissionsState } from '../../../../store/slices/current-cluster/selectors';
|
|
11
11
|
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
FlexItem,
|
|
12
12
|
Grid,
|
|
13
13
|
} from '@patternfly/react-core';
|
|
14
|
-
import { MinusCircleIcon } from '@patternfly/react-icons';
|
|
14
|
+
import { MinusCircleIcon } from '@patternfly/react-icons/dist/js/icons/minus-circle-icon';
|
|
15
15
|
import { FieldArray, FieldArrayRenderProps, useField } from 'formik';
|
|
16
16
|
import cloneDeep from 'lodash-es/cloneDeep.js';
|
|
17
17
|
import { getFormikArrayItemFieldName, LoadingState } from '../../../../../common';
|
package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/MacIpMapping.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { GridItem, Grid, Button } from '@patternfly/react-core';
|
|
3
3
|
import { ArrayHelpers, FieldArray } from 'formik';
|
|
4
|
-
import { PlusCircleIcon } from '@patternfly/react-icons';
|
|
4
|
+
import { PlusCircleIcon } from '@patternfly/react-icons/dist/js/icons/plus-circle-icon';
|
|
5
5
|
import { getFormikArrayItemFieldName, RemovableField } from '../../../../../../common';
|
|
6
6
|
import { OcmInputField } from '../../../../ui/OcmFormFields';
|
|
7
7
|
import { useSelector } from 'react-redux';
|
package/lib/ocm/components/clusterConfiguration/staticIp/components/YamlView/YamlViewFields.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TextVariants, TextContent, Text, FormGroup, Grid } from '@patternfly/react-core';
|
|
3
|
-
import { ExternalLinkAltIcon } from '@patternfly/react-icons';
|
|
3
|
+
import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
|
|
4
4
|
import { Language } from '@patternfly/react-code-editor';
|
|
5
5
|
import { useField } from 'formik';
|
|
6
6
|
import { getFieldId, NMSTATE_EXAMPLES_LINK, PopoverIcon } from '../../../../../../common';
|
|
@@ -8,7 +8,6 @@ import {
|
|
|
8
8
|
AssistedInstallerOCMPermissionTypesListType,
|
|
9
9
|
CpuArchitecture,
|
|
10
10
|
ErrorState,
|
|
11
|
-
FeatureGateContextProvider,
|
|
12
11
|
FeatureListType,
|
|
13
12
|
LoadingState,
|
|
14
13
|
ResourceUIState,
|
|
@@ -29,6 +28,7 @@ import { BackButton } from '../ui/Buttons/BackButton';
|
|
|
29
28
|
import { NewFeatureSupportLevelProvider } from '../featureSupportLevels';
|
|
30
29
|
import { usePullSecret } from '../../hooks';
|
|
31
30
|
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
31
|
+
import { useFeatureDetection } from '../../hooks/use-feature-detection';
|
|
32
32
|
|
|
33
33
|
type AssistedInstallerDetailCardProps = {
|
|
34
34
|
aiClusterId: string;
|
|
@@ -91,6 +91,7 @@ const AssistedInstallerDetailCard = ({
|
|
|
91
91
|
allEnabledFeatures,
|
|
92
92
|
permissions,
|
|
93
93
|
}: AssistedInstallerDetailCardProps) => {
|
|
94
|
+
useFeatureDetection(allEnabledFeatures);
|
|
94
95
|
const { cluster, uiState } = useClusterPolling(aiClusterId);
|
|
95
96
|
const pullSecret = usePullSecret();
|
|
96
97
|
const {
|
|
@@ -131,32 +132,30 @@ const AssistedInstallerDetailCard = ({
|
|
|
131
132
|
|
|
132
133
|
const isOutdatedClusterData = uiState === ResourceUIState.POLLING_ERROR;
|
|
133
134
|
return (
|
|
134
|
-
<
|
|
135
|
-
<
|
|
136
|
-
<
|
|
137
|
-
<
|
|
138
|
-
<
|
|
139
|
-
|
|
140
|
-
|
|
135
|
+
<AlertsContextProvider>
|
|
136
|
+
<SentryErrorMonitorContextProvider>
|
|
137
|
+
<ModalDialogsContextProvider>
|
|
138
|
+
<ClusterDefaultConfigurationProvider
|
|
139
|
+
loadingUI={<LoadingCard />}
|
|
140
|
+
errorUI={<LoadingDefaultConfigFailedCard />}
|
|
141
|
+
>
|
|
142
|
+
<NewFeatureSupportLevelProvider
|
|
143
|
+
loadingUi={<LoadingCard />}
|
|
144
|
+
cluster={cluster}
|
|
145
|
+
cpuArchitecture={infraEnv.cpuArchitecture as CpuArchitecture}
|
|
146
|
+
openshiftVersion={cluster.openshiftVersion}
|
|
147
|
+
platformType={cluster.platform?.type}
|
|
141
148
|
>
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
<CancelInstallationModal />
|
|
153
|
-
<ResetClusterModal />
|
|
154
|
-
<DiscoveryImageModal />
|
|
155
|
-
</ClusterDefaultConfigurationProvider>
|
|
156
|
-
</ModalDialogsContextProvider>
|
|
157
|
-
</SentryErrorMonitorContextProvider>
|
|
158
|
-
</AlertsContextProvider>
|
|
159
|
-
</FeatureGateContextProvider>
|
|
149
|
+
{content}
|
|
150
|
+
</NewFeatureSupportLevelProvider>
|
|
151
|
+
{isOutdatedClusterData && <ClusterPollingErrorModal />}
|
|
152
|
+
<CancelInstallationModal />
|
|
153
|
+
<ResetClusterModal />
|
|
154
|
+
<DiscoveryImageModal />
|
|
155
|
+
</ClusterDefaultConfigurationProvider>
|
|
156
|
+
</ModalDialogsContextProvider>
|
|
157
|
+
</SentryErrorMonitorContextProvider>
|
|
158
|
+
</AlertsContextProvider>
|
|
160
159
|
);
|
|
161
160
|
};
|
|
162
161
|
|
|
@@ -3,18 +3,14 @@ import { Provider } from 'react-redux';
|
|
|
3
3
|
import { storeDay1 } from '../../store';
|
|
4
4
|
import { useSelector } from 'react-redux';
|
|
5
5
|
|
|
6
|
-
import {
|
|
7
|
-
AlertsContextProvider,
|
|
8
|
-
CpuArchitecture,
|
|
9
|
-
FeatureGateContextProvider,
|
|
10
|
-
FeatureListType,
|
|
11
|
-
} from '../../../common';
|
|
6
|
+
import { AlertsContextProvider, CpuArchitecture, FeatureListType } from '../../../common';
|
|
12
7
|
import ClusterProperties from './ClusterProperties';
|
|
13
8
|
import { Grid } from '@patternfly/react-core';
|
|
14
9
|
import { NewFeatureSupportLevelProvider } from '../featureSupportLevels';
|
|
15
10
|
import useInfraEnv from '../../hooks/useInfraEnv';
|
|
16
11
|
import { usePullSecret } from '../../hooks';
|
|
17
12
|
import { selectCurrentClusterState } from '../../store/slices/current-cluster/selectors';
|
|
13
|
+
import { useFeatureDetection } from '../../hooks/use-feature-detection';
|
|
18
14
|
|
|
19
15
|
type AssistedInstallerExtraDetailCardProps = {
|
|
20
16
|
allEnabledFeatures: FeatureListType;
|
|
@@ -23,6 +19,7 @@ type AssistedInstallerExtraDetailCardProps = {
|
|
|
23
19
|
const AssistedInstallerExtraDetailCard: React.FC<AssistedInstallerExtraDetailCardProps> = ({
|
|
24
20
|
allEnabledFeatures,
|
|
25
21
|
}) => {
|
|
22
|
+
useFeatureDetection(allEnabledFeatures);
|
|
26
23
|
const { data: cluster } = useSelector(selectCurrentClusterState);
|
|
27
24
|
const pullSecret = usePullSecret();
|
|
28
25
|
const { infraEnv } = useInfraEnv(
|
|
@@ -40,21 +37,19 @@ const AssistedInstallerExtraDetailCard: React.FC<AssistedInstallerExtraDetailCar
|
|
|
40
37
|
}
|
|
41
38
|
|
|
42
39
|
return (
|
|
43
|
-
<
|
|
44
|
-
<
|
|
45
|
-
<
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
>
|
|
52
|
-
<
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
</AlertsContextProvider>
|
|
57
|
-
</FeatureGateContextProvider>
|
|
40
|
+
<AlertsContextProvider>
|
|
41
|
+
<NewFeatureSupportLevelProvider
|
|
42
|
+
loadingUi={<div />}
|
|
43
|
+
cluster={cluster}
|
|
44
|
+
cpuArchitecture={infraEnv?.cpuArchitecture as CpuArchitecture}
|
|
45
|
+
openshiftVersion={cluster.openshiftVersion}
|
|
46
|
+
platformType={cluster.platform?.type}
|
|
47
|
+
>
|
|
48
|
+
<Grid className="pf-u-mt-md">
|
|
49
|
+
<ClusterProperties cluster={cluster} externalMode />
|
|
50
|
+
</Grid>
|
|
51
|
+
</NewFeatureSupportLevelProvider>
|
|
52
|
+
</AlertsContextProvider>
|
|
58
53
|
);
|
|
59
54
|
};
|
|
60
55
|
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
Text,
|
|
9
9
|
TextContent,
|
|
10
10
|
} from '@patternfly/react-core';
|
|
11
|
-
import { getApiErrorMessage, handleApiError } from '
|
|
11
|
+
import { getApiErrorMessage, handleApiError } from '../../../common/api';
|
|
12
12
|
import { updateCluster } from '../../store/slices/current-cluster/slice';
|
|
13
13
|
import { useModalDialogsContext } from '../hosts/ModalDialogsContext';
|
|
14
14
|
import { ErrorState, LoadingState } from '../../../common';
|
|
@@ -9,14 +9,7 @@ import {
|
|
|
9
9
|
GridItem,
|
|
10
10
|
Grid,
|
|
11
11
|
} from '@patternfly/react-core';
|
|
12
|
-
import {
|
|
13
|
-
ToolbarButton,
|
|
14
|
-
Alerts,
|
|
15
|
-
getEnabledHosts,
|
|
16
|
-
selectOlmOperators,
|
|
17
|
-
isSNO,
|
|
18
|
-
useFeature,
|
|
19
|
-
} from '../../../common';
|
|
12
|
+
import { ToolbarButton, Alerts, getEnabledHosts, selectOlmOperators, isSNO } from '../../../common';
|
|
20
13
|
import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
|
|
21
14
|
import ClusterToolbar from '../clusters/ClusterToolbar';
|
|
22
15
|
import { getClusterDetailId } from './utils';
|
|
@@ -29,12 +22,13 @@ import { onFetchEvents } from '../fetching/fetchEvents';
|
|
|
29
22
|
import { getClusterProgressAlerts } from './getProgressBarAlerts';
|
|
30
23
|
import { ClustersAPI } from '../../services/apis';
|
|
31
24
|
import { updateCluster } from '../../store/slices/current-cluster/slice';
|
|
32
|
-
import { handleApiError, isInOcm } from '
|
|
25
|
+
import { handleApiError, isInOcm } from '../../../common/api';
|
|
33
26
|
import { useNewFeatureSupportLevel } from '../../../common/components/newFeatureSupportLevels';
|
|
34
27
|
import OcmClusterProgressItems from '../clusterConfiguration/OcmClusterProgressItems';
|
|
35
28
|
import ClusterDetailsButtonGroup from './ClusterDetailsButtonGroup';
|
|
36
29
|
import ClusterSummaryExpandable from './ClusterSummaryExpandable';
|
|
37
30
|
import HostInventoryExpandable from './HostInventoryExpandable';
|
|
31
|
+
import { useFeature } from '../../hooks/use-feature';
|
|
38
32
|
|
|
39
33
|
type ClusterDetailProps = {
|
|
40
34
|
cluster: Cluster;
|
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
} from '../../../common';
|
|
10
10
|
|
|
11
11
|
import { useDefaultConfiguration } from '../clusterConfiguration/ClusterDefaultConfigurationContext';
|
|
12
|
-
import { ExternalLinkAltIcon } from '@patternfly/react-icons';
|
|
12
|
+
import { ExternalLinkAltIcon } from '@patternfly/react-icons/dist/js/icons/external-link-alt-icon';
|
|
13
13
|
import { calculateClusterDateDiff } from '../../../common/services/DateAndTime';
|
|
14
|
-
import { isInOcm } from '
|
|
14
|
+
import { isInOcm } from '../../../common/api';
|
|
15
15
|
import { ExternalPlatformLinks } from '../clusterConfiguration/platformIntegration/constants';
|
|
16
16
|
import { useNewFeatureSupportLevel } from '../../../common/components/newFeatureSupportLevels';
|
|
17
17
|
import { Cluster, PlatformType } from '@openshift-assisted/types/assisted-installer-service';
|
|
@@ -30,7 +30,7 @@ const ClusterDetailsButtonGroup: React.FC<ClusterDetailsButtonGroupProps> = ({
|
|
|
30
30
|
credentialsError,
|
|
31
31
|
showKubeConfig = true,
|
|
32
32
|
}) => {
|
|
33
|
-
const { addAlert } = useAlerts();
|
|
33
|
+
const { addAlert, clearAlerts } = useAlerts();
|
|
34
34
|
const { cancelInstallationDialog, resetClusterDialog } = useModalDialogsContext();
|
|
35
35
|
const hasConsoleUrlAndNoError = credentials?.consoleUrl !== undefined && !credentialsError;
|
|
36
36
|
|
|
@@ -88,7 +88,7 @@ const ClusterDetailsButtonGroup: React.FC<ClusterDetailsButtonGroupProps> = ({
|
|
|
88
88
|
data-testid="cluster-installation-logs-button"
|
|
89
89
|
variant={ButtonVariant.link}
|
|
90
90
|
onClick={() => {
|
|
91
|
-
void downloadClusterInstallationLogs(addAlert, cluster.id);
|
|
91
|
+
void downloadClusterInstallationLogs(addAlert, cluster.id, clearAlerts);
|
|
92
92
|
}}
|
|
93
93
|
isDisabled={!canDownloadClusterLogs(cluster)}
|
|
94
94
|
>
|
|
@@ -23,7 +23,7 @@ const ClusterInstallationError: React.FC<ClusterInstallationErrorProps> = ({
|
|
|
23
23
|
cluster,
|
|
24
24
|
title = 'Cluster installation failed',
|
|
25
25
|
}) => {
|
|
26
|
-
const { addAlert } = useAlerts();
|
|
26
|
+
const { addAlert, clearAlerts } = useAlerts();
|
|
27
27
|
const { resetClusterDialog } = useModalDialogsContext();
|
|
28
28
|
|
|
29
29
|
return (
|
|
@@ -41,7 +41,7 @@ const ClusterInstallationError: React.FC<ClusterInstallationErrorProps> = ({
|
|
|
41
41
|
</AlertActionLink>
|
|
42
42
|
<AlertActionLink
|
|
43
43
|
onClick={() => {
|
|
44
|
-
void downloadClusterInstallationLogs(addAlert, cluster.id);
|
|
44
|
+
void downloadClusterInstallationLogs(addAlert, cluster.id, clearAlerts);
|
|
45
45
|
}}
|
|
46
46
|
isDisabled={!canDownloadClusterLogs(cluster)}
|
|
47
47
|
id={getID('button-download-installation-logs')}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { getOpenshiftVersionText } from '../../../common';
|
|
3
3
|
import { useOpenshiftVersions } from '../../hooks';
|
|
4
|
-
import { ExclamationTriangleIcon } from '@patternfly/react-icons';
|
|
4
|
+
import { ExclamationTriangleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
|
|
5
5
|
import { global_warning_color_100 as warningColor } from '@patternfly/react-tokens/dist/js/global_warning_color_100';
|
|
6
6
|
import { Popover, Text, TextContent, TextVariants } from '@patternfly/react-core';
|
|
7
7
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
|
|
15
15
|
import { downloadClusterInstallationLogs } from './utils';
|
|
16
16
|
import { useModalDialogsContext } from '../hosts/ModalDialogsContext';
|
|
17
|
-
import { isInOcm } from '
|
|
17
|
+
import { isInOcm } from '../../../common/api';
|
|
18
18
|
import {
|
|
19
19
|
NewFeatureSupportLevelData,
|
|
20
20
|
useNewFeatureSupportLevel,
|
|
@@ -92,7 +92,7 @@ export const HostInstallationWarning = ({
|
|
|
92
92
|
failedOperators = [],
|
|
93
93
|
message,
|
|
94
94
|
}: InstallationProgressWarningProps) => {
|
|
95
|
-
const { addAlert } = useAlerts();
|
|
95
|
+
const { addAlert, clearAlerts } = useAlerts();
|
|
96
96
|
const { t } = useTranslation();
|
|
97
97
|
const featureSupportLevel = useNewFeatureSupportLevel();
|
|
98
98
|
|
|
@@ -107,7 +107,7 @@ export const HostInstallationWarning = ({
|
|
|
107
107
|
<AlertActionLink
|
|
108
108
|
id="cluster-installation-logs-button"
|
|
109
109
|
onClick={() => {
|
|
110
|
-
void downloadClusterInstallationLogs(addAlert, cluster.id);
|
|
110
|
+
void downloadClusterInstallationLogs(addAlert, cluster.id, clearAlerts);
|
|
111
111
|
}}
|
|
112
112
|
isDisabled={!canDownloadClusterLogs(cluster)}
|
|
113
113
|
>
|
|
@@ -143,7 +143,7 @@ export const HostsInstallationFailed = ({
|
|
|
143
143
|
totalHosts,
|
|
144
144
|
isCriticalNumberOfWorkersFailed,
|
|
145
145
|
}: InstallationProgressWarningProps) => {
|
|
146
|
-
const { addAlert } = useAlerts();
|
|
146
|
+
const { addAlert, clearAlerts } = useAlerts();
|
|
147
147
|
const { resetClusterDialog } = useModalDialogsContext();
|
|
148
148
|
const getID = (suffix: string) => `cluster-install-error-${suffix}`;
|
|
149
149
|
let title, message;
|
|
@@ -185,7 +185,7 @@ export const HostsInstallationFailed = ({
|
|
|
185
185
|
<AlertActionLink
|
|
186
186
|
id="cluster-installation-logs-button"
|
|
187
187
|
onClick={() => {
|
|
188
|
-
void downloadClusterInstallationLogs(addAlert, cluster.id);
|
|
188
|
+
void downloadClusterInstallationLogs(addAlert, cluster.id, clearAlerts);
|
|
189
189
|
}}
|
|
190
190
|
isDisabled={!canDownloadClusterLogs(cluster)}
|
|
191
191
|
>
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
Text,
|
|
9
9
|
TextContent,
|
|
10
10
|
} from '@patternfly/react-core';
|
|
11
|
-
import { ExclamationTriangleIcon } from '@patternfly/react-icons';
|
|
12
|
-
import { global_warning_color_100 as warningColor } from '@patternfly/react-tokens';
|
|
11
|
+
import { ExclamationTriangleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
|
|
12
|
+
import { global_warning_color_100 as warningColor } from '@patternfly/react-tokens/dist/js/global_warning_color_100';
|
|
13
13
|
|
|
14
|
-
import { getApiErrorMessage, handleApiError } from '
|
|
14
|
+
import { getApiErrorMessage, handleApiError } from '../../../common/api';
|
|
15
15
|
import { updateCluster } from '../../store/slices/current-cluster/slice';
|
|
16
16
|
import { calculateCollectedLogsCount } from '../clusters/utils';
|
|
17
17
|
import { useModalDialogsContext } from '../hosts/ModalDialogsContext';
|