Commit graph

1291 commits

Author SHA1 Message Date
Gianluca Zuccarelli
7f06002b26 Wizard: hide other repos for on-prem
There is no way of configuring 3rd party repos for on-prem as of yet,
we should hide this tab from the users.

Fixes: HMS-6135
2025-06-24 06:53:31 +00:00
regexowl
1a65c0c3d4 Wizard: Update package recommendations description
This adds more information to the recommended packages expandable to highlight that:
- all needed dependencies will be included by default
- recommendations are optional and based on choices of other users
2025-06-24 06:40:14 +00:00
regexowl
874f5dd040 Wizard: Fix target env cards clickability
The cards are now broken, this should make them selectable again.
2025-06-20 08:55:32 +00:00
Simon Steinbeiss
f44afe2723 Wizard: Show lifecycle information for RHEL9
Since we want to nudge customers to default to RHEL 10, it may make
sense to show them the shorter lifecycle of RHEL 9 when they select it.
2025-06-19 14:30:33 +00:00
Gianluca Zuccarelli
c2998306cf multiple: fix selectable card onChange
The `onChange` event for the selectable cards needed to be placed
inside the `selectableActions` of the `CardHeader`. Since the
`onChange` action was not implemented we were getting warnings
in the test output for that a component was changing an uncontrolled
input to controlled.
2025-06-19 13:53:49 +00:00
Gianluca Zuccarelli
bac647ded6 multiple: fix selectable card actions
The Card component needs an aria-label when the card is selectable. Since this was
not set, a warning error was polluting the test output.

Fixes #3319
2025-06-19 13:53:49 +00:00
Gianluca Zuccarelli
16e5bdbe3a Wizard: fix state change on render
A setState action was occuring in during render in the customStatusNavItem
component of the CreateImageWizard. We just needed to wrap this setState
call in a useEffect hook. I also renamed the component to CustomStatusNavItem
for React component naming conventions.

See: https://reactjs.org/link/setstate-in-render
2025-06-19 13:53:49 +00:00
regexowl
cdd10a01ff Wizard: Add rhel9 query parameter
We've been previously setting RHEL 9 as default, meaning there was no specific quer parameter for it.
2025-06-19 13:13:08 +00:00
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
regexowl
b59a729656 sharedComponents: Rename "Create blueprint" button
This renames the button to "Create image blueprint" to make the relationship between images and blueprints clearer.
2025-06-18 14:12:47 +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
Gianluca Zuccarelli
c59cde1ab9 ImagesTable: fix main section alignment
With the change to PF6 the list of items in the table section was not
padded properly, we can fix this by wrapping the code in a `PageSection`
component.
2025-06-16 11:40: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
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
Gianluca Zuccarelli
40fe892dbf sharedComponents: tidy up image-builder-header
This commit simplifies and tidies up the shared ImageBuilderHeader
component by removing some of the `Flex` and `FlexItem` components.
Instead we can use the `actionComponents` from the `PageHeader`
component which takes care of some of the flex logic for us.
2025-06-12 13:29:58 +00:00
Gianluca Zuccarelli
3dd67c8f39 CloudStatus: disable analytics for on-prem
Analytics was enabled for on-prem which broke the images table. This
commit disables the analytics for the on-prem frontend.
2025-06-12 13:29:58 +00:00
Anna Vítová
2b37ee998e Blueprints: disable analytics for on-prem delete
Analytics broke on prem deletion of the blueprint.
2025-06-11 15:36:57 +02: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
93d994affa Blueprints: Make blueprint cards selectable
Highlighting the card on select got broken during the migration. This fixes the issue.
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
4f339aec8f Wizard: Update code after rebasing 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
3ac980e321 Wizard: Update <EmptyState> to match PF6 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