From ee2d77b7ccae5827bcc0553b75d41e473ab0649c Mon Sep 17 00:00:00 2001 From: Lucas Garfield Date: Mon, 10 Aug 2026 08:00:43 -0500 Subject: [PATCH 1/2] Wizard: replace local image builds with a coming soon note (HMS-11160) Local (custom) image builds are not supported in this release. Rename the "Custom images" source card to "Local images", drop its "No login" label, and replace the local image dropdown with a small empty state noting that support lands in Cockpit Image Builder 10.4, alongside an image-builder CLI example for building local images in the meantime. The empty state follows PatternFly's guidance for a wizard pane with nothing to show; the gray rocket icon is their icon mapping for a feature that cannot be used yet. This removes the official-vs-local dropdown logic: the podman distributions query for local images, the registry-auth-based filtering of known references, and the typeahead machinery in ImageSelect that only the local dropdown used. The rewritten tests don't cover the official image dropdown interactions: the dropdown is on its way out as a selection mechanism, and the tests that replace it arrive with that change. Resolves #4709 --- .../components/ImageSourceSelect/Hosted.tsx | 2 +- .../ImageSourceSelect/ImageSourceError.tsx | 10 +- .../OnPrem/CustomImageSource.tsx | 101 ----- .../ImageSourceSelect/OnPrem/ImageSelect.tsx | 109 +----- .../OnPrem/LocalImageSource.tsx | 38 ++ .../ImageSourceSelect/OnPrem/index.tsx | 18 +- .../tests/ImageSourceSelect.test.tsx | 367 ++++-------------- .../steps/ImageOutput/tests/helpers.tsx | 36 +- .../steps/ImageOutput/tests/mocks/fixtures.ts | 31 -- src/store/slices/wizard/output/parsers.ts | 2 +- src/store/slices/wizard/output/types.ts | 2 +- 11 files changed, 150 insertions(+), 566 deletions(-) delete mode 100644 src/Components/CreateImageWizard/steps/ImageOutput/components/ImageSourceSelect/OnPrem/CustomImageSource.tsx create mode 100644 src/Components/CreateImageWizard/steps/ImageOutput/components/ImageSourceSelect/OnPrem/LocalImageSource.tsx diff --git a/src/Components/CreateImageWizard/steps/ImageOutput/components/ImageSourceSelect/Hosted.tsx b/src/Components/CreateImageWizard/steps/ImageOutput/components/ImageSourceSelect/Hosted.tsx index 3f640ffe68..e5bfd9f32c 100644 --- a/src/Components/CreateImageWizard/steps/ImageOutput/components/ImageSourceSelect/Hosted.tsx +++ b/src/Components/CreateImageWizard/steps/ImageOutput/components/ImageSourceSelect/Hosted.tsx @@ -125,7 +125,7 @@ const HostedImageSourceSelect = () => { return ( - {isError && } + {isError && }