Commit graph

3316 commits

Author SHA1 Message Date
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
regexowl
3312beb6e7 devDeps: Bump @typescript-eslint/eslint-plugin and @typescript-eslint/parser
The dependencies need to be bumped in tandem, both went from 8.32.1 to 8.34.0
2025-06-16 11:16:48 +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
dependabot[bot]
4e19ccc5e9 build(deps-dev): bump brace-expansion from 1.1.11 to 1.1.12
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.11 to 1.1.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/1.1.11...v1.1.12)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-16 10:49:34 +00:00
dependabot[bot]
54b6877f95 build(deps-dev): bump @babel/core from 7.26.10 to 7.27.4
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.26.10 to 7.27.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.27.4/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-version: 7.27.4
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-12 14:01:34 +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
1ba0f33240 ImageTable: fix blueprint list cards
The blueprint cards were missing their borders, making it unclear when
the item was selected or not.
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
84bc0f92a0 cockpit: fix fonts
The fonts weren't getting loaded properly and cockpit was falling back
to `Helvetica`. This was particularly noticeable on the `ReviewStep` of
the `CreateImageWizard`.
2025-06-12 13:29:58 +00:00
Gianluca Zuccarelli
e7bf1d3540 cockpit: page section wrapper for entrypoint
Wrap the AppCockpit entrypoint in `Page` & `PageSection` wrappers so
that it is more consistent with other cockpit elements.
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