@openshift-assisted/ui-lib 2.50.0 → 2.51.0

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.
Files changed (296) hide show
  1. package/build/@types/cim/components/Agent/BMHStatusInfo.d.ts.map +1 -1
  2. package/build/@types/cim/components/Agent/MinimalHWRequirements.d.ts.map +1 -1
  3. package/build/@types/cim/components/ClusterDeployment/use-networking-formik.d.ts +1 -1
  4. package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts +1 -1
  5. package/build/@types/cim/components/ClusterDeployment/wizardTransition.d.ts.map +1 -1
  6. package/build/@types/cim/components/Hypershift/DetailsPage/ConditionsTable.d.ts.map +1 -1
  7. package/build/@types/cim/components/Hypershift/DetailsPage/HostedClusterProgress.d.ts.map +1 -1
  8. package/build/@types/cim/components/Hypershift/DetailsPage/NodePoolsProgress.d.ts.map +1 -1
  9. package/build/@types/cim/components/Hypershift/utils/status.d.ts +2 -2
  10. package/build/@types/cim/components/Hypershift/utils/status.d.ts.map +1 -1
  11. package/build/@types/cim/components/InfraEnv/EnvironmentDetails.d.ts.map +1 -1
  12. package/build/@types/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.d.ts.map +1 -1
  13. package/build/@types/cim/components/helpers/agentStatus.d.ts +1 -1
  14. package/build/@types/cim/components/helpers/agentStatus.d.ts.map +1 -1
  15. package/build/@types/cim/components/modals/MassDeleteAgentModal.d.ts.map +1 -1
  16. package/build/@types/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.d.ts.map +1 -1
  17. package/build/@types/common/components/clusterDetail/FinalizingProgress.d.ts +1 -1
  18. package/build/@types/common/components/clusterDetail/FinalizingProgress.d.ts.map +1 -1
  19. package/build/@types/common/components/clusterDetail/OperatorsProgressItem.d.ts.map +1 -1
  20. package/build/@types/common/components/clusterDetail/ProgressBarTexts.d.ts.map +1 -1
  21. package/build/@types/common/components/clusterWizard/ReviewValidations.d.ts.map +1 -1
  22. package/build/@types/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.d.ts.map +1 -1
  23. package/build/@types/common/components/hosts/HostPropertyValidationPopover.d.ts.map +1 -1
  24. package/build/@types/common/components/hosts/HostStatus.d.ts.map +1 -1
  25. package/build/@types/common/components/hosts/HostValidationGroups.d.ts.map +1 -1
  26. package/build/@types/common/components/hosts/Hostname.d.ts.map +1 -1
  27. package/build/@types/common/components/hosts/MassChangeHostnameModal.d.ts.map +1 -1
  28. package/build/@types/common/components/hosts/VMRebootConfigurationInfo.d.ts.map +1 -1
  29. package/build/@types/common/components/hosts/status.d.ts.map +1 -1
  30. package/build/@types/common/components/storage/DisksTable.d.ts.map +1 -1
  31. package/build/@types/common/components/storage/StorageUtils.d.ts +1 -1
  32. package/build/@types/common/components/storage/StorageUtils.d.ts.map +1 -1
  33. package/build/@types/common/components/ui/WizardNavItem.d.ts.map +1 -1
  34. package/build/@types/common/components/ui/formik/RemovableField.d.ts.map +1 -1
  35. package/build/@types/common/components/ui/formik/RichInputField.d.ts.map +1 -1
  36. package/build/@types/common/components/ui/index.d.ts +0 -1
  37. package/build/@types/common/components/ui/index.d.ts.map +1 -1
  38. package/build/@types/common/config/constants.d.ts +7 -0
  39. package/build/@types/common/config/constants.d.ts.map +1 -1
  40. package/build/@types/common/config/docs_links.d.ts +1 -0
  41. package/build/@types/common/config/docs_links.d.ts.map +1 -1
  42. package/build/@types/common/types/ui-settings.d.ts +0 -1
  43. package/build/@types/common/types/ui-settings.d.ts.map +1 -1
  44. package/build/@types/common/validationSchemas/addressValidation.d.ts.map +1 -1
  45. package/build/@types/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.d.ts.map +1 -1
  46. package/build/@types/ocm/components/clusterConfiguration/OcmOperatorProgressItem.d.ts.map +1 -1
  47. package/build/@types/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.d.ts.map +1 -1
  48. package/build/@types/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.d.ts.map +1 -1
  49. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.d.ts.map +1 -1
  50. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.d.ts.map +1 -1
  51. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.d.ts +9 -0
  52. package/build/@types/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.d.ts.map +1 -0
  53. package/build/@types/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.d.ts.map +1 -1
  54. package/build/@types/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.d.ts.map +1 -1
  55. package/build/@types/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.d.ts.map +1 -1
  56. package/build/@types/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.d.ts.map +1 -1
  57. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.d.ts.map +1 -1
  58. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.d.ts +22 -0
  59. package/build/@types/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.d.ts.map +1 -1
  60. package/build/@types/ocm/components/clusterDetail/ClusterProperties.d.ts.map +1 -1
  61. package/build/@types/ocm/components/clusterDetail/HostInventoryExpandable.d.ts +1 -1
  62. package/build/@types/ocm/components/clusterDetail/HostInventoryExpandable.d.ts.map +1 -1
  63. package/build/@types/ocm/components/clusterDetail/OpenShiftVersionDetail.d.ts.map +1 -1
  64. package/build/@types/ocm/components/clusterDetail/ResetClusterModal.d.ts.map +1 -1
  65. package/build/@types/ocm/components/clusterWizard/ClusterDetails.d.ts.map +1 -1
  66. package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts +2 -2
  67. package/build/@types/ocm/components/clusterWizard/ClusterDetailsForm.d.ts.map +1 -1
  68. package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts +0 -8
  69. package/build/@types/ocm/components/clusterWizard/ClusterWizardContext.d.ts.map +1 -1
  70. package/build/@types/ocm/components/clusterWizard/ClusterWizardContextProvider.d.ts.map +1 -1
  71. package/build/@types/ocm/components/clusterWizard/constants.d.ts.map +1 -1
  72. package/build/@types/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.d.ts.map +1 -1
  73. package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts +1 -1
  74. package/build/@types/ocm/components/clusterWizard/wizardTransition.d.ts.map +1 -1
  75. package/build/@types/ocm/components/clusters/ClusterStatus.d.ts.map +1 -1
  76. package/build/@types/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.d.ts.map +1 -1
  77. package/build/@types/ocm/components/featureSupportLevels/featureStateUtils.d.ts.map +1 -1
  78. package/build/@types/ocm/components/ui/InfoLinkWithModal.d.ts.map +1 -1
  79. package/build/@types/ocm/components/utils.d.ts +1 -0
  80. package/build/@types/ocm/components/utils.d.ts.map +1 -1
  81. package/build/@types/ocm/hooks/useUISettings.d.ts.map +1 -1
  82. package/build/@types/ocm/services/ClusterDetailsService.d.ts +1 -2
  83. package/build/@types/ocm/services/ClusterDetailsService.d.ts.map +1 -1
  84. package/build/@types/ocm/services/types.d.ts +0 -1
  85. package/build/@types/ocm/services/types.d.ts.map +1 -1
  86. package/build/@types/ocm/store/slices/current-cluster/slice.d.ts +3 -3
  87. package/build/cjs/cim/components/Agent/BMHStatusInfo.js +4 -4
  88. package/build/cjs/cim/components/Agent/BMHStatusInfo.js.map +1 -1
  89. package/build/cjs/cim/components/Agent/MinimalHWRequirements.js +2 -2
  90. package/build/cjs/cim/components/Agent/MinimalHWRequirements.js.map +1 -1
  91. package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js +7 -6
  92. package/build/cjs/cim/components/Hypershift/DetailsPage/ConditionsTable.js.map +1 -1
  93. package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js +3 -2
  94. package/build/cjs/cim/components/Hypershift/DetailsPage/HostedClusterProgress.js.map +1 -1
  95. package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js +2 -2
  96. package/build/cjs/cim/components/Hypershift/DetailsPage/NodePoolsProgress.js.map +1 -1
  97. package/build/cjs/cim/components/Hypershift/utils/status.js +8 -7
  98. package/build/cjs/cim/components/Hypershift/utils/status.js.map +1 -1
  99. package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js +4 -4
  100. package/build/cjs/cim/components/InfraEnv/EnvironmentDetails.js.map +1 -1
  101. package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js +3 -3
  102. package/build/cjs/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.js.map +1 -1
  103. package/build/cjs/cim/components/helpers/agentStatus.js +3 -2
  104. package/build/cjs/cim/components/helpers/agentStatus.js.map +1 -1
  105. package/build/cjs/cim/components/modals/MassDeleteAgentModal.js +2 -2
  106. package/build/cjs/cim/components/modals/MassDeleteAgentModal.js.map +1 -1
  107. package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js +2 -1
  108. package/build/cjs/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.js.map +1 -1
  109. package/build/cjs/common/components/clusterDetail/FinalizingProgress.js +8 -7
  110. package/build/cjs/common/components/clusterDetail/FinalizingProgress.js.map +1 -1
  111. package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js +4 -4
  112. package/build/cjs/common/components/clusterDetail/OperatorsProgressItem.js.map +1 -1
  113. package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js +5 -4
  114. package/build/cjs/common/components/clusterDetail/ProgressBarTexts.js.map +1 -1
  115. package/build/cjs/common/components/clusterWizard/ReviewValidations.js +7 -6
  116. package/build/cjs/common/components/clusterWizard/ReviewValidations.js.map +1 -1
  117. package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js +2 -2
  118. package/build/cjs/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.js.map +1 -1
  119. package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js +6 -6
  120. package/build/cjs/common/components/hosts/HostPropertyValidationPopover.js.map +1 -1
  121. package/build/cjs/common/components/hosts/HostStatus.js +2 -1
  122. package/build/cjs/common/components/hosts/HostStatus.js.map +1 -1
  123. package/build/cjs/common/components/hosts/HostValidationGroups.js +6 -6
  124. package/build/cjs/common/components/hosts/HostValidationGroups.js.map +1 -1
  125. package/build/cjs/common/components/hosts/Hostname.js +4 -3
  126. package/build/cjs/common/components/hosts/Hostname.js.map +1 -1
  127. package/build/cjs/common/components/hosts/MassChangeHostnameModal.js +2 -2
  128. package/build/cjs/common/components/hosts/MassChangeHostnameModal.js.map +1 -1
  129. package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js +2 -1
  130. package/build/cjs/common/components/hosts/VMRebootConfigurationInfo.js.map +1 -1
  131. package/build/cjs/common/components/hosts/status.js +19 -13
  132. package/build/cjs/common/components/hosts/status.js.map +1 -1
  133. package/build/cjs/common/components/storage/DisksTable.js +4 -2
  134. package/build/cjs/common/components/storage/DisksTable.js.map +1 -1
  135. package/build/cjs/common/components/storage/StorageUtils.js +3 -2
  136. package/build/cjs/common/components/storage/StorageUtils.js.map +1 -1
  137. package/build/cjs/common/components/ui/WizardNavItem.js +2 -2
  138. package/build/cjs/common/components/ui/WizardNavItem.js.map +1 -1
  139. package/build/cjs/common/components/ui/formik/RemovableField.js +3 -3
  140. package/build/cjs/common/components/ui/formik/RemovableField.js.map +1 -1
  141. package/build/cjs/common/components/ui/formik/RichInputField.js +4 -4
  142. package/build/cjs/common/components/ui/formik/RichInputField.js.map +1 -1
  143. package/build/cjs/common/components/ui/formik/TextAreaField.js +1 -1
  144. package/build/cjs/common/components/ui/formik/TextAreaField.js.map +1 -1
  145. package/build/cjs/common/components/ui/index.js +1 -3
  146. package/build/cjs/common/components/ui/index.js.map +1 -1
  147. package/build/cjs/common/config/constants.js +19 -2
  148. package/build/cjs/common/config/constants.js.map +1 -1
  149. package/build/cjs/common/config/docs_links.js +3 -2
  150. package/build/cjs/common/config/docs_links.js.map +1 -1
  151. package/build/cjs/common/validationSchemas/addressValidation.js +19 -5
  152. package/build/cjs/common/validationSchemas/addressValidation.js.map +1 -1
  153. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js +1 -7
  154. package/build/cjs/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.js.map +1 -1
  155. package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js +4 -4
  156. package/build/cjs/ocm/components/clusterConfiguration/OcmOperatorProgressItem.js.map +1 -1
  157. package/build/cjs/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.js +5 -2
  158. package/build/cjs/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.js.map +1 -1
  159. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js +90 -6
  160. package/build/cjs/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.js.map +1 -1
  161. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js +3 -3
  162. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.js.map +1 -1
  163. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js +5 -2
  164. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.js.map +1 -1
  165. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.js +68 -0
  166. package/build/cjs/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.js.map +1 -0
  167. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.js +5 -3
  168. package/build/cjs/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.js.map +1 -1
  169. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js +1 -1
  170. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.js.map +1 -1
  171. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js +11 -7
  172. package/build/cjs/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.js.map +1 -1
  173. package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js +5 -2
  174. package/build/cjs/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.js.map +1 -1
  175. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.js +1 -1
  176. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.js.map +1 -1
  177. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWide.js +1 -1
  178. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWide.js.map +1 -1
  179. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.js +31 -3
  180. package/build/cjs/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.js.map +1 -1
  181. package/build/cjs/ocm/components/clusterDetail/ClusterProperties.js +1 -5
  182. package/build/cjs/ocm/components/clusterDetail/ClusterProperties.js.map +1 -1
  183. package/build/cjs/ocm/components/clusterDetail/HostInventoryExpandable.js +5 -4
  184. package/build/cjs/ocm/components/clusterDetail/HostInventoryExpandable.js.map +1 -1
  185. package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js +4 -3
  186. package/build/cjs/ocm/components/clusterDetail/OpenShiftVersionDetail.js.map +1 -1
  187. package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js +4 -2
  188. package/build/cjs/ocm/components/clusterDetail/ResetClusterModal.js.map +1 -1
  189. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js +18 -10
  190. package/build/cjs/ocm/components/clusterWizard/ClusterDetails.js.map +1 -1
  191. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js +4 -5
  192. package/build/cjs/ocm/components/clusterWizard/ClusterDetailsForm.js.map +1 -1
  193. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContext.js.map +1 -1
  194. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js +13 -31
  195. package/build/cjs/ocm/components/clusterWizard/ClusterWizardContextProvider.js.map +1 -1
  196. package/build/cjs/ocm/components/clusterWizard/constants.js +1 -0
  197. package/build/cjs/ocm/components/clusterWizard/constants.js.map +1 -1
  198. package/build/cjs/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.js +24 -46
  199. package/build/cjs/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.js.map +1 -1
  200. package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js +1 -1
  201. package/build/cjs/ocm/components/clusterWizard/disconnected/ReviewStep.js.map +1 -1
  202. package/build/cjs/ocm/components/clusterWizard/wizardTransition.js +9 -1
  203. package/build/cjs/ocm/components/clusterWizard/wizardTransition.js.map +1 -1
  204. package/build/cjs/ocm/components/clusters/ClusterStatus.js +13 -7
  205. package/build/cjs/ocm/components/clusters/ClusterStatus.js.map +1 -1
  206. package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js +7 -6
  207. package/build/cjs/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.js.map +1 -1
  208. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js +6 -0
  209. package/build/cjs/ocm/components/featureSupportLevels/featureStateUtils.js.map +1 -1
  210. package/build/cjs/ocm/components/ui/InfoLinkWithModal.js +2 -2
  211. package/build/cjs/ocm/components/ui/InfoLinkWithModal.js.map +1 -1
  212. package/build/cjs/ocm/components/utils.js +4 -1
  213. package/build/cjs/ocm/components/utils.js.map +1 -1
  214. package/build/cjs/ocm/hooks/useUISettings.js +0 -1
  215. package/build/cjs/ocm/hooks/useUISettings.js.map +1 -1
  216. package/build/cjs/ocm/services/ClusterDetailsService.js +2 -2
  217. package/build/cjs/ocm/services/ClusterDetailsService.js.map +1 -1
  218. package/lib/cim/components/Agent/BMHStatusInfo.tsx +12 -4
  219. package/lib/cim/components/Agent/MinimalHWRequirements.tsx +4 -2
  220. package/lib/cim/components/Hypershift/DetailsPage/ConditionsTable.tsx +13 -7
  221. package/lib/cim/components/Hypershift/DetailsPage/HostedClusterProgress.tsx +8 -4
  222. package/lib/cim/components/Hypershift/DetailsPage/NodePoolsProgress.tsx +6 -2
  223. package/lib/cim/components/Hypershift/utils/status.tsx +20 -9
  224. package/lib/cim/components/InfraEnv/EnvironmentDetails.tsx +11 -4
  225. package/lib/cim/components/InfraEnv/InfraEnvHostsTabAgentsWarning.tsx +4 -6
  226. package/lib/cim/components/helpers/agentStatus.tsx +7 -3
  227. package/lib/cim/components/modals/MassDeleteAgentModal.tsx +12 -5
  228. package/lib/common/components/clusterConfiguration/DiscoveryTroubleshootingModal.tsx +5 -2
  229. package/lib/common/components/clusterDetail/FinalizingProgress.tsx +21 -10
  230. package/lib/common/components/clusterDetail/OperatorsProgressItem.tsx +11 -5
  231. package/lib/common/components/clusterDetail/ProgressBarTexts.tsx +17 -5
  232. package/lib/common/components/clusterWizard/ReviewValidations.tsx +15 -6
  233. package/lib/common/components/clusterWizard/networkingSteps/VirtualIPControlGroup.tsx +0 -2
  234. package/lib/common/components/hosts/HostPropertyValidationPopover.tsx +9 -5
  235. package/lib/common/components/hosts/HostStatus.tsx +14 -3
  236. package/lib/common/components/hosts/HostValidationGroups.tsx +9 -5
  237. package/lib/common/components/hosts/Hostname.tsx +7 -4
  238. package/lib/common/components/hosts/MassChangeHostnameModal.tsx +6 -2
  239. package/lib/common/components/hosts/VMRebootConfigurationInfo.tsx +12 -3
  240. package/lib/common/components/hosts/status.tsx +46 -13
  241. package/lib/common/components/storage/DisksTable.tsx +15 -4
  242. package/lib/common/components/storage/StorageUtils.tsx +6 -4
  243. package/lib/common/components/ui/WizardNavItem.tsx +4 -7
  244. package/lib/common/components/ui/formik/RemovableField.tsx +8 -4
  245. package/lib/common/components/ui/formik/RichInputField.tsx +10 -6
  246. package/lib/common/components/ui/formik/TextAreaField.tsx +1 -1
  247. package/lib/common/components/ui/index.ts +0 -2
  248. package/lib/common/config/constants.ts +18 -0
  249. package/lib/common/config/docs_links.ts +2 -0
  250. package/lib/common/types/ui-settings.ts +0 -1
  251. package/lib/common/validationSchemas/addressValidation.tsx +20 -12
  252. package/lib/ocm/components/clusterConfiguration/OcmClusterDetailsFormFields.tsx +1 -8
  253. package/lib/ocm/components/clusterConfiguration/OcmOperatorProgressItem.tsx +11 -5
  254. package/lib/ocm/components/clusterConfiguration/OpenshiftVersionHelperText.tsx +8 -7
  255. package/lib/ocm/components/clusterConfiguration/manifestsConfiguration/CustomManifestsPage.tsx +155 -20
  256. package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfiguration.tsx +8 -6
  257. package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkConfigurationForm.tsx +6 -3
  258. package/lib/ocm/components/clusterConfiguration/networkConfiguration/NetworkTypeDropdown.tsx +157 -0
  259. package/lib/ocm/components/clusterConfiguration/platformIntegration/PlatformIntegrationNote.tsx +6 -3
  260. package/lib/ocm/components/clusterConfiguration/review/ReviewNetworkingTable.tsx +3 -7
  261. package/lib/ocm/components/clusterConfiguration/review/ReviewPreflightChecks.tsx +28 -15
  262. package/lib/ocm/components/clusterConfiguration/staticIp/commonValidationSchemas.tsx +8 -2
  263. package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewHosts/FormViewHostsFields.tsx +1 -0
  264. package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/FormViewNetworkWide.tsx +2 -2
  265. package/lib/ocm/components/clusterConfiguration/staticIp/components/FormViewNetworkWide/formViewNetworkWideValidationSchema.tsx +63 -24
  266. package/lib/ocm/components/clusterDetail/ClusterProperties.tsx +2 -6
  267. package/lib/ocm/components/clusterDetail/HostInventoryExpandable.tsx +11 -5
  268. package/lib/ocm/components/clusterDetail/OpenShiftVersionDetail.tsx +8 -5
  269. package/lib/ocm/components/clusterDetail/ResetClusterModal.tsx +6 -3
  270. package/lib/ocm/components/clusterWizard/ClusterDetails.tsx +19 -14
  271. package/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx +5 -7
  272. package/lib/ocm/components/clusterWizard/ClusterWizardContext.tsx +0 -8
  273. package/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +14 -54
  274. package/lib/ocm/components/clusterWizard/constants.ts +1 -0
  275. package/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx +27 -65
  276. package/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx +1 -1
  277. package/lib/ocm/components/clusterWizard/wizardTransition.ts +9 -1
  278. package/lib/ocm/components/clusters/ClusterStatus.tsx +30 -8
  279. package/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx +12 -8
  280. package/lib/ocm/components/featureSupportLevels/featureStateUtils.ts +6 -0
  281. package/lib/ocm/components/ui/InfoLinkWithModal.tsx +4 -2
  282. package/lib/ocm/components/utils.ts +4 -0
  283. package/lib/ocm/hooks/useUISettings.ts +0 -1
  284. package/lib/ocm/services/ClusterDetailsService.ts +0 -3
  285. package/lib/ocm/services/types.ts +0 -1
  286. package/package.json +4 -4
  287. package/build/@types/common/components/ui/UiIcon.d.ts +0 -11
  288. package/build/@types/common/components/ui/UiIcon.d.ts.map +0 -1
  289. package/build/@types/ocm/components/clusterConfiguration/CustomManifestCheckbox.d.ts +0 -8
  290. package/build/@types/ocm/components/clusterConfiguration/CustomManifestCheckbox.d.ts.map +0 -1
  291. package/build/cjs/common/components/ui/UiIcon.js +0 -11
  292. package/build/cjs/common/components/ui/UiIcon.js.map +0 -1
  293. package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js +0 -58
  294. package/build/cjs/ocm/components/clusterConfiguration/CustomManifestCheckbox.js.map +0 -1
  295. package/lib/common/components/ui/UiIcon.tsx +0 -21
  296. package/lib/ocm/components/clusterConfiguration/CustomManifestCheckbox.tsx +0 -114
