Commit graph

750 commits

Author SHA1 Message Date
Michal Gold
df5388dae8 Repositories: fix architecture/version display to use readable names from API
- Add listRepositoryParameters endpoint to contentSources API
- Display human-readable names instead of technical labels
- Fix inconsistency between Image Builder and Repositories service display
- Resolve "any" vs "Any" capitalization issue -
https://github.com/osbuild/image-builder-frontend/issues/3008
2025-06-19 10:27:56 +00:00
Katarina Sieklova
76320925a0 Wizard: change order of the systemd services 2025-06-18 11:24:36 +00:00
Anna Vítová
235d853f42 fix: replace hardcoded paths for satellite 2025-06-18 11:21:54 +00:00
Anna Vítová
47d526cf5c fix: replace hardcoded paths for firstboot 2025-06-18 11:21:54 +00:00
Anna Vítová
4667f6b0ac Wizard: cleanup request mapper 2025-06-18 11:21:54 +00:00
regexowl
9478958085 Wizard: Fix wizard height
This adds a style to make sure the Wizard takes up the entire height of the page also in Firefox.
2025-06-18 08:06:52 +00:00
Katarina Sieklova
564c5461d4 Wizard: edit tests related to Compliance step 2025-06-18 07:25:00 +00:00
Katarina Sieklova
0cfe3dde30 Wizard: Fix "None" options in Selects for policies and Oscap profiles 2025-06-18 07:25:00 +00:00
regexowl
139dd367fe Manually revert "Wizard: temporarily disable OCI"
This reverts commit efed39d, manual revert was needed as the tile were migrated to cards in the meantime.
2025-06-17 12:33:05 +00:00
regexowl
8e504a527b Wizard: Make popover button independent on tab
Previously when the Included/Other repos popover button was clicked the tab changed as well. This makes the popover button independent on the selected tab.
2025-06-17 08:51:13 +00:00
regexowl
d6acce47a2 Wizard: Fix release dropdown's maxWidth
This applies the styling and removes `Warning: Unsupported style property max-width. Did you mean maxWidth?` from the test output.
2025-06-17 07:51:34 +00:00
regexowl
cb8c8a3d5c Wizard: Remove unused styling
We don't use the `Tile` component anymore. I believe we can remove this styling.
2025-06-17 07:50:25 +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
regexowl
8f0c53138e Wizard: Sort activation keys list
This sorts the activation keys list by name.

The `sortFn` function was also updated to handle undefined values.
2025-06-16 10:54:13 +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
Gianluca Zuccarelli
4932ba6909 Wizard: remove public clouds if none available
Fixes HMS-6136
2025-06-12 13:29:58 +00:00
Anna Vítová
85d8850dce Wizard: remove else after return in firstboot 2025-06-09 13:19:55 +02:00
Anna Vítová
548a87bb44 Wizard: remove else after return in filesystem table 2025-06-09 13:19:55 +02:00
Anna Vítová
6ec6f33fda Wizard: fix datepicker reset glitch (MS-8610)
If the reset button is clicked, there is a glitch that shows error state
for a moment. This commit removes the glitch by setting the snapshot
date even for invalid values, and removes the workaround that was
previously added.
2025-06-09 12:20:23 +02:00
Gianluca Zuccarelli
a93a163afb CreateImageWizard: reusable TargetEnv card
Create a re-usable component for the Target Enviromnent cards. This
helps dry up the code a bit and should make it easier to edit going
forward.
2025-06-06 16:28:37 +02:00
Gianluca Zuccarelli
4668ed71ab CreateImageWizard: switch tiles to cards
Tiles are being deprecated in PatternFly. This commit switches from
tiles to cards for the Target Environments in the CreateImageWizard.

The keyboard test had to be removed since cards don't have a keydown
event.
2025-06-06 16:28:37 +02:00
Katarina Sieklova
362e5f7ca6 Wizard: indicate which user tab contains error
Fixes: #3097

