Commit graph

75 commits

Author SHA1 Message Date
regexowl
0597541af2 Manually revert "Fedora-services: add support for fedora env"
This reverts #2984 as Fedora service frontend is not being currently actively maintained.
2025-06-27 14:15:05 +02:00
Katarina Sieklova
2f034dffd8 Wizard: organize steps components into the "components" folders 2025-06-24 14:09:36 +00:00
regexowl
c98659fbd7 Wizard: Show release chart on review step for RHEL 9 as well
Follow up to #3338

Since we're showing the release lifecycle for RHEL 9 now we should probably show it also on the Review step.
2025-06-24 11:09:28 +00:00
Katarina Sieklova
76320925a0 Wizard: change order of the systemd services 2025-06-18 11:24:36 +00:00
regexowl
b465920b18 src: Remove image-builder.users.enabled flag
The Users customization is available in production now, the flag is no longer used.
2025-06-16 11:26:03 +00:00
Gianluca Zuccarelli
7f5013ef07 ReviewStep: fix alignment
Patternfly6 handles the grid for description lists slightly differntly
to Patternfly5. Add custom css to change the behaviour to match PF5 and
get the items in the review step to align properly
2025-06-12 13:29:58 +00:00
regexowl
7039db2585 Wizard: Spacing between footer buttons on Review step 2025-05-28 09:08:52 -05:00
regexowl
2c2b961d90 Wizard: Update spacing and colors used on Review step 2025-05-28 09:08:52 -05:00
regexowl
91577343df src: Update <Content> tag components 2025-05-28 09:08:52 -05:00
regexowl
2080425753 src: Update remaining v5 version slugs 2025-05-28 09:08:52 -05:00
regexowl
4312cca4dd src: Run class-name-updater
This runs `npx @patternfly/class-name-updater src --v6 --fix`.
2025-05-28 09:08:52 -05:00
regexowl
1fc1f0cb8d src: Run codemods and lint
Run `npx @patternfly/pf-codemods@latest src --v6 --fix` and lint autofix to get the bulk of the changes in.
2025-05-28 09:08:52 -05:00
regexowl
aedbbdc53a src: Remove unused data-testids
This removes unused `data-testid`s from the code base.
2025-05-09 10:14:54 +02:00
regexowl
75288a5ef8 src: Remove unused unleash flags
This removes unused flags from the code base:
- image-builder.hostname.enabled
- image-builder.kernel.enabled
- image-builder.firewall.enabled
- image-builder.services.enabled
2025-04-29 14:14:21 +02:00
regexowl
42747a7eeb src: Remove firstboot flag
Firstboot also seems to be released fully to both stage and prod. The flag is not needed anymore.
2025-04-28 16:00:44 +02:00
regexowl
e6b030ea4c src: Remove ouia-ids
Since we're moving away from IQE the `ouia-id` atributes should be no longer needed. This removes them from the entire code base.
2025-04-25 11:32:43 +02:00
Bryttanie House
0238c04dfe Wizard: add support for content templates 2025-04-25 10:31:43 +02:00
regexowl
0b843a64d9 Wizard: Update Users review text list
Only the first user got rendered, this should render them all and correctly add password indicator in import/edit mode when `hasPassword` is true.
2025-04-23 13:42:39 +02:00
Katarina Sieklova
d18f25e331 Wizard: add segment tracking 2025-04-16 12:56:03 +02:00
Anna Vítová
58ec84c61e Wizard: add Satellite registration to review step 2025-04-11 10:18:46 +02:00
regexowl
a34d5895d9 Wizard: Move PopoverActivation and ManageKeysButton
This moves `PopoverActivation` and `ManageKeysButton` outside from `ActivationKeysList` to their own separate components.
2025-04-08 18:03:49 +02:00
Amir
1d86950f45 Fedora-services: add support for fedora env 2025-04-03 11:50:51 +02:00
Justin Sherrill
38458810a0 change repo snapshot step to repeatable builds 2025-04-03 10:17:37 +02:00
regexowl
248bc1d67a Wizard: Move stuff around, split into more components
This moves several files into `components` subdirectory and splits `Oscap.tsx` into more components to make the file shorter and easier to navigate.
2025-04-02 12:17:23 +02:00
Michal Gold
978237bf84 Wizard: Fix blueprint name update on Architecture/Distribution changes
This commit resolves an issue where the blueprint name did not update when the user changed the Architecture or Distribution.
Additionally, it sets an initial value for blueprintName in the WizardSlice.
2025-03-31 16:10:05 -05:00
Dominik Vagner
048baffc3f Wizard: add support of upload custom repositories 2025-03-13 08:57:56 +01:00
regexowl
75ddd854e8 src: Remove timezone and locale unleash flags
This removes `image-builder.timezone.enabled` and `image-builder.locale.enabled` gating as both were released to production.
2025-03-04 10:04:26 +01:00
Katarina Sieklova
9dc66ec1d0 Wizard: bigger space between in target envs in review 2025-03-03 11:25:11 +01:00
regexowl
56e85e0954 Wizard: Add masked services input
This exposes masked services in the UI by adding a masked services input.
2025-02-27 12:46:29 -06:00
regexowl
34720c799e src: Remove snapshots fallthrough logic
Snapshotting is available in prod-stable now. We can probably remove the fallthrough logic now.
2025-02-13 15:51:31 +01:00
regexowl
4ccf932c21 Wizard: Remove CodeBlocks for "None" as a value
Render "None" just as a plain text when there are no values to be shown in the review expandable.
2025-02-10 10:47:55 +01:00
Michal Gold
a34251d0a7 Wizard: remove extendable section from Review step when there is no value
this removes extendable users from Review step when there is no user or kernel name
2025-02-06 17:02:00 +01:00
Michal Gold
7f54147a64 Wizard: change password to **** if there is value in pasword field
this changes password to **** if there is value in pasword field
2025-02-06 15:18:14 +01:00
regexowl
eeb70e38c3 Wizard: Add services to Review step
This adds systemd services expandable to the Review step.
2025-02-06 14:09:28 +01:00
Sanne Raymaekers
52a43b0f2d CreateImageWizard: support edit mode on premise
The way the on premise wizard is initialized needed to be tweaked to
make it work for isEdit. Let's assume that the host distro and host
architecture are already correct in the blueprint.
2025-02-05 13:11:14 +01:00
regexowl
d7a331b6a4 Wizard: Add firewall to Review step
This adds a firewall expandable to the Review step.
2025-02-04 13:32:25 +01:00
Gianluca Zuccarelli
bc1564eddb store/cockpit: add content sources api
Add a `contentSourcesApi` for the on-prem frontend. We need to add a small
workaround and put these endpoints under the `cockpitApi` reducer.
since RTK query here, doesn't like splitting out apis when they are
fundamentally the same.