@@ -5,7 +5,7 @@ import {
5
5
  DetailList,
6
6
  getDefaultCpuArchitecture,
7
7
  isDualStack,
8
- NETWORK_TYPE_SDN,
8
+ NETWORK_TYPE_LABELS,
9
9
  selectApiVip,
10
10
  selectIngressVip,
11
11
  selectIpv4Cidr,
@@ -25,11 +25,7 @@ type ClusterPropertiesProps = {
25
25
  };
26
26
 
27
27
  export const getNetworkType = (clusterNetworkType: Cluster['networkType']): string => {
28
- let networkType: string;
29
- clusterNetworkType === NETWORK_TYPE_SDN
30
- ? (networkType = 'Software-Defined Networking (SDN)')
31
- : (networkType = 'Open Virtual Network (OVN)');
32
- return networkType;
28
+ return NETWORK_TYPE_LABELS[clusterNetworkType || ''];
33
29
  };
34
30
 
35
31
  export const getManagementType = ({ userManagedNetworking }: Cluster): string => {
@@ -1,12 +1,14 @@
1
1
  import React, { useState } from 'react';
2
- import { UiIcon, hostStatus } from '../../../common';
2
+ import { ExpandableSection, Icon } from '@patternfly/react-core';
3
+ import ExclamationTriangleIcon from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
4
+
5
+ import { hostStatus } from '../../../common';
3
6
  import ClusterHostsTable from '../hosts/ClusterHostsTable';
4
7
  import { getHostsWithTimeout, getMostSevereHostStatus } from './utils';
5
- import { ExpandableSection } from '@patternfly/react-core';
6
- import './HostInventoryExpandable.css';
7
8
  import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
8
9
  import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
9
- import ExclamationTriangleIcon from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
10
+
11
+ import './HostInventoryExpandable.css';
10
12
 
11
13
  type HostInventoryExpandableProps = {
12
14
  cluster: Cluster;
@@ -33,7 +35,11 @@ const HostInventoryExpandable = ({ cluster }: HostInventoryExpandableProps) => {
33
35
  const mostSevereHostStatus = getMostSevereHostStatus(hosts);
34
36
  const hostStatusDef = mostSevereHostStatus ? hostStatus(t)[mostSevereHostStatus] : null;
35
37
  const someHostHasTimeout = getHostsWithTimeout(hosts);
36
- const warningIcon = <UiIcon size="sm" status="warning" icon={<ExclamationTriangleIcon />} />;
38
+ const warningIcon = (
39
+ <Icon size="sm" status="warning">
40
+ <ExclamationTriangleIcon />
41
+ </Icon>
42
+ );
37
43
  return (
38
44
  <ExpandableSection
39
45
  toggleContent={
@@ -1,10 +1,11 @@
1
1
  import React from 'react';
2
- import { UiIcon, getOpenshiftVersionText } from '../../../common';
3
- import { useOpenShiftVersionsContext } from '../clusterWizard/OpenShiftVersionsContext';
2
+ import { Popover, Content, ContentVariants, Icon } from '@patternfly/react-core';
4
3
  import { ExclamationTriangleIcon } from '@patternfly/react-icons/dist/js/icons/exclamation-triangle-icon';
5
- import { Popover, Content, ContentVariants } from '@patternfly/react-core';
6
- import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
4
+
7
5
  import { Cluster } from '@openshift-assisted/types/assisted-installer-service';
6
+ import { getOpenshiftVersionText } from '../../../common';
7
+ import { useOpenShiftVersionsContext } from '../clusterWizard/OpenShiftVersionsContext';
8
+ import { useTranslation } from '../../../common/hooks/use-translation-wrapper';
8
9
 
9
10
  const UnsupportedVersion = ({ version }: { version: string }) => {
10
11
  const { t } = useTranslation();
@@ -18,7 +19,9 @@ const UnsupportedVersion = ({ version }: { version: string }) => {
18
19
  <Content component="p">
19
20
  {version} &nbsp;
20
21
  <Popover bodyContent={hint}>
21
- <UiIcon size="sm" status="warning" icon={<ExclamationTriangleIcon />} />
22
+ <Icon size="sm" status="warning">
23
+ <ExclamationTriangleIcon />
24
+ </Icon>
22
25
  </Popover>
23
26
  </Content>
24
27
  );
@@ -4,6 +4,7 @@ import {
4
4
  Button,
5
5
  ButtonVariant,
6
6
  Content,
7
+ Icon,
7
8
  Modal,
8
9
  ModalBody,
9
10
  ModalFooter,
@@ -16,7 +17,7 @@ import { getApiErrorMessage, handleApiError } from '../../../common/api';
16
17
  import { updateCluster } from '../../store/slices/current-cluster/slice';
17
18
  import { calculateCollectedLogsCount } from '../clusters/utils';
18
19
  import { useModalDialogsContext } from '../hosts/ModalDialogsContext';
19
- import { ErrorState, LoadingState, UiIcon } from '../../../common';
20
+ import { ErrorState, LoadingState } from '../../../common';
20
21
  import { ClustersAPI } from '../../services/apis';
21
22
 
22
23
  const ResetClusterModal: React.FC = () => {
@@ -87,8 +88,10 @@ const ResetClusterModal: React.FC = () => {
87
88
  </Content>
88
89
 
89
90
  <Content component="p">
90
- <UiIcon size="sm" status="warning" icon={<ExclamationTriangleIcon />} /> Logs won't be
91
- available after the installation is reset.
91
+ <Icon size="sm" status="warning">
92
+ <ExclamationTriangleIcon />
93
+ </Icon>{' '}
94
+ Logs won't be available after the installation is reset.
92
95
  </Content>
93
96
 
94
97
  <Content component="p">Are you sure you want to reset the cluster?</Content>
@@ -39,7 +39,6 @@ const ClusterDetails = ({ cluster, infraEnv }: ClusterDetailsProps) => {
39
39
  const navigate = useNavigate();
40
40
  const dispatch = useDispatch();
41
41
  const { usedClusterNames } = useUsedClusterNames(cluster?.id || '');
42
- const pullSecret = usePullSecret();
43
42
  const {
44
43
  error: errorOCPVersions,
45
44
  loading: loadingOCPVersions,
@@ -47,13 +46,11 @@ const ClusterDetails = ({ cluster, infraEnv }: ClusterDetailsProps) => {
47
46
  } = useOpenShiftVersionsContext();
48
47
  const location = useLocation();
49
48
  const isSingleClusterFeatureEnabled = useFeature('ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE');
49
+ const defaultPullSecret = usePullSecret();
50
+ const pullSecret = isSingleClusterFeatureEnabled ? infraEnv?.pullSecret || '' : defaultPullSecret;
50
51
 
51
52
  const handleClusterUpdate = React.useCallback(
52
- async (
53
- clusterId: Cluster['id'],
54
- params: ClusterDetailsUpdateParams,
55
- addCustomManifests: boolean,
56
- ) => {
53
+ async (clusterId: Cluster['id'], params: ClusterDetailsUpdateParams) => {
57
54
  clearAlerts();
58
55
 
59
56
  try {
@@ -62,7 +59,6 @@ const ClusterDetails = ({ cluster, infraEnv }: ClusterDetailsProps) => {
62
59
  cluster?.tags,
63
60
  params,
64
61
  );
65
- await clusterWizardContext.updateUISettings({ addCustomManifests });
66
62
  dispatch(updateCluster(updatedCluster));
67
63
 
68
64
  canNextClusterDetails({ cluster: updatedCluster }) && clusterWizardContext.moveNext();
@@ -79,7 +75,7 @@ const ClusterDetails = ({ cluster, infraEnv }: ClusterDetailsProps) => {
79
75
  );
80
76
 
81
77
  const handleClusterCreate = React.useCallback(
82
- async (params: ClusterCreateParamsWithStaticNetworking, addCustomManifests: boolean) => {
78
+ async (params: ClusterCreateParamsWithStaticNetworking) => {
83
79
  clearAlerts();
84
80
  try {
85
81
  const searchParams = new URLSearchParams(location.search);
@@ -107,14 +103,23 @@ const ClusterDetails = ({ cluster, infraEnv }: ClusterDetailsProps) => {
107
103
  );
108
104
  navigate(`../${cluster.id}`, { state: ClusterWizardFlowStateNew });
109
105
 
110
- const uiPatch: UISettingsValues = { addCustomManifests };
111
106
  if (isAssistedMigration) {
112
- //For Assisted Migration we need to enable virtualization bundle
113
- uiPatch.bundlesSelected = ['virtualization'];
114
- uiPatch.isAssistedMigration = true;
107
+ try {
108
+ const uiPatch: UISettingsValues = {
109
+ bundlesSelected: ['virtualization'],
110
+ isAssistedMigration: true,
111
+ };
112
+ await UISettingService.update(cluster.id, uiPatch);
113
+ await clusterWizardContext.updateUISettings(uiPatch);
114
+ } catch (uiError) {
115
+ handleApiError(uiError, () =>
116
+ addAlert({
117
+ title: 'Failed to update UI settings',
118
+ message: getApiErrorMessage(uiError),
119
+ }),
120
+ );
121
+ }
115
122
  }
116
- await UISettingService.update(cluster.id, uiPatch);
117
- await clusterWizardContext.updateUISettings(uiPatch); // keeps local state current
118
123
  } catch (e) {
119
124
  handleApiError(e, () =>
120
125
  addAlert({ title: 'Failed to create new cluster', message: getApiErrorMessage(e) }),
@@ -42,11 +42,10 @@ type ClusterDetailsFormProps = {
42
42
  ocpVersions: OpenshiftVersionOptionType[];
43
43
  usedClusterNames: string[];
44
44
  navigation: React.ReactNode;
45
- handleClusterCreate: (params: ClusterCreateParams, addCustomManifests: boolean) => Promise<void>;
45
+ handleClusterCreate: (params: ClusterCreateParams) => Promise<void>;
46
46
  handleClusterUpdate: (
47
47
  clusterId: Cluster['id'],
48
48
  params: ClusterDetailsUpdateParams,
49
- addCustomManifests: boolean,
50
49
  ) => Promise<void>;
51
50
  };
52
51
 
@@ -63,7 +62,7 @@ const ClusterDetailsForm = (props: ClusterDetailsFormProps) => {
63
62
  navigation,
64
63
  } = props;
65
64
 
66
- const { customManifestsStep, moveNext } = useClusterWizardContext();
65
+ const { moveNext } = useClusterWizardContext();
67
66
  const { search } = useLocation();
68
67
  const { isViewerMode } = useSelector(selectCurrentClusterPermissionsState);
69
68
  const { clearAlerts } = useAlerts();
@@ -82,10 +81,10 @@ const ClusterDetailsForm = (props: ClusterDetailsFormProps) => {
82
81
  resetPlatform = 'baremetal';
83
82
  }
84
83
  const params = ClusterDetailsService.getClusterUpdateParams(values, resetPlatform);
85
- await handleClusterUpdate(cluster.id, params, values.addCustomManifest);
84
+ await handleClusterUpdate(cluster.id, params);
86
85
  } else {
87
86
  const params = ClusterDetailsService.getClusterCreateParams(values);
88
- await handleClusterCreate(params, values.addCustomManifest);
87
+ await handleClusterCreate(params);
89
88
  }
90
89
  },
91
90
  [cluster, handleClusterCreate, handleClusterUpdate],
@@ -118,9 +117,8 @@ const ClusterDetailsForm = (props: ClusterDetailsFormProps) => {
118
117
  managedDomains,
119
118
  ocpVersions,
120
119
  urlSearchParams: search,
121
- addCustomManifests: customManifestsStep,
122
120
  }),
123
- [infraEnv, cluster, pullSecret, managedDomains, ocpVersions, search, customManifestsStep],
121
+ [infraEnv, cluster, pullSecret, managedDomains, ocpVersions, search],
124
122
  );
125
123
 
126
124
  const { t } = useTranslation();
@@ -13,8 +13,6 @@ export type ClusterWizardContextType = {
13
13
  wizardStepIds: ClusterWizardStepsType[];
14
14
  onUpdateStaticIpView(view: StaticIpView): void;
15
15
  onUpdateHostNetworkConfigType(type: HostsNetworkConfigurationType): void;
16
- setCustomManifestsStep(addCustomManifest: boolean): void;
17
- customManifestsStep: boolean;
18
16
  wizardPerPage: number;
19
17
  setWizardPerPage: (perPage: number) => void;
20
18
  updateUISettings: (data: UISettingsValues) => Promise<void>;
@@ -23,12 +21,6 @@ export type ClusterWizardContextType = {
23
21
  setInstallDisconnected: (enabled: boolean) => void;
24
22
  disconnectedInfraEnv?: InfraEnv;
25
23
  setDisconnectedInfraEnv: (infraEnv: InfraEnv | undefined) => void;
26
- /** Last pull secret submitted in disconnected Optional configurations (restored when going back from Review) */
27
- disconnectedFormPullSecret?: string;
28
- setDisconnectedFormPullSecret: (value: string | undefined) => void;
29
- /** Whether "Edit pull secret" was checked when user last clicked Next (restored when going back from Review) */
30
- disconnectedFormEditPullSecret?: boolean;
31
- setDisconnectedFormEditPullSecret: (value: boolean) => void;
32
24
  };
33
25
 
34
26
  export const ClusterWizardContext = React.createContext<ClusterWizardContextType | null>(null);
@@ -19,6 +19,7 @@ import { Cluster, InfraEnv } from '@openshift-assisted/types/assisted-installer-
19
19
  import { useUISettings } from '../../hooks';
20
20
  import { AlertVariant } from '@patternfly/react-core';
21
21
  import { useFeature } from '../../hooks/use-feature';
22
+ import { isOciPlatformType, isThirdPartyCNI } from '../utils';
22
23
 
23
24
  const addStepToClusterWizard = (
24
25
  wizardStepIds: ClusterWizardStepsType[],
@@ -50,7 +51,7 @@ const removeStepFromClusterWizard = (
50
51
  const getWizardStepIds = (
51
52
  wizardStepIds: ClusterWizardStepsType[] | undefined,
52
53
  staticIpView?: StaticIpView | 'dhcp-selected',
53
- customManifestsStep?: boolean,
54
+
54
55
  isSingleClusterFeatureEnabled?: boolean,
55
56
  ): ClusterWizardStepsType[] => {
56
57
  let stepsCopy = wizardStepIds ? [...wizardStepIds] : [...defaultWizardSteps];
@@ -64,11 +65,6 @@ const getWizardStepIds = (
64
65
  stepsCopy = removeStepFromClusterWizard(stepsCopy, 'static-ip-network-wide-configurations', 2);
65
66
  }
66
67
 
67
- if (customManifestsStep) {
68
- stepsCopy = addStepToClusterWizard(stepsCopy, 'networking', ['custom-manifests']);
69
- } else {
70
- stepsCopy = removeStepFromClusterWizard(stepsCopy, 'custom-manifests', 1);
71
- }
72
68
  if (isSingleClusterFeatureEnabled) {
73
69
  stepsCopy = addStepToClusterWizard(stepsCopy, 'networking', ['credentials-download']);
74
70
  }
@@ -119,14 +115,10 @@ const ClusterWizardContextProvider = ({
119
115
  const [disconnectedWizardStepIds, setDisconnectedWizardStepIds] =
120
116
  React.useState<ClusterWizardStepsType[]>(disconnectedSteps);
121
117
  const [wizardPerPage, setWizardPerPage] = React.useState(10);
122
- const [customManifestsStep, setCustomManifestsStep] = React.useState<boolean>(false);
123
118
  const [installDisconnected, setInstallDisconnected] = React.useState(false);
124
119
  const [disconnectedInfraEnv, setDisconnectedInfraEnv] = React.useState<InfraEnv | undefined>(
125
120
  infraEnv,
126
121
  );
127
- const [disconnectedFormPullSecret, setDisconnectedFormPullSecret] = React.useState<string>();
128
- const [disconnectedFormEditPullSecret, setDisconnectedFormEditPullSecret] =
129
- React.useState<boolean>();
130
122
  const location = useLocation();
131
123
  const locationState = location.state as ClusterWizardFlowStateType | undefined;
132
124
  const {
@@ -143,10 +135,13 @@ const ClusterWizardContextProvider = ({
143
135
  React.useEffect(() => {
144
136
  if (!UISettingsLoading) {
145
137
  const staticIpInfo = infraEnv ? getStaticIpInfo(infraEnv) : undefined;
146
- const customManifestsStepEnabled = !!uiSettings?.addCustomManifests;
147
- const customManifestsStepNeedsToBeFilled = !!(
148
- uiSettings?.addCustomManifests && !uiSettings?.customManifestsAdded
149
- );
138
+ let customManifestsRequired = false;
139
+ if (cluster) {
140
+ customManifestsRequired =
141
+ isThirdPartyCNI(cluster.networkType) || isOciPlatformType(cluster);
142
+ }
143
+ const customManifestsStepNeedsToBeFilled =
144
+ customManifestsRequired && !uiSettings?.customManifestsAdded;
150
145
 
151
146
  const requiredStepId = getClusterWizardFirstStep(
152
147
  locationState,
@@ -155,11 +150,10 @@ const ClusterWizardContextProvider = ({
155
150
  cluster?.hosts,
156
151
  customManifestsStepNeedsToBeFilled,
157
152
  );
158
-
159
153
  const firstStepIds = getWizardStepIds(
160
154
  wizardStepIds,
161
155
  staticIpInfo?.view,
162
- customManifestsStepEnabled,
156
+
163
157
  isSingleClusterFeatureEnabled,
164
158
  );
165
159
 
@@ -173,7 +167,6 @@ const ClusterWizardContextProvider = ({
173
167
 
174
168
  setWizardStepIds(firstStepIds);
175
169
  setClusterPermissions(cluster, permissions);
176
- setCustomManifestsStep(!!uiSettings?.addCustomManifests);
177
170
  }
178
171
 
179
172
  if (
@@ -215,7 +208,7 @@ const ClusterWizardContextProvider = ({
215
208
  const newStepIds = getWizardStepIds(
216
209
  wizardStepIds,
217
210
  staticIpInfo.view,
218
- customManifestsStep,
211
+
219
212
  isSingleClusterFeatureEnabled,
220
213
  );
221
214
  setWizardStepIds(newStepIds);
@@ -230,18 +223,6 @@ const ClusterWizardContextProvider = ({
230
223
  setCurrentStepId(stepId);
231
224
  };
232
225
 
233
- const onSetAddCustomManifestsStep = (addCustomManifest: boolean) => {
234
- setCustomManifestsStep(addCustomManifest);
235
- setWizardStepIds(
236
- getWizardStepIds(
237
- wizardStepIds,
238
- undefined,
239
- addCustomManifest,
240
- isSingleClusterFeatureEnabled,
241
- ),
242
- );
243
- };
244
-
245
226
  return {
246
227
  moveBack(): void {
247
228
  clearAlerts();
@@ -269,14 +250,7 @@ const ClusterWizardContextProvider = ({
269
250
  getDisconnectedWizardStepIds(disconnectedWizardStepIds, view),
270
251
  );
271
252
  } else {
272
- setWizardStepIds(
273
- getWizardStepIds(
274
- wizardStepIds,
275
- view,
276
- customManifestsStep,
277
- isSingleClusterFeatureEnabled,
278
- ),
279
- );
253
+ setWizardStepIds(getWizardStepIds(wizardStepIds, view, isSingleClusterFeatureEnabled));
280
254
  }
281
255
  },
282
256
  onUpdateHostNetworkConfigType(type: HostsNetworkConfigurationType): void {
@@ -298,18 +272,13 @@ const ClusterWizardContextProvider = ({
298
272
  getWizardStepIds(
299
273
  wizardStepIds,
300
274
  StaticIpView.FORM,
301
- customManifestsStep,
275
+
302
276
  isSingleClusterFeatureEnabled,
303
277
  ),
304
278
  );
305
279
  } else {
306
280
  setWizardStepIds(
307
- getWizardStepIds(
308
- wizardStepIds,
309
- 'dhcp-selected',
310
- customManifestsStep,
311
- isSingleClusterFeatureEnabled,
312
- ),
281
+ getWizardStepIds(wizardStepIds, 'dhcp-selected', isSingleClusterFeatureEnabled),
313
282
  );
314
283
  }
315
284
  }
@@ -317,8 +286,6 @@ const ClusterWizardContextProvider = ({
317
286
  wizardStepIds: wizardStepIds,
318
287
  currentStepId,
319
288
  setCurrentStepId: onSetCurrentStepId,
320
- customManifestsStep,
321
- setCustomManifestsStep: onSetAddCustomManifestsStep,
322
289
  wizardPerPage,
323
290
  setWizardPerPage,
324
291
  uiSettings,
@@ -334,16 +301,11 @@ const ClusterWizardContextProvider = ({
334
301
  },
335
302
  disconnectedInfraEnv,
336
303
  setDisconnectedInfraEnv,
337
- disconnectedFormPullSecret,
338
- setDisconnectedFormPullSecret,
339
- disconnectedFormEditPullSecret,
340
- setDisconnectedFormEditPullSecret,
341
304
  };
342
305
  }, [
343
306
  wizardStepIds,
344
307
  currentStepId,
345
308
  infraEnv,
346
- customManifestsStep,
347
309
  wizardPerPage,
348
310
  isSingleClusterFeatureEnabled,
349
311
  clearAlerts,
@@ -353,8 +315,6 @@ const ClusterWizardContextProvider = ({
353
315
  connectedWizardStepIds,
354
316
  disconnectedWizardStepIds,
355
317
  disconnectedInfraEnv,
356
- disconnectedFormPullSecret,
357
- disconnectedFormEditPullSecret,
358
318
  ]);
359
319
 
360
320
  if (!contextValue) {
@@ -23,6 +23,7 @@ export const defaultWizardSteps: ClusterWizardStepsType[] = [
23
23
  'host-discovery',
24
24
  'storage',
25
25
  'networking',
26
+ 'custom-manifests',
26
27
  'review',
27
28
  ];
28
29