Added exclamation marks to the tabs where the user contains error.
2025-06-05 17:45:59 +02:00
Katarina Sieklova
310f7a05cf Wizard: edit validation of port format in the Firewall step
Fixes #3269
2025-06-05 16:18:25 +02:00
Katarina Sieklova
3093310a6c Wizard: edit the timezone filter to fix whitespaces 2025-06-03 16:41:21 +02:00
Katarina Sieklova
6c244ba09e Wizard: fix filtering of Timezone
Fixes #3264
2025-06-03 16:41:21 +02:00
regexowl
45b6a034db Wizard: Override max-width for release select 2025-05-28 09:08:52 -05: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
eed08effe1 Wizard: Update group labels spacing and "add button" color 2025-05-28 09:08:52 -05:00
regexowl
4bb826ee06 Wizard: Set helper text variant 2025-05-28 09:08:52 -05:00
regexowl
49d05440b9 Wizard: Fix spacing of buttons in Wizard's footer 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
Sanne Raymaekers
efed39dd9d Wizard: temporarily disable OCI
Until we get our accounts back, there's nothing we can do here.
2025-05-20 14:10:53 +02:00
regexowl
2d6b58cfdd Wizard: Sources for all
Unpack sources for both modules and packages.
2025-05-16 10:38:14 -05:00
Anna Vítová
2692b75432 Wizard: fix token not having expiration fails 2025-05-16 13:53:24 +02:00
rverdile
854ff93594 Wizard: send template name in image request 2025-05-16 13:29:35 +02:00
Simon Steinbeiss
2d562a14d4 Wizard: Add RHEL10 to ReleaseLifecycle chart 2025-05-15 15:59:27 +02:00
Lucas Garfield
0154452411 Wizard: Disabled OpenSCAP profile selection for RHEL10 2025-05-14 12:36:43 -05:00
Lucas Garfield
92984f3187 Wizard: Support RHEL10 in URL search parameters 2025-05-14 12:36:43 -05:00
Sanne Raymaekers
ef2050a705 src/constants: add rhel 10 to releases 2025-05-14 12:36:43 -05:00
Anna Vítová
4c82ae8749 Wizard: make Satellite CA cert optional
Users do not need to fill in the satellite certificate, omitting
parts of code that require it.
2025-05-14 17:07:04 +02:00
Anna Vítová
2ee812efe0 Wizard: refactor Satellite validation
The Satellite token navigation was a bit too overengineered, refactoring
for better readability.
2025-05-14 17:07:04 +02:00
Anna Vítová
d5969a2c9e Wizard: fix activation key required for Satellite
Sometimes, the activation key is required when the Satellite option is
needed. This is caused by missing condition.
2025-05-14 17:07:04 +02:00
Anna Vítová
4192ada532 Wizard: add details for Satellite token expiration
This commit adds a more detailed information about when does the token
used in Satellite command expire.
2025-05-14 17:07:04 +02:00
regexowl
daa6e59bc0 Wizard: Add package streams
If there's a package stream for both packages and modules, this will render it.
2025-05-14 16:15:06 +02:00
Lucas Garfield
e359e0f47d Wizard: Fix vertical height bug
Recently the wizard has started rendering such that its vertical height
matches the height of its body – and therefore only occupies some
fraction of the page’s vertical space for many steps. The desired
behavior is for its footer to be fixed at the bottom of the viewport.

Specifying the page section type prop as ‘wizard’ resolves the issue.
This is the pattern used in the Patternfly documentation for in-page
wizards. See here:
https://www.patternfly.org/components/wizard/react-demos#in-page

Using CSS to adjust Patternfly component rendering is an antipattern.
More custom CSS means more time spent troubleshooting rendering issues.
Custom CSS related to rendering of the wizard has been removed.

There is still an annoying issue. The body of the wizard is not
scrollable and will overflow. This is counter to the Patternfly
examples. There doesn’t seem to be any CSS in Image Builder that would
cause this to occur. Perhaps the problem is somehow inherited from
Insights Chrome? In any case, this will require further investigation.
2025-05-14 13:26:14 +02:00
regexowl
27da67360c src: Fix user groups validation on import
The error for invalid user groups was not previously rendered on import. This fixes the issue and adds an import test to check that the error messages for all user fields get correctly rendered.
2025-05-14 11:06:13 +02:00