Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions libs/locales/lib/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions libs/ui-lib/lib/common/config/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Loading