To workaround this we can will just chain the endpoints so:
`emptyCockpitApi` -> `contentSourcesApi` -> `cockpitApi`

This allows us to keep the `contentSourcesApi` separate so
we can export some of the endpoints so that the `cockpitApi`
doesn't become a monolith.
2025-02-03 13:40:30 +01:00
Michal Gold
5f7f958d07 Wizard: Add Administrator field to review step
this commit add administrator field to review step
2025-02-03 12:53:49 +01:00
Gianluca Zuccarelli
94f24ce085 store/cockpitApi: add create blueprint mutation 2025-01-28 13:29:21 +01:00
Gianluca Zuccarelli
c104f30cd2 store/cockpitApi: add list snapshot mutation
This is not ideal, but we needed to add an empty endpoint for
this, even though we're ignoring it on prem. The frontend for
the service makes the api call regardless, so we can't ignore
this.
2025-01-28 13:29:21 +01:00
Gianluca Zuccarelli
a3529f9108 CreateImageWizard: ignore org-id for on-prem
We can ignore the org-id when trying to get the state of the
blueprint during the blueprint creation. This is unnecessary
info for `on-prem`
2025-01-28 13:29:21 +01:00
Gianluca Zuccarelli
d0a69082f3 CreateImageWizard: disable analytics for on-prem 2025-01-28 13:29:21 +01:00
regexowl
96d68583a3 Wizard: Add kernel to Review step
This adds a kernel expandable to the Review step.
2025-01-27 13:48:39 -06:00
Gianluca Zuccarelli
44af2f278b CreateImageWizard: initialize on-prem with host distro
Initialize the create image wizard with the host's distribution for the
on-premise frontend.
2025-01-27 17:03:06 +01:00
regexowl
adf802174c Wizard: Fix "and build images" buttons
The "Create / Save changes to a blueprint and build images" buttons were disabled by default.
2025-01-22 11:38:58 +02:00
Michal Gold
5a7ce1efee wizard: extand steps only if there are values in the step
add condition that check if there is value in Hostname, Locale, Timezone steps
and if there is no value, we dont see the extendable part in review step

FIX ISSUE: (#2718)

after changes when there is no value in Timezone step, we should update
test if we want to see the extendable section
2025-01-21 10:06:19 +01:00
Michal Gold
568b8c83cf wizard: add ssh_key to review step
this commit add ssh_key to review step under Users
2025-01-15 10:42:43 +01:00
Bryttanie House
29736d8d0c Wizard: switch snapshot date in wizard to RFC3339 2025-01-07 14:37:34 +01:00
regexowl
d77ac55482 Wizard: Skip directly to Review
When clicking "Review and finish" the user skips directly to the Review step and the name of the blueprint gets automatically populated.
2025-01-06 18:22:50 -06:00
Michal Gold
6a5871bf14 wizard: add users to review step (HMS-4906) 2025-01-06 12:28:20 +01:00