diff --git a/libs/locales/lib/en/translation.json b/libs/locales/lib/en/translation.json index 0e198c26fd..78f0dba3b5 100644 --- a/libs/locales/lib/en/translation.json +++ b/libs/locales/lib/en/translation.json @@ -748,6 +748,7 @@ "ai:Removing from cluster": "Removing from cluster", "ai:Rename hostnames using the custom template:": "Rename hostnames using the custom template:", "ai:Rendezvous IP": "Rendezvous IP", + "ai:RendezvousIP": "RendezvousIP", "ai:Report a bug": "Report a bug", "ai:Required field": "Required field", "ai:Requirements for Two Node control plane OpenShift": "Requirements for Two Node control plane OpenShift", diff --git a/libs/ui-lib/lib/common/config/constants.ts b/libs/ui-lib/lib/common/config/constants.ts index a814c71366..a6d26a4221 100644 --- a/libs/ui-lib/lib/common/config/constants.ts +++ b/libs/ui-lib/lib/common/config/constants.ts @@ -72,6 +72,7 @@ export const clusterFieldLabels = (t: TFunction): { [key in string]: string } => machineNetworks: t('ai:Machine networks'), clusterNetworks: t('ai:Cluster networks'), serviceNetworks: t('ai:Service networks'), + rendezvousIp: t('ai:RendezvousIP'), }); export const hostValidationGroupLabels = ( diff --git a/libs/ui-lib/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx b/libs/ui-lib/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx index 86863ed601..cd91a69544 100644 --- a/libs/ui-lib/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx +++ b/libs/ui-lib/lib/ocm/components/clusterWizard/ClusterWizardContextProvider.tsx @@ -160,10 +160,14 @@ const ClusterWizardContextProvider = ({ isSingleClusterFeatureEnabled, ); - // Only move step if there is still none, or the user is at a forbidden step + // Only move step if there is still none, or the user is at a forbidden step. + // Never force the user off the custom-manifests step when they are actively filling it + // (e.g. after pasting content triggers auto-save and uiSettings can update). if ( !currentStepId || - (customManifestsStepNeedsToBeFilled && isStepAfter(currentStepId, requiredStepId)) + (currentStepId !== 'custom-manifests' && + customManifestsStepNeedsToBeFilled && + isStepAfter(currentStepId, requiredStepId)) ) { setCurrentStepId(requiredStepId); }