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
57fab5fd80
LandingPage: Add NewAlert for added customizations
...
This updates `NewAlert` to inform about new customizations available in Images.
Local storage item name was also updated.
2025-02-28 08:44:52 +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
Katarina Sieklova
daac042df8
Changed to switch statement
2025-02-25 12:09:33 +01:00
Katarina Sieklova
17709cf093
Blueprints: invalid message variant on upload
...
Fixed #2919
Error message has error variant when uploading invalid blueprint.
2025-02-25 12:09:33 +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
Katarina Sieklova
285bee5f8d
Blueprints: Import Blueprint modal error rendering
...
Fixed #2905
Fixes error rendering when invalid blueprint is uploaded.
2025-02-19 15:19:31 +01:00
regexowl
bf704af1e7
ImportModal: Increase maxSize
...
This increases limit for the maximum size of a blueprint.
2025-02-17 15:13:32 +01: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
16b3d60db1
test: Services edit tests
...
This adds services tests for the edit mode.
2025-02-10 10:35:42 +01:00
regexowl
28253c040e
vitests: Set global retry
...
This sets retry globally to `3`, so we don't have to add it to the tests individually.
For the tests that are reliable this shouldn't have any effect, but it will trigger on tests that proved to be a bit flakey (like revisit tests).
2025-02-10 10:02:54 +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
regexowl
e74675ae7f
devDeps: Manually bump vitest
...
This bumps vitest and @vitest/coverage-v8 from 2.0.5 to 3.0.5.
2025-02-07 10:35:18 +01:00
Sanne Raymaekers
0624f4a23d
test/CreateImageWizard: test hostname step on cockpit
2025-02-07 09:30:03 +01:00
Sanne Raymaekers
9def3f61cb
CreateImageWizard: enable locale step in cockpit
2025-02-07 09:30:03 +01:00
Sanne Raymaekers
d10620cc56
test/CreateImageWizard: add basic render for cockpit tests
2025-02-07 09:30:03 +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
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
Sanne Raymaekers
a0a1fa223c
test/ImagesTable: support basic render with cockpit
2025-02-06 10:55:45 +01:00
Sanne Raymaekers
dc98ca032f
test/mocks: expand cockpit mocks
...
Use the data from the regular fixtures, but through cockpit APIs.
There are a few hacks to get around the fact that there are no composes
without blueprints, and the lack of paging support in the cockpit api.
2025-02-06 10:55:45 +01:00
Sanne Raymaekers
b2f56e26f2
test/testUtils: support rendering with cockpit
2025-02-06 10:55:45 +01:00
Sanne Raymaekers
e601a299be
test/fixtures: add blueprint for cockpit
...
This blueprint is a hack, when the cockpit mocks encounter this
blueprint, the cockpit mocks will return all composes. This is to get
around the fact that in cockpit, there are no images without blueprints,
while that's possible in the service.
2025-02-06 10:55:45 +01: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
Sanne Raymaekers
874f6bdd5c
store/cockpit: Add notifications for blueprints
...
Also just dump the entire `err` in the notification in case of
errors. The error we get from the custom query in cockpit is not at all
predictable.
2025-02-05 16:58:47 +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
90bf5cf91f
src: Rely only osbuild-composer's cloudapi types
...
Use the predefined types in the status row and the onprem to hosted
mapper.
2025-02-05 15:54:57 +01:00
Sanne Raymaekers
16ae455b67
store/cockpit: Add osbuild-composer's cloudapi
2025-02-05 15:54:57 +01:00
Sanne Raymaekers
76044ddccd
store/cockpitApi: add notification when composing images
2025-02-05 13:11:14 +01:00
Sanne Raymaekers
41869611db
Blueprints/helpers: fix mapping hosted to on prem
...
`isAdministrator` isn't an option onPrem.
2025-02-05 13:11:14 +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
8dd85a3c1e
store/cockpitApi: fix deleting blueprints
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
Sanne Raymaekers
0204bcced5
store/wizardSlice: default to 'register-later' when on-premise
2025-02-05 13:11:14 +01:00
Sanne Raymaekers
61107e122e
Utilities/useGetEnvironment: support feature flags on prem
...
These are just hardcoded, but enable the new customizations in the on
premise UI.
2025-02-05 13:11:14 +01:00
Gianluca Zuccarelli
b469775ef5
Components/Cockpit: NotReady
...
Add a secondary button that takes the user to the `osbuild-composer.socket`
services file inside the cockpit services plugin.
2025-02-04 23:08:50 +01:00