AGENT-1388: Adding TechPreview Budge for Assisted installer and agent#3293
Conversation
|
@ElayAharoni: This pull request references AGENT-1388 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
WalkthroughReplaces DeveloperPreview with TechnologyPreview across cluster-wizard UI, updates OpenShift references from 4.19 → 4.20 (and uses dynamic cluster.openshiftVersion), replaces PatternFly Split layouts with Flex for disconnected rows, removes the Switch label prop, and threads ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE via useFeature into support-level logic. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@ElayAharoni: This pull request references AGENT-1388 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
There was a problem hiding this comment.
Actionable comments posted: 2
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx (1)
4-11: Align infraEnvopenshiftVersionwith the cluster’s versionThe visual swap from
DeveloperPreviewtoTechPreviewlooks fine.However, in the disconnected flow you now register the cluster in
BasicStepusing a dynamicopenshiftVersion(4.20 wheninstallDisconnectedis true, otherwise 4.19), while here the infraEnv is still created with a hard‑coded'4.19':const createParams = { name: `disconnected-cluster_infra-env`, pullSecret: values.pullSecret || pullSecret, clusterId: cluster.id, openshiftVersion: '4.19', // <- always 4.19 ... };This can leave you with a 4.20 cluster backed by a 4.19 infraEnv, which is likely not what the backend expects and may break OVE/disconnected behavior.
Consider instead deriving the infraEnv version from the actual cluster:
- openshiftVersion: '4.19', + openshiftVersion: cluster.openshiftVersion,(or, if you prefer, pass the same
openshiftVersionconstant you compute inBasicStepvia context and reuse it here and inReviewStepso all three stay in sync).Also applies to: 120-127
🧹 Nitpick comments (6)
libs/ui-lib/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx (1)
26-27: Clarify semantics of single‑cluster flag on support level and warning copyYou now treat
ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATUREas an additional reason for a cluster to be “limited” (isFullySupportedis forced false andshowVersionWarningbecomes true) even when the OpenShift version is supported andlimitedClusterFeaturesis empty. The inline message still states “The installed OpenShift version is not production-ready”, which no longer matches the actual cause when only the single‑cluster feature is enabled.Consider either:
- Updating the warning text to explicitly mention the single‑cluster tech preview/limited support status, or
- Using a separate flag/message for the tech‑preview case and reserving this text for genuinely unsupported versions.
This will avoid confusing users about why their cluster shows as limited.
Also applies to: 126-147, 155-172, 185-188
libs/locales/lib/en/translation.json (1)
244-247: Confirm consistency between Tech preview label and disclaimer textThe new key
"ai:Tech Preview": "Tech preview"aligns the badge label with the requested wording. However, theTechPreviewcomponent still uses the existing long string that talks about “Developer preview features…” for its popover content.If product wants to fully move to “Tech preview” terminology (including disclaimers), consider adding/updating a dedicated string for the tech‑preview description and pointing
TechPreviewat it; otherwise the badge and tooltip will mix “Tech preview” and “Developer preview” wording.libs/ui-lib/lib/ocm/components/clusters/AssistedInstallerHeader.tsx (1)
3-8: Header TechPreview badge wiring looks goodSwapping to
<TechPreview />behind the existingASSISTED_INSTALLER_SINGLE_CLUSTER_FEATUREflag keeps behavior consistent while updating the branding. Just double‑check spacing between the title and badge in the UI; if they appear cramped, a small margin utility class might help.Also applies to: 11-19
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx (1)
3-11: Dynamic OCP version in BasicStep works, but consider centralizing itUsing
installDisconnected ? '4.20' : '4.19'and wiring that intoregisterDisconnectedlines up with the Review step’s display and fits the “bump OVE to 4.20” requirement.Given the same version is now referenced here, in
ReviewStep, and (after fixing) inOptionalConfigurationsStep, consider centralizing the logic to avoid future drift—for example:
- Compute the disconnected‑wizard
openshiftVersiononce in the wizard context and expose it, or- Extract a small helper like
getDisconnectedOpenshiftVersion(installDisconnected: boolean)and reuse it in all three places.That will make the next OVE version bump a one‑liner instead of a multi‑file edit.
Also applies to: 27-38, 90-105, 108-110
libs/ui-lib/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx (1)
8-15: Cluster details TechPreview row swap is consistentReplacing
DeveloperPreviewwithTechPreviewin the disconnected row (alongsideInstallDisconnectedSwitchand the localized text) preserves existing feature‑flag gating and behavior while updating the branding. The inline flex layout matches the disconnected Basic step, which is nice for consistency.No functional issues spotted here.
Also applies to: 71-72, 168-183
libs/ui-lib/lib/common/components/ui/TechPreview.tsx (1)
6-18: Consider preventing callers from overriding the tech preview docs linkRight now
TechPreviewPropsstill includesexternalLink, and because{...props}is spread afterexternalLink={TECH_SUPPORT_LEVEL_LINK}, callers can silently replace the canonical tech preview documentation URL.If the intent is to always point to
TECH_SUPPORT_LEVEL_LINK, consider tightening the type:-export type TechPreviewProps = Omit<PreviewBadgeProps, 'text' | 'popoverContent'>; +export type TechPreviewProps = Omit< + PreviewBadgeProps, + 'text' | 'popoverContent' | 'externalLink' +>;This keeps the runtime JSX as‑is but makes overriding the link impossible at the type level.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (10)
libs/locales/lib/en/translation.json(1 hunks)libs/ui-lib/lib/common/components/ui/TechPreview.tsx(1 hunks)libs/ui-lib/lib/common/components/ui/index.ts(1 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx(2 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx(4 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.tsx(0 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx(2 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx(4 hunks)libs/ui-lib/lib/ocm/components/clusters/AssistedInstallerHeader.tsx(2 hunks)libs/ui-lib/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx(4 hunks)
💤 Files with no reviewable changes (1)
- libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.tsx
🧰 Additional context used
🧠 Learnings (2)
📚 Learning: 2025-10-21T04:40:36.292Z
Learnt from: linoyaslan
Repo: openshift-assisted/assisted-installer-ui PR: 3190
File: libs/ui-lib/lib/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.tsx:55-63
Timestamp: 2025-10-21T04:40:36.292Z
Learning: In libs/ui-lib/lib/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.tsx, the network reordering logic in the useEffect (swapping clusterNetworks and serviceNetworks based on the primary machine network's IP family) is for UI consistency only. Validation of empty or invalid CIDRs is handled separately by validation schemas, not by the reordering logic.
Applied to files:
libs/ui-lib/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsxlibs/ui-lib/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx
📚 Learning: 2025-05-22T07:31:16.062Z
Learnt from: rawagner
Repo: openshift-assisted/assisted-installer-ui PR: 2826
File: libs/ui-lib/lib/cim/components/YamlEditor/YamlEditor.tsx:50-61
Timestamp: 2025-05-22T07:31:16.062Z
Learning: The YamlEditor component in libs/ui-lib/lib/cim/components/YamlEditor/YamlEditor.tsx already handles YAML validation through the submitYamls function in utils.ts, which validates YAML syntax and throws user-friendly error messages if parsing fails.
Applied to files:
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx
🧬 Code graph analysis (5)
libs/ui-lib/lib/common/components/ui/TechPreview.tsx (2)
libs/ui-lib/lib/common/components/ui/PreviewBadge.tsx (2)
PreviewBadgeProps(14-20)PreviewBadge(22-65)libs/ui-lib/lib/common/config/docs_links.ts (1)
TECH_SUPPORT_LEVEL_LINK(34-34)
libs/ui-lib/lib/ocm/components/clusters/AssistedInstallerHeader.tsx (1)
libs/ui-lib/lib/common/components/ui/TechPreview.tsx (1)
TechPreview(8-20)
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx (3)
libs/ui-lib/lib/ocm/components/clusterWizard/ClusterWizardContext.tsx (1)
useClusterWizardContext(30-36)libs/ui-lib/lib/ocm/components/clusterWizard/index.ts (1)
useClusterWizardContext(5-5)libs/ui-lib/lib/common/components/ui/TechPreview.tsx (1)
TechPreview(8-20)
libs/ui-lib/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx (1)
libs/ui-lib/lib/common/components/ui/TechPreview.tsx (1)
TechPreview(8-20)
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx (3)
libs/ui-lib/lib/ocm/components/clusterWizard/ClusterWizardContext.tsx (1)
useClusterWizardContext(30-36)libs/ui-lib/lib/ocm/components/clusterWizard/index.ts (1)
useClusterWizardContext(5-5)libs/ui-lib/lib/common/components/ui/TechPreview.tsx (1)
TechPreview(8-20)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
- GitHub Check: unit-tests
- GitHub Check: translation-files
- GitHub Check: tests
- GitHub Check: format
- GitHub Check: lint
- GitHub Check: circular-deps
🔇 Additional comments (2)
libs/ui-lib/lib/common/components/ui/index.ts (1)
11-15: TechPreview re‑export looks correctAdding
export * from './TechPreview';is consistent with how other UI badges are exposed and enables the new component to be imported via../../../commonas used elsewhere.libs/ui-lib/lib/common/components/ui/TechPreview.tsx (1)
6-21: Nice, focused wrapper aroundPreviewBadgeGood use of
Omit<PreviewBadgeProps, 'text' | 'popoverContent'>to centralize the label, description, and link while still allowing layout/testID customization. ThedisplayNameassignment is also helpful for debugging.
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx
Show resolved
Hide resolved
93f5401 to
e9fe6a2
Compare
|
@ElayAharoni: This pull request references AGENT-1388 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
There was a problem hiding this comment.
Actionable comments posted: 0
♻️ Duplicate comments (1)
libs/ui-lib/lib/common/components/ui/TechPreview.tsx (1)
6-21: Popover copy still mentions “developer preview features” while label is “Tech Preview”The badge text has been updated to “Tech Preview”, but the popover string still refers to “the developer preview features”. That mismatch is small but visible; consider updating the sentence to consistently say “tech preview features” (and adjust the corresponding i18n resource value) so the label and description align. Non‑English locale updates can follow the usual separate translation workflow.
🧹 Nitpick comments (2)
libs/ui-lib/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx (1)
126-147: Single-cluster feature now globally forces “limited” support and reuses version-only warning copyWiring the
ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATUREflag intogetSupportLevelInfomakes any cluster “not fully supported” whenever the flag is enabled, even ifhasSupportedVersionistrueand there are no limited features (limitedClusterFeaturesis empty). On top of that,showVersionWarningis now alsotruewhenever the flag is enabled, so users will always see “The installed OpenShift version is not production-ready”, even when the version check says it is supported.If that’s intentional (OVE is considered tech‑preview and all clusters in this mode are limited), it might still be worth:
- Distinguishing between “version‑is‑preview” vs “single‑cluster tech preview” in the copy, so we don’t always blame the version; and/or
- Providing some explanation when
limitedClusterFeaturesis empty but the cluster is still limited due to the feature flag.Otherwise, consider scoping the
isSingleClusterFeatureEnabledcondition more narrowly (e.g. only when the preview version itself is unsupported, or when a specific preview feature is present) and/or adjusting the warning text accordingly.Also applies to: 149-172, 187-187
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx (1)
4-11: 4.20 wiring for disconnected OVE is consistent here; consider centralizing the constantThe disconnected flow now consistently uses
'4.20'for both cluster registration (registerDisconnected) andOcmOpenShiftVersion, and the new header layout (TechPreview + switch + translated label) looks coherent.If 4.20 is expected to change again with future OVE bumps, it might be worth hoisting this into a shared constant/config so BasicStep and downstream consumers stay in sync automatically.
Also applies to: 44-47, 88-103, 107-107
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (10)
libs/locales/lib/en/translation.json(1 hunks)libs/ui-lib/lib/common/components/ui/TechPreview.tsx(1 hunks)libs/ui-lib/lib/common/components/ui/index.ts(1 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx(2 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx(3 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.tsx(0 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx(3 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx(3 hunks)libs/ui-lib/lib/ocm/components/clusters/AssistedInstallerHeader.tsx(2 hunks)libs/ui-lib/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx(4 hunks)
💤 Files with no reviewable changes (1)
- libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.tsx
🚧 Files skipped from review as they are similar to previous changes (3)
- libs/locales/lib/en/translation.json
- libs/ui-lib/lib/common/components/ui/index.ts
- libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx
🧰 Additional context used
🧠 Learnings (4)
📓 Common learnings
Learnt from: jgyselov
Repo: openshift-assisted/assisted-installer-ui PR: 3151
File: libs/ui-lib/lib/cim/components/ClusterDeployment/constants.ts:25-25
Timestamp: 2025-09-02T08:03:57.204Z
Learning: In the openshift-assisted/assisted-installer-ui repository, non-English translations are handled separately from the main development process. When adding new translation keys to English locale files, it's expected that non-English locale files (es, fr, ja, ko, zh) may not immediately contain the corresponding translations, as these are managed through a different workflow.
📚 Learning: 2025-10-21T04:40:36.292Z
Learnt from: linoyaslan
Repo: openshift-assisted/assisted-installer-ui PR: 3190
File: libs/ui-lib/lib/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.tsx:55-63
Timestamp: 2025-10-21T04:40:36.292Z
Learning: In libs/ui-lib/lib/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.tsx, the network reordering logic in the useEffect (swapping clusterNetworks and serviceNetworks based on the primary machine network's IP family) is for UI consistency only. Validation of empty or invalid CIDRs is handled separately by validation schemas, not by the reordering logic.
Applied to files:
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsxlibs/ui-lib/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsxlibs/ui-lib/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx
📚 Learning: 2025-05-22T07:31:16.062Z
Learnt from: rawagner
Repo: openshift-assisted/assisted-installer-ui PR: 2826
File: libs/ui-lib/lib/cim/components/YamlEditor/YamlEditor.tsx:50-61
Timestamp: 2025-05-22T07:31:16.062Z
Learning: The YamlEditor component in libs/ui-lib/lib/cim/components/YamlEditor/YamlEditor.tsx already handles YAML validation through the submitYamls function in utils.ts, which validates YAML syntax and throws user-friendly error messages if parsing fails.
Applied to files:
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx
📚 Learning: 2025-10-20T08:57:04.935Z
Learnt from: linoyaslan
Repo: openshift-assisted/assisted-installer-ui PR: 3190
File: libs/ui-lib/lib/ocm/components/clusterDetail/ClusterProperties.tsx:43-45
Timestamp: 2025-10-20T08:57:04.935Z
Learning: In the file `libs/ui-lib/lib/ocm/components/clusterDetail/ClusterProperties.tsx`, the `getStackTypeLabel` function returns 'Dual-stack' or 'IPv4' because the system currently only supports IPv4 single-stack clusters. IPv6-only single-stack clusters are not supported.
Applied to files:
libs/ui-lib/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx
🧬 Code graph analysis (6)
libs/ui-lib/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx (3)
libs/types/assisted-installer-service.d.ts (1)
SupportLevel(2642-2647)libs/ui-lib/lib/common/components/newFeatureSupportLevels/NewFeatureSupportLevelContext.tsx (1)
useNewFeatureSupportLevel(17-25)libs/ui-lib/lib/ocm/components/clusterWizard/OpenShiftVersionsContext.tsx (1)
useOpenShiftVersionsContext(125-131)
libs/ui-lib/lib/common/components/ui/TechPreview.tsx (3)
libs/ui-lib/lib/common/components/ui/PreviewBadge.tsx (2)
PreviewBadgeProps(14-20)PreviewBadge(22-65)libs/ui-lib/lib/common/hooks/index.ts (1)
useTranslation(3-3)libs/ui-lib/lib/common/config/docs_links.ts (1)
TECH_SUPPORT_LEVEL_LINK(34-34)
libs/ui-lib/lib/ocm/components/clusters/AssistedInstallerHeader.tsx (1)
libs/ui-lib/lib/common/components/ui/TechPreview.tsx (1)
TechPreview(8-20)
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx (1)
libs/ui-lib/lib/common/components/ui/TechPreview.tsx (1)
TechPreview(8-20)
libs/ui-lib/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx (1)
libs/ui-lib/lib/common/components/ui/TechPreview.tsx (1)
TechPreview(8-20)
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx (1)
libs/ui-lib/lib/common/components/ui/TechPreview.tsx (1)
TechPreview(8-20)
🔇 Additional comments (3)
libs/ui-lib/lib/ocm/components/clusters/AssistedInstallerHeader.tsx (1)
3-8: TechPreview header usage looks correct and aligned with the feature flagThe new
<TechPreview />badge is correctly imported and rendered conditionally onASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE, and the inline placement after the H1 should work well withPreviewBadge’s default styling. No issues from a logic/layout perspective.Also applies to: 11-19
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx (1)
5-11: Disconnected infra-env now aligned on 4.20 and TechPreview badgeUpdating
openshiftVersionto'4.20'in the infra-envcreateParamskeeps it consistent with the disconnected cluster registration and OVE display, and swapping in<TechPreview />for the header badge matches the new tech‑preview branding used elsewhere. No functional issues spotted here.Also applies to: 120-127, 170-177
libs/ui-lib/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx (1)
8-15: Cluster details header TechPreview/disconnected strip looks consistent with the new patternThe new flex container with
<TechPreview />,InstallDisconnectedSwitch, and the translated disconnected-environment label under the “Cluster details” header mirrors the BasicStep UX and is correctly gated on!isSingleClusterFeatureEnabled. This keeps the tech‑preview signaling and switch visible in multi‑cluster flows without affecting the single‑cluster path.Also applies to: 168-183
e9fe6a2 to
db214e4
Compare
|
@ElayAharoni: This pull request references AGENT-1388 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
There was a problem hiding this comment.
Actionable comments posted: 0
♻️ Duplicate comments (2)
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx (1)
131-133: Still hard‑coded OCP version; consider centralizing
DescriptionListDescriptionhard‑codes4.20, so any future version bump requires touching this component separately from the creation logic inBasicStep(and infra/env steps). Prefer deriving this from a shared helper or cluster/context prop so all disconnected steps surface the same OVE from a single source.libs/ui-lib/lib/common/components/ui/TechPreview.tsx (1)
12-15: Popover copy still references “developer preview” instead of Tech previewThe badge text is localized as “Tech Preview”, but the popover string/key still talks about “developer preview features”. That mismatch can be confusing and undermines the rebranding in AGENT‑1388. Consider updating the copy (and corresponding i18n entry) so it consistently uses Tech preview terminology, for example:
- popoverContent={t( - 'ai:Tech preview features are not intended to be used in production environments. The clusters deployed with the developer preview features are considered to be development clusters and are not supported through the Red Hat Customer Portal case management system.', - )} + popoverContent={t( + 'ai:Tech preview features are not intended to be used in production environments. The clusters deployed with the Tech preview features are considered to be development clusters and are not supported through the Red Hat Customer Portal case management system.', + )}(and update the matching translation resource).
🧹 Nitpick comments (1)
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx (1)
46-47: Avoid repeating the hard‑coded OVE string in multiple places
registerDisconnectedandOcmOpenShiftVersionboth hard‑codeopenshiftVersionas"4.20". This works for AGENT‑1388 but increases maintenance cost for the next bump. Consider a shared constant or deriving the version from cluster/context so BasicStep, ReviewStep, and infraEnv creation all read from the same source.Also applies to: 107-107
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (10)
libs/locales/lib/en/translation.json(1 hunks)libs/ui-lib/lib/common/components/ui/TechPreview.tsx(1 hunks)libs/ui-lib/lib/common/components/ui/index.ts(1 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx(3 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx(3 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.tsx(0 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx(3 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx(3 hunks)libs/ui-lib/lib/ocm/components/clusters/AssistedInstallerHeader.tsx(2 hunks)libs/ui-lib/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx(4 hunks)
💤 Files with no reviewable changes (1)
- libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.tsx
🚧 Files skipped from review as they are similar to previous changes (5)
- libs/ui-lib/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx
- libs/locales/lib/en/translation.json
- libs/ui-lib/lib/common/components/ui/index.ts
- libs/ui-lib/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx
- libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-10-21T04:40:36.292Z
Learnt from: linoyaslan
Repo: openshift-assisted/assisted-installer-ui PR: 3190
File: libs/ui-lib/lib/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.tsx:55-63
Timestamp: 2025-10-21T04:40:36.292Z
Learning: In libs/ui-lib/lib/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.tsx, the network reordering logic in the useEffect (swapping clusterNetworks and serviceNetworks based on the primary machine network's IP family) is for UI consistency only. Validation of empty or invalid CIDRs is handled separately by validation schemas, not by the reordering logic.
Applied to files:
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx
🧬 Code graph analysis (3)
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx (1)
libs/ui-lib/lib/common/components/ui/TechPreview.tsx (1)
TechPreview(8-20)
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx (1)
libs/ui-lib/lib/common/components/ui/TechPreview.tsx (1)
TechPreview(8-20)
libs/ui-lib/lib/common/components/ui/TechPreview.tsx (2)
libs/ui-lib/lib/common/components/ui/PreviewBadge.tsx (2)
PreviewBadgeProps(14-20)PreviewBadge(22-65)libs/ui-lib/lib/common/config/docs_links.ts (1)
TECH_SUPPORT_LEVEL_LINK(34-34)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
- GitHub Check: translation-files
- GitHub Check: unit-tests
- GitHub Check: circular-deps
- GitHub Check: tests
- GitHub Check: lint
- GitHub Check: format
🔇 Additional comments (4)
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx (1)
6-6: TechPreview swap looks consistentImporting and rendering
<TechPreview />here lines up with the rest of the wizard and keeps the preview indicator consistent across flows.Also applies to: 100-100
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx (1)
4-5: Header refactor and TechPreview usage look goodUsing
Contentfor the title plus an inline flex row with<TechPreview />,InstallDisconnectedSwitch, and the translated helper text provides a clear, compact summary of the disconnected Tech preview flow.Also applies to: 10-10, 88-88, 91-103
libs/ui-lib/lib/ocm/components/clusters/AssistedInstallerHeader.tsx (1)
5-5: Assisted installer header TechPreview badge is wired correctlyConditionally rendering
<TechPreview />behindisSingleClusterFeatureEnabledpreserves the existing feature‑flag behavior while aligning the badge text with the new Tech preview terminology.Also applies to: 18-18
libs/ui-lib/lib/common/components/ui/TechPreview.tsx (1)
1-7: Component structure and typing are solidWrapping
PreviewBadgewithTechPreviewProps = Omit<PreviewBadgeProps, 'text' | 'popoverContent'>cleanly locks down the label and popover while still exposing layout/testing props, and thedisplayNameis a nice touch for debugging.Also applies to: 8-11, 16-20
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx
Outdated
Show resolved
Hide resolved
db214e4 to
a2253ab
Compare
|
@ElayAharoni: This pull request references AGENT-1388 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
There was a problem hiding this comment.
Actionable comments posted: 0
♻️ Duplicate comments (1)
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx (1)
130-135: Avoid hard‑coding the OpenShift version here; derive from a single source
<DescriptionListDescription>4.20</DescriptionListDescription>meets the current OVE bump requirement, but it reintroduces a hard‑coded version in this step. That makes future bumps error‑prone and risks divergence from whatever source BasicStep/other steps use for the disconnected OpenShift version. If there is a canonical value (cluster data, wizard context, or a shared constant/helper), consider reading the version from that instead so all steps stay in sync.
🧹 Nitpick comments (2)
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx (2)
46-47: Avoid repeating the OpenShift version literal in this component
'4.20'is now hardcoded in both theregisterDisconnectedpayload andOcmOpenShiftVersion. To reduce the chance of drift on the next bump (e.g., to 4.21), consider hoisting this into a single constant and reusing it in both places (while still keeping it hardcoded for now, per the earlier discussion about not having a dynamic source yet).Example refactor:
-import { Cluster } from '@openshift-assisted/types//assisted-installer-service'; - -const BasicStep = () => { +import { Cluster } from '@openshift-assisted/types//assisted-installer-service'; + +const DISCONNECTED_OCP_VERSION = '4.20'; + +const BasicStep = () => { @@ - await ClustersService.registerDisconnected({ - name: 'disconnected-cluster', - openshiftVersion: '4.20', - }); + await ClustersService.registerDisconnected({ + name: 'disconnected-cluster', + openshiftVersion: DISCONNECTED_OCP_VERSION, + }); @@ - <OcmOpenShiftVersion openshiftVersion="4.20" withPreviewText withMultiText> + <OcmOpenShiftVersion + openshiftVersion={DISCONNECTED_OCP_VERSION} + withPreviewText + withMultiText + >Also applies to: 107-107
88-103: Verify switch labelling/accessibility after moving the text outside the SwitchThe new inline layout with
TechnologyPreview,InstallDisconnectedSwitch, and the explanatory<span>reads well visually, but moving the text out of the underlying<Switch>’slabelprop can drop the control’s accessible name ifInstallDisconnectedSwitchdoes not explicitly wire it up.Please double‑check that:
InstallDisconnectedSwitchstill exposes an accessible label (e.g., viaaria-label,aria-labelledby, or a proper<label htmlFor>association), and- Screen readers announce something equivalent to the new string
{t("ai:I'm installing on a disconnected/air-gapped/secured environment")}when focusing the switch.If that wiring is already handled inside
InstallDisconnectedSwitch, this layout is fine. Otherwise, consider associating the<span>text with the switch viaaria-labelledbyor a wrapping<label>. The inlinestyleusage for the flex row is fine; if you later want to standardize layout, you could replace it with a PatternFly Flex + utility classes, but that’s purely optional.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (7)
libs/ui-lib/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx(3 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx(3 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.tsx(0 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx(5 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx(3 hunks)libs/ui-lib/lib/ocm/components/clusters/AssistedInstallerHeader.tsx(2 hunks)libs/ui-lib/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx(4 hunks)
💤 Files with no reviewable changes (1)
- libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.tsx
🚧 Files skipped from review as they are similar to previous changes (3)
- libs/ui-lib/lib/ocm/components/clusters/AssistedInstallerHeader.tsx
- libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx
- libs/ui-lib/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-10-21T04:40:36.292Z
Learnt from: linoyaslan
Repo: openshift-assisted/assisted-installer-ui PR: 3190
File: libs/ui-lib/lib/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.tsx:55-63
Timestamp: 2025-10-21T04:40:36.292Z
Learning: In libs/ui-lib/lib/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.tsx, the network reordering logic in the useEffect (swapping clusterNetworks and serviceNetworks based on the primary machine network's IP family) is for UI consistency only. Validation of empty or invalid CIDRs is handled separately by validation schemas, not by the reordering logic.
Applied to files:
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx
🧬 Code graph analysis (3)
libs/ui-lib/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx (3)
libs/types/assisted-installer-service.d.ts (1)
SupportLevel(2642-2647)libs/ui-lib/lib/common/components/newFeatureSupportLevels/NewFeatureSupportLevelContext.tsx (1)
useNewFeatureSupportLevel(17-25)libs/ui-lib/lib/ocm/components/clusterWizard/OpenShiftVersionsContext.tsx (1)
useOpenShiftVersionsContext(125-131)
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx (1)
libs/ui-lib/lib/common/components/ui/TechnologyPreview.tsx (1)
TechnologyPreview(11-24)
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx (1)
libs/ui-lib/lib/common/components/ui/TechnologyPreview.tsx (1)
TechnologyPreview(11-24)
🔇 Additional comments (8)
libs/ui-lib/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx (6)
155-172: Memoization correctly updated with new dependency.The
useMemohook properly includesisSingleClusterFeatureEnabledin its dependency array, ensuring the support level is recalculated when the feature flag changes. The function call correctly passes all required parameters.
142-145: Logic correctly implements limited support for single-cluster feature.The
isFullySupportedflag now correctly returnsfalsewhenisSingleClusterFeatureEnabledistrue, aligning with the PR objective to change the support level from "fully supported" to "limited" when this feature is active.
187-187: Version warning appropriately shown for single-cluster feature.The
showVersionWarningprop now includes theisSingleClusterFeatureEnabledcondition, ensuring users are notified when the cluster has limited support due to this feature. This is consistent with the updatedisFullySupportedlogic.
153-153: Verify the feature flag name is registered in the system.The feature flag
ASSISTED_INSTALLER_SINGLE_CLUSTER_FEATUREshould be defined in the feature flag registry or configuration. Confirm this flag exists in your feature flag definitions, type exports, or configuration files.
126-147: Verify all call sites ofgetSupportLevelInfoare updated with the newisSingleClusterFeatureEnabledparameter.The function signature has been modified to include the
isSingleClusterFeatureEnabledparameter. Search the codebase for all usages ofgetSupportLevelInfoand ensure each call site provides this parameter.
26-26: Verify theuseFeaturehook import path and availability.Ensure that the
useFeaturehook exists at../../hooks/use-featureand is properly typed to return a boolean value. The relative path fromlibs/ui-lib/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsxshould resolve tolibs/ui-lib/lib/ocm/hooks/use-feature. Confirm the hook is properly exported and returns a boolean type.libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx (1)
5-9: Tech Preview badge wiring looks correctImporting
TechnologyPreviewfrom../../../../commonand rendering<TechnologyPreview />alongside the “Review and download ISO” header cleanly reuses the shared badge component and aligns this step with the new Tech Preview branding used elsewhere.Also applies to: 95-102
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx (1)
4-4: TechnologyPreview import/use looks consistent with the shared preview badgeImporting
TechnologyPreviewfrom the common bundle here aligns with the rest of the PR’s migration away fromDeveloperPreview; no issues from this change in this file.
a2253ab to
a124b16
Compare
|
@ElayAharoni: This pull request references AGENT-1388 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (2)
libs/ui-lib/lib/ocm/components/clusters/AssistedInstallerHeader.tsx (1)
3-8: TechnologyPreview swap looks correct; verify copy matches product wordingThe import and conditional rendering of
<TechnologyPreview />mirror the previousDeveloperPreviewusage and stay correctly gated onASSISTED_INSTALLER_SINGLE_CLUSTER_FEATURE, so behaviorally this looks good.One thing to double‑check: the shared
TechnologyPreviewcomponent’s copy is “Technology Preview”, while the PR/JIRA description mentions “Tech preview”. If UX or docs expect the shorter label everywhere, you may want to align the translation string or confirm that the longer form is intended here.Also applies to: 18-18
libs/ui-lib/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx (1)
168-183: Disconnected row flex layout: verify a11y labeling and token, consider minor refactorThe new flex row cleanly groups
TechnologyPreview,InstallDisconnectedSwitch, and the explanatory text, and the gating on!isSingleClusterFeatureEnabledremains intact.A couple of follow‑ups to consider:
- The visible description is now in a separate
<span>that isn’t obviously associated withInstallDisconnectedSwitch. IfInstallDisconnectedSwitchdoesn’t set its own accessible name (e.g., viaaria-label/aria-labelledby), the switch may be effectively unlabeled for assistive technologies. Please verify that the switch still has a meaningful accessible name and, if not, wire the span and switch together (for example, viaaria-labelledbyon the underlying control).- Double‑check the spacing token
var(--pf-t--global--spacer--sm)matches the design system’s actual CSS variables; if the project already uses PatternFly tokens elsewhere (e.g.,--pf-global--spacer--sm/ v5+ equivalents), it’s safer to reuse the same pattern rather than a potentially custom prefix.- Optional: to avoid recreating the style object on every render and to make the layout reusable, you could hoist the style into a
const disconnectedRowStyle(or use PatternFly’s<Flex>component) and reference it here.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (7)
libs/ui-lib/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx(3 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx(3 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.tsx(0 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx(5 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx(3 hunks)libs/ui-lib/lib/ocm/components/clusters/AssistedInstallerHeader.tsx(2 hunks)libs/ui-lib/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx(4 hunks)
💤 Files with no reviewable changes (1)
- libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.tsx
🚧 Files skipped from review as they are similar to previous changes (4)
- libs/ui-lib/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx
- libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx
- libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx
- libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx
🧰 Additional context used
🧠 Learnings (2)
📚 Learning: 2025-10-21T04:40:36.292Z
Learnt from: linoyaslan
Repo: openshift-assisted/assisted-installer-ui PR: 3190
File: libs/ui-lib/lib/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.tsx:55-63
Timestamp: 2025-10-21T04:40:36.292Z
Learning: In libs/ui-lib/lib/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.tsx, the network reordering logic in the useEffect (swapping clusterNetworks and serviceNetworks based on the primary machine network's IP family) is for UI consistency only. Validation of empty or invalid CIDRs is handled separately by validation schemas, not by the reordering logic.
Applied to files:
libs/ui-lib/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx
📚 Learning: 2025-10-20T08:57:04.935Z
Learnt from: linoyaslan
Repo: openshift-assisted/assisted-installer-ui PR: 3190
File: libs/ui-lib/lib/ocm/components/clusterDetail/ClusterProperties.tsx:43-45
Timestamp: 2025-10-20T08:57:04.935Z
Learning: In the file `libs/ui-lib/lib/ocm/components/clusterDetail/ClusterProperties.tsx`, the `getStackTypeLabel` function returns 'Dual-stack' or 'IPv4' because the system currently only supports IPv4 single-stack clusters. IPv6-only single-stack clusters are not supported.
Applied to files:
libs/ui-lib/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx
🧬 Code graph analysis (2)
libs/ui-lib/lib/ocm/components/clusters/AssistedInstallerHeader.tsx (1)
libs/ui-lib/lib/common/components/ui/TechnologyPreview.tsx (1)
TechnologyPreview(11-24)
libs/ui-lib/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx (1)
libs/ui-lib/lib/common/components/ui/TechnologyPreview.tsx (1)
TechnologyPreview(11-24)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
- GitHub Check: tests
- GitHub Check: translation-files
- GitHub Check: unit-tests
- GitHub Check: format
- GitHub Check: circular-deps
- GitHub Check: lint
🔇 Additional comments (2)
libs/ui-lib/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx (2)
4-4: PatternFly Grid import matches existing layout usage
GridandGridItemare correctly imported and used for the wizard layout; no issues here.
14-14: TechnologyPreview import correctly replaces DeveloperPreview usageImporting
TechnologyPreviewfrom the common UI library is consistent with the shared implementation and aligns this screen with the new Tech Preview badge behavior.
libs/ui-lib/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx
Outdated
Show resolved
Hide resolved
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx
Outdated
Show resolved
Hide resolved
Signed-off-by: Elay Aharoni <elayaha@gmail.com>
a124b16 to
308bd1f
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ElayAharoni, rawagner The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@ElayAharoni: This pull request references AGENT-1388 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
There was a problem hiding this comment.
Actionable comments posted: 1
♻️ Duplicate comments (3)
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx (1)
133-133: Hard-coded version contradicts the stated dynamic approach.The OpenShift version is still hard-coded as
4.20rather than being derived fromcluster.openshiftVersionor a shared helper, as mentioned in the AI summary. This creates inconsistency across BasicStep, ReviewStep, and OptionalConfigurationsStep, making future version updates error-prone.Consider extracting the cluster object from
useClusterWizardContext()and displayingcluster.openshiftVersion, or use a centralized helper that computes the version based oninstallDisconnected.Based on past review comments, this issue was previously flagged but remains unresolved.
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx (1)
46-46: Hardcoded OpenShift version remains.The version is still hardcoded to '4.20' in both the cluster creation and the UI display. While the developer acknowledged in past comments that no alternative extraction method exists currently, consider documenting this limitation or creating a constant to centralize the version value.
Consider extracting to a constant:
const DISCONNECTED_OPENSHIFT_VERSION = '4.20'; // Then use it: openshiftVersion: DISCONNECTED_OPENSHIFT_VERSION, // and <OcmOpenShiftVersion openshiftVersion={DISCONNECTED_OPENSHIFT_VERSION} ...>Also applies to: 101-101
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx (1)
125-125: Add fallback for optionalopenshiftVersionfield.According to the
Clusterinterface (libs/types/assisted-installer-service.d.ts),openshiftVersionis optional. If it's undefined, the infraEnv creation will fail or pass an invalid value.Apply this diff to add a fallback:
const createParams = { name: `disconnected-cluster_infra-env`, pullSecret: values.pullSecret || pullSecret, clusterId: cluster.id, - openshiftVersion: cluster.openshiftVersion, + openshiftVersion: cluster.openshiftVersion || '4.20', cpuArchitecture: 'x86_64' as const, ...(values.sshPublicKey && { sshAuthorizedKey: values.sshPublicKey }), };
🧹 Nitpick comments (1)
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx (1)
159-159: Remove or clarify outdated comment.The comment "Changed from moveNext" is confusing. The actual change is using
handleNext(which delegates tosubmitForm) instead of directly callingmoveNext. Either remove the comment or clarify what was changed.<ClusterWizardFooter disconnectedClusterId={clusterId} - onNext={handleNext} // Changed from moveNext + onNext={handleNext} onBack={moveBack} isNextDisabled={!isValid}
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (7)
libs/ui-lib/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx(3 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx(3 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.tsx(0 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx(5 hunks)libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx(3 hunks)libs/ui-lib/lib/ocm/components/clusters/AssistedInstallerHeader.tsx(2 hunks)libs/ui-lib/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx(4 hunks)
💤 Files with no reviewable changes (1)
- libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/InstallDisconnectedSwitch.tsx
🚧 Files skipped from review as they are similar to previous changes (2)
- libs/ui-lib/lib/ocm/components/clusterWizard/ClusterDetailsForm.tsx
- libs/ui-lib/lib/ocm/components/clusters/AssistedInstallerHeader.tsx
🧰 Additional context used
🧠 Learnings (2)
📚 Learning: 2025-10-21T04:40:36.292Z
Learnt from: linoyaslan
Repo: openshift-assisted/assisted-installer-ui PR: 3190
File: libs/ui-lib/lib/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.tsx:55-63
Timestamp: 2025-10-21T04:40:36.292Z
Learning: In libs/ui-lib/lib/ocm/components/clusterConfiguration/networkConfiguration/AdvancedNetworkFields.tsx, the network reordering logic in the useEffect (swapping clusterNetworks and serviceNetworks based on the primary machine network's IP family) is for UI consistency only. Validation of empty or invalid CIDRs is handled separately by validation schemas, not by the reordering logic.
Applied to files:
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx
📚 Learning: 2025-05-22T07:31:16.062Z
Learnt from: rawagner
Repo: openshift-assisted/assisted-installer-ui PR: 2826
File: libs/ui-lib/lib/cim/components/YamlEditor/YamlEditor.tsx:50-61
Timestamp: 2025-05-22T07:31:16.062Z
Learning: The YamlEditor component in libs/ui-lib/lib/cim/components/YamlEditor/YamlEditor.tsx already handles YAML validation through the submitYamls function in utils.ts, which validates YAML syntax and throws user-friendly error messages if parsing fails.
Applied to files:
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx
🧬 Code graph analysis (4)
libs/ui-lib/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx (3)
libs/types/assisted-installer-service.d.ts (1)
SupportLevel(2642-2647)libs/ui-lib/lib/common/components/newFeatureSupportLevels/NewFeatureSupportLevelContext.tsx (1)
useNewFeatureSupportLevel(17-25)libs/ui-lib/lib/ocm/components/clusterWizard/OpenShiftVersionsContext.tsx (1)
useOpenShiftVersionsContext(125-131)
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx (1)
libs/ui-lib/lib/common/components/ui/TechnologyPreview.tsx (1)
TechnologyPreview(11-24)
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx (2)
libs/types/assisted-installer-service.d.ts (1)
Cluster(110-407)libs/ui-lib/lib/common/components/ui/TechnologyPreview.tsx (1)
TechnologyPreview(11-24)
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx (1)
libs/ui-lib/lib/common/components/ui/TechnologyPreview.tsx (1)
TechnologyPreview(11-24)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
- GitHub Check: circular-deps
- GitHub Check: unit-tests
- GitHub Check: translation-files
- GitHub Check: tests
- GitHub Check: lint
- GitHub Check: format
🔇 Additional comments (11)
libs/ui-lib/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx (3)
26-26: LGTM!The
useFeaturehook import is correctly added and used within theSupportLevelcomponent.
126-147: LGTM!The optional
isSingleClusterFeatureEnabledparameter maintains backward compatibility while correctly implementing the support-level logic. When the single-cluster feature is enabled,isFullySupportedis forced tofalse, aligning with the PR objective to change the cluster support level to "limited" for this feature.
149-172: LGTM!The
useFeaturehook is correctly called at the component's top level, and all dependencies foruseMemoare properly included. The feature flag is correctly threaded through togetSupportLevelInfo.libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/ReviewStep.tsx (2)
4-9: LGTM—Import update aligns with PR objectives.The import change from
DeveloperPreviewtoTechnologyPreviewcorrectly reflects the PR's goal to rebrand the feature status indicator.
100-100: LGTM—TechnologyPreview component correctly integrated.The component replacement is implemented correctly and displays the updated Tech Preview badge as intended.
libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/OptionalConfigurationsStep.tsx (3)
6-6: LGTM: Import updates align with PR objectives.The transition from
DeveloperPreviewtoTechnologyPreviewand the addition of theClustertype import support the rebranding and dynamic version handling.Also applies to: 27-27
49-49: Good improvement: Properly typed cluster state.Changing from
{ id: string } | nulltoCluster | nullprovides full type safety and access to all cluster properties.
176-176: LGTM: TechnologyPreview component usage.The replacement of
DeveloperPreviewwithTechnologyPreviewis consistent with the PR objectives.libs/ui-lib/lib/ocm/components/clusterWizard/disconnected/BasicStep.tsx (3)
4-4: LGTM: Import updates support layout and branding changes.The transition to
TechnologyPreviewand the addition ofFlex(while removingSplit/SplitItem) align with the PR's layout refactoring and rebranding objectives.Also applies to: 10-10
88-97: Good refactor: Flex-based layout improves structure.The migration from
Split/SplitItemtoFlexwith proper alignment and gap properties creates a cleaner, more maintainable layout for the header row containing the preview badge, switch, and descriptive text.
92-92: LGTM: TechnologyPreview component usage.The replacement of
DeveloperPreviewwithTechnologyPreviewis consistent with the PR objectives and properly integrated into the new Flex layout.
libs/ui-lib/lib/ocm/components/featureSupportLevels/ReviewClusterFeatureSupportLevels.tsx
Show resolved
Hide resolved
4ab28e3
into
openshift-assisted:master
|
/cherry-pick release-4.20 |
|
@ElayAharoni: #3293 failed to apply on top of branch "release-4.20": DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/cherry-pick releases/v2.48 |
|
@ElayAharoni: new pull request created: #3328 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
* Remove preview badge from bundles card (#3169) * Migration to PF6 (#3168) * pf6 deps and codemods updates Signed-off-by: gitdallas <5322142+gitdallas@users.noreply.github.com> get emptystate pf6 issues building Signed-off-by: gitdallas <5322142+gitdallas@users.noreply.github.com> fix chip/label changes Signed-off-by: gitdallas <5322142+gitdallas@users.noreply.github.com> fix icon type Signed-off-by: gitdallas <5322142+gitdallas@users.noreply.github.com> fix a prop type that codemods missed Signed-off-by: gitdallas <5322142+gitdallas@users.noreply.github.com> update pf5 classnames Signed-off-by: gitdallas <5322142+gitdallas@users.noreply.github.com> fix tokens, some cleanup Signed-off-by: gitdallas <5322142+gitdallas@users.noreply.github.com> fix tests and remaining v5->v6 Signed-off-by: gitdallas <5322142+gitdallas@users.noreply.github.com> yarn lock Signed-off-by: gitdallas <5322142+gitdallas@users.noreply.github.com> work on some cy tests Signed-off-by: gitdallas <5322142+gitdallas@users.noreply.github.com> fix tests for pf6 changes Signed-off-by: gitdallas <5322142+gitdallas@users.noreply.github.com> fix some tests Signed-off-by: gitdallas <5322142+gitdallas@users.noreply.github.com> fix build error Signed-off-by: gitdallas <5322142+gitdallas@users.noreply.github.com> * Change version of package.json to 2.0.0 for testing * MGMT-20974: Rremove unnecessary hyphens in helper text operators * MGMT-20968: align 'learn more about openshift releases' link in the first page of the cluster creation wizard * MGMT-20965: Put the same min-width in the dropdowns of the first page of the cluster creation wizard * MGMT-20966: improving the readibility of text on Troubleshooter Modal * MGMT-20972: Cluster summary section is not collapsable * MGMT-20964: Detached Warning Message for TMPv2 selection * Changes in PrismCode to use the correct color * MGMT-20969: hostname column header is truncated and unredeable * MGMT-20967: errors beneath text boxes dissapears but icon remains in place * fix (20975): make bundle selected operators show in count Signed-off-by: gitdallas <5322142+gitdallas@users.noreply.github.com> * MGMT-21103: change size of Provisioning type droodown in Add hosts modal * MGMT-21105: Networking page-machine network dropdown truncate values * add layout with gutter around cluster progress/buttons Signed-off-by: gitdallas <5322142+gitdallas@users.noreply.github.com> * MGMT-21147: R&C page - missing vertical spacing between kubeconfig warning and buttons * MGMT-21151: inconsistend icon and text alignment in preflight checks in R&C page * Add data-test-id to MenuToggle components * Add data-testid to HelperTextItem components * Add data-testid to BreadCrumb component * Add data-testid to Spinner component * Add data-testid to Wizard components * Add data-testid to Host's network configuration group * Add data-testid to Use bond option * Add data-testid to Add hosts modal * Add more data-testids for tests * Solving problem with operators count * Remove duplicated scrollbars * Solving errors in Networking page * Add data-testid to close button in Events modal * Migration of TextContent component * Solving problems with some old components * Solving lint issues * Solving problems with unit tests * Solving format issues * Remove unnecessary test * Solving problems with tests --------- Signed-off-by: gitdallas <5322142+gitdallas@users.noreply.github.com> Co-authored-by: gitdallas <5322142+gitdallas@users.noreply.github.com> * Use masthead (#3173) * Button text (#3174) * OCPBUGS-61953: Update dependency sourcing to remote (#3155) * Bump axios from 1.6.8 to 1.12.2 (#3180) Bumps [axios](https://github.com/axios/axios) from 1.6.8 to 1.12.2. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](axios/axios@v1.6.8...v1.12.2) --- updated-dependencies: - dependency-name: axios dependency-version: 1.12.2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Updating assisted-installer-ui-container image to be consistent with ART for 4.21 (#3179) Reconciling with https://github.com/openshift/ocp-build-data/tree/4fbe3fab45239dc4be6f5d9d98a0bf36e0274ec9/images/agent-installer-ui.yml Co-authored-by: AOS Automation Release Team <noreply@redhat.com> * OCPBUGS-61787: Change NMstate operator docs link (#3182) * MGMT-21862: Add message about vSphere limitations (#3181) * OCPBUGS-62680: Include assisted disconnected UI image in release payload (#3188) * Fixing errors when creating cluster from Assisted Migration (#3191) * MGMT-21025: installing Two Node OpenShift with Arbiter (TNA) (#3170) * Clean up ClusterDetailsFormFields * Allow TNA arbiter in CIM * Remove unused component (#3193) * Add unique data-testid to dualstack subnet dropdowns (#3199) * Tweak spacing between advanced network fields (#3198) * Tweak host status spacing (#3200) * Improve alert spacing (#3201) * MGMT-21825: Textarea field should show both error and helper text (#3202) * Improve alert spacing * Show both error and helper text under textarea fields * Add border to table headers (#3197) * Remove border from rich input field (#3208) * Bump happy-dom from 15.10.2 to 20.0.0 (#3211) Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 15.10.2 to 20.0.0. - [Release notes](https://github.com/capricorn86/happy-dom/releases) - [Commits](capricorn86/happy-dom@v15.10.2...v20.0.0) --- updated-dependencies: - dependency-name: happy-dom dependency-version: 20.0.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Remove nested 'Content' components (#3196) * Upgrade the PF modal component in /common and /ocm (#3213) * Bump happy-dom from 20.0.0 to 20.0.2 (#3218) Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 20.0.0 to 20.0.2. - [Release notes](https://github.com/capricorn86/happy-dom/releases) - [Commits](capricorn86/happy-dom@v20.0.0...v20.0.2) --- updated-dependencies: - dependency-name: happy-dom dependency-version: 20.0.2 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Consistent ISO Download behavior (#3221) * Add 'noopener noreferrer' to ISO download button (#3222) * Fix preflight check collapsed styling (#3215) * Remove unnecessary custom manifest field (#3217) * Bump vite from 5.4.20 to 5.4.21 (#3223) Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.20 to 5.4.21. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v5.4.21/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v5.4.21/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-version: 5.4.21 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * MGMT-21625: Add Dual-Stack with Primary IPv6 Support (#3190) This PR adds support for IPv6-primary dual-stack clusters, enabling users to create dual-stack clusters where IPv6 is the primary IP stack (version-aware for OpenShift 4.12+) * sort OCP versions in create infra (#3171) Signed-off-by: Lior Soffer <liorsoffer1@gmail.com> * Update types/parsing for latest lightspeed API (#3226) * Update release job to use trusted-publishers flow (#3228) * Update setup-node config (#3232) * - MGMT-22057:Primary IPv6 should be Tech Preview (#3231) - MGMT-22045: Change style of Dualstack - IPv4 / IPv6 section headers in subnet dropdown - When we change the primary machine network IP to ipv6 we have to select the seconday machine network IP to ipv4 * MGMT-22080: Allow users to install Openshift AI as standalone operator in SNO clusters (#3234) * Release job: Configure Yarn for npm registry (#3235) * configure yarn before publish (#3239) * Pass OIDC token to yarn config (#3241) * MGMT-22047: Add apiVIP and ingressVIP for dual-stack ipv4 and ipv6 (#3246) * Add apiVIP and ingressVIP for dual-stack ipv4 and ipv6 * Add validations to ensure that users add primary and secondary apiVips and ingressVips when using dual-stack * Updating tests to dual-stack changes * Prevent InfraEnv creation on ABI to support OVE Late-Binding workflow (#3244) Signed-off-by: Elay Aharoni <elayaha@gmail.com> * MGMT-22116: Add info about apiVIPs and ingressVIPs for dual-stack in Review and Create page (#3250) * Add info about apiVIPs and ingressVIPs for dual-stack in Review and Create page * Fixing review comments * MGMT-22119: Solving errors with SNO dual-stack (#3249) * Solving errors with SNO dual-stack * Solving errors when change between dual-stack and single-stack * MGMT-22165: Remove what's new link until the info appear in the chatbot (#3253) * Update logic to extract the tool response (#3255) * MGMT-17220: dual-stack with second machine network not populates (#3256) * MGMT-17220: dual-stack with second machine network not populates * Improving the code * Make the parsing compatible with new & old API (#3260) * MGMT-22047: solving errors with dual-stack (#3263) * MGMT-22047: solving errors with dual-stack 1. Changes in AvailableSubnetsControl.tsx so our corrective setFieldValue calls don’t validate immediately. This avoids heavy, repeated validations the moment you pick the first IPv6 option and should stop the freeze when secondary VIPs are IPv6 and empty. Specifically, set the third arg to false for: - Auto-select initialization of machineNetworks - Duplicate-primary fix that updates machineNetworks.1.cidr 2. Changes in AdvancesNetworkFields.tsx: -I found the infinite loop in AdvancedNetworkFields.tsx: when the primary machine network flips to IPv6, the effect was swapping clusterNetworks/serviceNetworks even when both entries had the same IP family, causing continuous reorders and a freeze. -I added guards so we only swap when both entries exist and have opposite families, and the first one mismatches the primary machine family. Lint is clean. * Solving issues in code * MGMT-21837: in YAML view in Static Network Configuration we add the radio buttons to change the form to another view (#3268) * late binding hosts to cluster in ABI (#3259) Signed-off-by: Elay Aharoni <elayaha@gmail.com> * AGENT-1373: Rename feature gate to NoRegistryClusterInstall (#3267) Update the feature gate name from NoRegistryClusterOperations to NoRegistryClusterInstall. * AGENT-1352: Handle cluster reset with late binding (#3270) * late binding hosts to cluster in ABI Signed-off-by: Elay Aharoni <elayaha@gmail.com> * Handle cluster reset on ABI Signed-off-by: Elay Aharoni <elayaha@gmail.com> --------- Signed-off-by: Elay Aharoni <elayaha@gmail.com> * MGMT-22281: Dual stack seconday vips fields not mandatory (#3275) * Show TechPreview badge only in Primary Machine network when user chooses ipV6 IP (#3276) * add new fields to above sea level ABI (#3274) Signed-off-by: Elay Aharoni <elayaha@gmail.com> * Revert "Handle cluster reset on ABI" (#3281) This reverts commit d35b70a. * add loki and logging operators (#3285) Signed-off-by: Elay Aharoni <elayaha@gmail.com> * OCPBUGS-65657: Display OpenShift AI GPU validation message from API (#3279) Fix UI to show the friendly label and detailed message from the API instead of displaying the technical validation ID when OpenShift AI operator is selected without GPU support. * Bug fix: OVE Agent Installer UI: Red Hat OCP logo not displaying correctly (#3289) Signed-off-by: Elay Aharoni <elayaha@gmail.com> * Adding TechPreview Budge for Assisted installer and agent (#3293) Signed-off-by: Elay Aharoni <elayaha@gmail.com> * MGMT-20138 : Show 'Add hosts' tab for all cases (#3297) * Edit OWNERS file (#3172) * Bump js-yaml from 4.1.0 to 4.1.1 (#3264) Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.1.0 to 4.1.1. - [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md) - [Commits](nodeca/js-yaml@4.1.0...4.1.1) --- updated-dependencies: - dependency-name: js-yaml dependency-version: 4.1.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump zx from 7.2.3 to 8.8.5 (#3273) Bumps [zx](https://github.com/google/zx) from 7.2.3 to 8.8.5. - [Release notes](https://github.com/google/zx/releases) - [Commits](google/zx@7.2.3...8.8.5) --- updated-dependencies: - dependency-name: zx dependency-version: 8.8.5 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump mdast-util-to-hast from 13.2.0 to 13.2.1 (#3287) Bumps [mdast-util-to-hast](https://github.com/syntax-tree/mdast-util-to-hast) from 13.2.0 to 13.2.1. - [Release notes](https://github.com/syntax-tree/mdast-util-to-hast/releases) - [Commits](syntax-tree/mdast-util-to-hast@13.2.0...13.2.1) --- updated-dependencies: - dependency-name: mdast-util-to-hast dependency-version: 13.2.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * provides parameters for the GET /v2/operators/bundles route (#3306) Signed-off-by: Elay Aharoni <elayaha@gmail.com> * Bump js-yaml from 4.1.0 to 4.1.1 (#3310) Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.1.0 to 4.1.1. - [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md) - [Commits](nodeca/js-yaml@4.1.0...4.1.1) --- updated-dependencies: - dependency-name: js-yaml dependency-version: 4.1.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix Cluster summary styling (#3216) * remove external platforms field from below sea level UI (#3316) Signed-off-by: Elay Aharoni <elayaha@gmail.com> * Openshift AI Bundle on SNO enables ODF and LVM which are uncompatible (#3320) Signed-off-by: Elay Aharoni <elayaha@gmail.com> * change ABI above sea level iso size (#3322) Signed-off-by: Elay Aharoni <elayaha@gmail.com> * MGMT-22465: Merge the contents of releases/v2.17-cim into master (#3319) * Fix patches when there were 0 nodes in hypershift nodepool (#3177) * Make OVN the default network type if the version is invalid (#3183) * MGMT-20076: Support external platform in Assisted-installer Kube API (#3151) * Add External platforms field * Restructure files related to CIM cluster deployment wizard * Create SelectFieldWithSearch component * Update '@openshift-console/dynamic-plugin-sdk' * CIM custom manifest step * CIM custom manifests review * Make 'Baremetal' the default external platform * Translations for 2.16-cim (#3225) * MGMT-21025: installing Two Node OpenShift with Arbiter (TNA) (#3224) * Clean up ClusterDetailsFormFields * Allow TNA arbiter in CIM * Set 'userManagedNetworking' as true with 'external' platform (#3245) * Tweak TNA-related strings in CIM (#3248) * Restrict platform options for SNO clusters (#3262) Signed-off-by: Lior Soffer <liorsoffer1@gmail.com> * Fix: Undefined OpenShift version producing an incorrect documentation link (#3271) Signed-off-by: Lior Soffer <liorsoffer1@gmail.com> * Fix bug - the option to remove host from the cluster disabled while the host is installing (#3219) Signed-off-by: Elay Aharoni <elayaha@gmail.com> * Implement user interface for the multiple SSH keys (#3292) Signed-off-by: Lior Soffer <liorsoffer1@gmail.com> * Edit OWNERS file (#3303) Co-authored-by: jgyselov <jgyselov@redhat.com> * Fix arbiter translation (#3304) Co-authored-by: jgyselov <jgyselov@redhat.com> * [releases/v2.17-cim] MGMT-22264: Add 'Labels' and 'GPU' columns to infra env host table (#3307) * Add GPUs column to infra agent table * Add labels column and filtering to infra agent table --------- Co-authored-by: jgyselov <jgyselov@redhat.com> * Prevent mass approve crash when hosts are still discovering (#3305) Co-authored-by: jgyselov <jgyselov@redhat.com> * Fix 'Required' translations (#3308) Co-authored-by: jgyselov <jgyselov@redhat.com> * Do not exclude hosts with SpecSyncError status from host selection during binding (#3309) Co-authored-by: jgyselov <jgyselov@redhat.com> * MGMT-22438: Handle empty labels in infra env host table (#3314) * Handle empty labels in infra env host table Signed-off-by: Lior Soffer <liorsoffer1@gmail.com> * format fix Signed-off-by: Lior Soffer <liorsoffer1@gmail.com> --------- Signed-off-by: Lior Soffer <liorsoffer1@gmail.com> * MGMT-19743: Icon from agent status available is confusing (#3220) * Fix bug - the option to remove host from the cluster disabled while the host is installing Signed-off-by: Elay Aharoni <elayaha@gmail.com> * icon from agent status Available is confusing Signed-off-by: Elay Aharoni <elayaha@gmail.com> --------- Signed-off-by: Elay Aharoni <elayaha@gmail.com> Co-authored-by: Julie Gyselova <jgyselov@redhat.com> --------- Signed-off-by: Lior Soffer <liorsoffer1@gmail.com> Signed-off-by: Elay Aharoni <elayaha@gmail.com> Co-authored-by: Lior Soffer <liorsoffer1@gmail.com> Co-authored-by: Elay Aharoni <elayaha@gmail.com> Co-authored-by: OpenShift Cherrypick Robot <openshift-cherrypick-robot@redhat.com> --------- Signed-off-by: gitdallas <5322142+gitdallas@users.noreply.github.com> Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Lior Soffer <liorsoffer1@gmail.com> Signed-off-by: Elay Aharoni <elayaha@gmail.com> Co-authored-by: Montse Ortega Gallart <ammont82@users.noreply.github.com> Co-authored-by: gitdallas <5322142+gitdallas@users.noreply.github.com> Co-authored-by: Pawan Pinjarkar <ppinjark@redhat.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: OpenShift Bot <openshift-bot@redhat.com> Co-authored-by: AOS Automation Release Team <noreply@redhat.com> Co-authored-by: Linoy Hadad <Linoyaslan@gmail.com> Co-authored-by: Lior Soffer <liorsoffer1@gmail.com> Co-authored-by: Rastislav Wagner <rawagner@redhat.com> Co-authored-by: Elay Aharoni <elayaha@gmail.com> Co-authored-by: Richard Su <rwsu@redhat.com> Co-authored-by: Yoav Schwammenthal <33420608+yoavsc0302@users.noreply.github.com> Co-authored-by: OpenShift Cherrypick Robot <openshift-cherrypick-robot@redhat.com>





https://issues.redhat.com/browse/AGENT-1388
this pr fixes several requirements:
Summary by CodeRabbit
New Features
Refactor
Other
✏️ Tip: You can customize this high-level summary in your review settings.