Commit graph

3327 commits

Author SHA1 Message Date
regexowl
b9fdb9946a Wizard: Update recommendations description
Turn statements around, first explain the functionality and then specify that recommendations are not dependencies.
2025-06-24 10:03:15 +00:00
Katarina Sieklova
981b62d7b0 Wizard: conflicting packages
Disable a package if it's a conflicting module stream or if it's a non-modular package whose base name is already covered by an enabled module stream.
Disable a module if anouther package with the same name was selected.
Fixes #3274
2025-06-24 07:38:33 +00:00
Katarina Sieklova
3e4ee6891d Wizard: fix filtering of OpenSCAP profiles
Fixes #3273
2025-06-24 07:16:32 +00:00
Katarina Sieklova
064aa172a0 Wizard: add Filesystem customization test 2025-06-24 07:14:56 +00:00
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
dependabot[bot]
434960e0fc build(deps): bump @redhat-cloud-services/frontend-components-utilities
Bumps [@redhat-cloud-services/frontend-components-utilities](https://github.com/RedHatInsights/frontend-components) from 6.0.2 to 6.1.0.
- [Release notes](https://github.com/RedHatInsights/frontend-components/releases)
- [Changelog](https://github.com/RedHatInsights/frontend-components/blob/master/CHANGELOG.md)
- [Commits](https://github.com/RedHatInsights/frontend-components/compare/@redhat-cloud-services/frontend-components-utilities-6.0.2...@redhat-cloud-services/frontend-components-utilities-6.1.0)

---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/frontend-components-utilities"
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-24 06:31:38 +00:00
dependabot[bot]
0d65220826 build(deps-dev): bump @currents/playwright from 1.13.2 to 1.14.1
Bumps [@currents/playwright](https://github.com/currents-dev/currents-playwright-changelog) from 1.13.2 to 1.14.1.
- [Changelog](https://github.com/currents-dev/currents-playwright-changelog/blob/main/CHANGELOG.md)
- [Commits](https://github.com/currents-dev/currents-playwright-changelog/commits)

---
updated-dependencies:
- dependency-name: "@currents/playwright"
  dependency-version: 1.14.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-24 06:31:21 +00:00
red-hat-konflux[bot]
626ebaa3c7 chore(deps): update konflux references
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2025-06-23 14:26:40 +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
dependabot[bot]
6eaf2f9862 build(deps-dev): bump chart.js from 4.4.9 to 4.5.0
Bumps [chart.js](https://github.com/chartjs/Chart.js) from 4.4.9 to 4.5.0.
- [Release notes](https://github.com/chartjs/Chart.js/releases)
- [Commits](https://github.com/chartjs/Chart.js/compare/v4.4.9...v4.5.0)

---
updated-dependencies:
- dependency-name: chart.js
  dependency-version: 4.5.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-20 06:36:00 +00:00
regexowl
4b411c9a27 test: Update tests to reflect changes in chart visibility 2025-06-19 14:30:33 +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
Tom Koscielniak
2a611e9704 playwright: Add handler for new intercom notifications
Adds handler for the new intercom popup notifications that trigger OpenScap window. Also adds noWaitAfter for the click action to fix flakiness.
2025-06-19 14:26:03 +00:00
Tom Koscielniak
b499dfcf93 playwright: Add single login for all tests
Add a single login for all tests in the form of a global setup. This commit also removes the login from all tests and replaces it with navigation to landing page and revamps the popup closing logic from being applied in logging step  into a separate fixture.
2025-06-19 14:26:03 +00:00
Gianluca Zuccarelli
78bb1e118b multiple: fix act errors in the tests
This also helps reduce noise in the test output.
2025-06-19 13:53:49 +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
66ed82a531 test: Update mocked cockpit release 2025-06-19 13:13:08 +00:00
regexowl
1d3967a585 test: Add test fixtures and update tests where needed
Mock fixtures for RHEL 10 were missing, meaning the tests were unable to fetch mocked data and failed.
2025-06-19 13:13:08 +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
Simon Steinbeiss
5545ce4027 Wizard: Adjust distribution sorting for RHEL 10
Since RHEL 10 is the new default, the sort order should reflect that.
2025-06-19 13:13:08 +00:00
Simon Steinbeiss
362bfd393b Wizard: Make RHEL 10 the default distribution 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
regexowl
0ce28044b8 Konflux: Migrate apply-tags from 0.1 to 0.2 2025-06-18 11:48:42 +00:00
red-hat-konflux[bot]
b7860f33fc Update Konflux references
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2025-06-18 11:48:42 +00:00
Tomáš Hozza
07f500b94a GHA: enable the stale action to delete its saved state
It turns out that the stale action is not able to delete its saved
state due to missing permissions. As a result, it was not processing
issues and PRs, that have been processed once, for almost a month.

The error in the job log was:
```
Warning: Error delete _state: [403] Resource not accessible by integration
```

The fix is to add `actions: write` to the action permissions

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2025-06-18 11:45:20 +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á
a4ac280350 fix: replace hardcoded paths for firstboot svc 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á
9189a20e57 Wizard: add constants for fb paths 2025-06-18 11:21:54 +00:00
Anna Vítová
4667f6b0ac Wizard: cleanup request mapper 2025-06-18 11:21:54 +00:00
Anna Vítová
cd137fb055 Tets: add Kernel customizations test 2025-06-18 08:52:06 +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
Gianluca Zuccarelli
50d88e5949 AppCockpit: add dark mode helper
Import the cockpit-dark-theme helper from the cockpit project. This detects
when dark mode is enabled and automatically applies the correct styles.
2025-06-18 06:37:51 +00:00
Gianluca Zuccarelli
cb08466734 Makefile: update cockpit ref
To enable dark mode in cockpit we need to update the ref since both cockpit and
the image-builder frontend have been updated to PF6. The old ref was still from
before cockpit was migrated to PF6 and so the incorrect classes were being added.
2025-06-18 06:37:51 +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
dependabot[bot]
2f8b550408 build(deps-dev): bump @types/node from 22.15.1 to 24.0.3
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.1 to 24.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.0.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-17 10:01:49 +00:00
regexowl
31d259e988 devDeps: Bump msw from 2.7.5 to 2.10.2
This bumps msw from 2.7.5 to 2.10.2
2025-06-17 09:55:15 +00:00
dependabot[bot]
798d994ad0 build(deps-dev): bump stylelint-config-recommended-scss
Bumps [stylelint-config-recommended-scss](https://github.com/stylelint-scss/stylelint-config-recommended-scss) from 14.1.0 to 15.0.1.
- [Release notes](https://github.com/stylelint-scss/stylelint-config-recommended-scss/releases)
- [Changelog](https://github.com/stylelint-scss/stylelint-config-recommended-scss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint-scss/stylelint-config-recommended-scss/compare/v14.1.0...v15.0.1)

---
updated-dependencies:
- dependency-name: stylelint-config-recommended-scss
  dependency-version: 15.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-17 09:48:58 +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