regexowl
223a6a6780
Wizard: Deprecate Chip and ChipGroup components
...
`Chip` and `ChipGroup` components will be deprecated in PF6. This replaces them with recommended `Label` and `LabelGroup`.
2025-03-04 08:36:41 +01:00
Katarina Sieklova
9dc66ec1d0
Wizard: bigger space between in target envs in review
2025-03-03 11:25:11 +01:00
Katarina Sieklova
d527c2607e
Wizard: resolving className modifiers
2025-02-28 09:24:41 +01:00
Katarina Sieklova
e3fde5eb9b
Wizard: fix indentation of manual file system config
...
Fixes #2910
Indentation of manual file system configuration in the review step of the wizard was aligned.
2025-02-28 09:24:41 +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
59e383fe5a
Wizard: Remove first boot script from services when no script
...
There is a bug that makes `custom-first-boot` service stay in services when the first boot script is removed.
How to reproduce:
1. create a blueprint with a first boot script
2. download the blueprint and confirm `custom-first-boot` was added to enabled services
3. click on "Edit blueprint"
4. go to First boot step and remove the script
5. save edited blueprint
Current behaviour:
- `custom-first-boot` service should be still enabled even with the removed first boot script
Updated behaviour:
- `custom-first-boot` is no longer in the blueprint after first boot script got removed
2025-02-26 16:48:32 +01:00
Katarina Sieklova
26f56bf9f0
Wizard: reseting page to default state
...
Fixed #2865
OpenSCAP profile page in Compliance step clears after selecting "None" or "X" in the dropdown.
2025-02-26 14:23:41 +01:00
dependabot[bot]
35bb95438b
Wizard: Switch view to "Available" when searching for package
...
this fix an issue when user search for a package, the viewv stay "Selected"
instead of switching to "Available
fix one test
2025-02-24 12:00:31 +01:00
regexowl
4907d3048f
Wizard: Remove obsolete css
...
This removes css styles for `DualListSelector` we no longer use and a temporary pagination fix that was already addressed directly in PF.
2025-02-24 11:12:22 +02:00
regexowl
609397d411
Wizard: register-later for non-RHEL images
...
This sets registration type to `register-later` when a non-RHEL distribution is selected.
2025-02-17 14:26:53 +01:00
regexowl
03294389b1
Wizard: Disable already selected language options
...
This disables language options that were already added to the image, rendering a description to make the disabled option clear.
2025-02-17 12:49:03 +01:00
regexowl
62bbf6d688
Wizard: Add step validation to Locale
...
This adds step validation to Locale, allowing to properly validate imported values.
2025-02-17 12:49:03 +01:00
Klara Simickova
75770dc97f
Revert "Wizard: Sticky footer returns"
...
This reverts commit e875f99f6b .
2025-02-13 17:02:29 +01:00
regexowl
e875f99f6b
Wizard: Sticky footer returns
...
The original solution that broke some time ago works again. Removing the comments and temporary workaround.
2025-02-13 16:48:51 +01: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
87d6c57174
Wizard: Fix nav status icon
...
Status icon rendered only when the step was previously visited, this caused problems with imported blueprints.
How to reproduce a bug:
1. import a blueprint with invalid hostname
2. skip to Review
Current behaviour:
- the Create blueprint button is disabled, but there is no indication of error next to the Hostname step in navigation
After fix:
- the error status should be rendered next to the Hostname nav item
2025-02-13 13:29:36 +01:00
Sanne Raymaekers
fd4fe79b41
CreateImageWizard/ImageOutput: hide description in cockpit
...
Lifecycle information isn't available yet, so let's just hide it.
2025-02-11 21:17:18 +01:00
Sanne Raymaekers
76f86c3711
CreateImageWizard: default to major releases on prem
...
In RHEL, VERSION_ID actually refers to the minor release. Let's strip
the minor component from it until we actually support those explicitly.
2025-02-11 21:17:18 +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
regexowl
ac725f3ae1
Wizard: Gate kernel info behind feature flag
...
This gates the visibility of kernel information behind a flag on the OpenSCAP step.
2025-02-07 18:32:52 +02:00
regexowl
87a908af35
Wizard: Gate services on OpenSCAP step behind flag
...
This gates the visibility of services on the OpenSCAP step behing a flag.
2025-02-07 18:32:52 +02: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
regexowl
68d33130f7
src: Align to center
...
This ensures that both Landing page and Wizard are aligned to center within wide windows.
2025-02-06 13:30:23 +02:00
regexowl
5cc479115d
requestMapper: Fix snapshot date parsing
...
Regex was wrong, would take "2025-01-01T00:00:00.000Z" even though it's a valid RFC 3339 date.
2025-02-06 09:31:49 +01:00
regexowl
c2cdb84e77
validators: Remove unneeded condition for service validator
...
After the regex was fixed this condition should be removed.
2025-02-05 16:48:02 +01:00
Sanne Raymaekers
b574a7cabc
CreateImageWizard: fix systemd validator
...
The naming of systemd services don't follow the RFC in the comments. See
`man systemd.unit` for the specification.
2025-02-05 13:11:14 +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
8bafe6cb80
Wizard: Add validation to Systemd services step
...
This adds validation to ChippingInputs on the Systemd services step.
2025-02-04 15:15:49 +01:00
regexowl
1e0cf96457
Wizard: Add inputs for disabled and enabled services
...
This adds inputs for disabled and enabled systemd services. New tests are also added.
2025-02-04 15:15:49 +01:00
Michal Gold
2c414fb089
Wizard: remove confirmPassword from Mapper
...
this commit remove confirmPassword from Mapper because we decide that
this field is not relevant anymore to Users step, and it should remove
from the mapper as well
2025-02-04 14:08:54 +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
regexowl
f11ab64262
Wizard: Add validation to ChippingInput
...
This adds step validation to ChippingInput, allowing to validate imported values.
2025-02-04 11:37:16 +01:00
Sanne Raymaekers
fea03a8c72
CreateImageWizard: hide package group alert in cockpit plugin
...
Searching for groups isn't possible sadly, as the search works slightly
differently than content sources. Replace the alert with an alert on how
to use globbing.
2025-02-04 10:22:19 +01:00
Gianluca Zuccarelli
eac03ddc7d
store/cockpit: add package search
...
Add initial package search. Include the version, release & arch information
in the summary, since some packages might have a release with the specific
architecture and a `noarch` version.
2025-02-03 13:40:30 +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
Gianluca Zuccarelli
ed1b4c4b97
CreateImageWizard: hide registration on-prem
...
Hide the registration step for on-prem frontend
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
regexowl
4145157858
Wizard: Add firewall services
...
This adds firewall services, using the `<ChippingInput>` components. New tests were also added.
2025-01-29 14:48:15 +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
Michal Gold
6e36232e1a
Wizard: Add remove user button in users step
...
this adds remove user button and add unit test as well.
2025-01-27 14:30:22 -06: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
Michal Gold
aa8086176b
wizard: create new component with add eyeIcon button inside textInput
...
this commit create new component with add eyeIcon button inside textInput,
for password field
2025-01-27 13:35:18 -06:00
Gianluca Zuccarelli
45b83bd4fb
CreateImageWizard: initialize on-prem with host arch
...
Initialize the create image wizard with the host arch for the
on-prem frontend.
2025-01-27 17:03:06 +01: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
Gianluca Zuccarelli
29b7e02de2
CreateImageWizard: hide activation keys for on-prem
...
Subject says it all
2025-01-27 17:03:06 +01:00