Commit graph

3365 commits

Author SHA1 Message Date
regexowl
ea93498ef2 Remove IQE scripts and configs
Since we're no longer testing via IQE, we can say bye bye to the `pr_check.sh` script and `iqe-trigger-integration.yml`.
2025-07-03 09:06:08 +00:00
Lucas Garfield
5d6c6dc58b BlueprintCard: Make hand cursor appear on hover
This commit fixes an issue where if both isClickable and isSelectable
are passed to a card in Patternfly 6, the hand cursor no longer appears
on hover and it is not obvious the card is clickable.

Co-Author: Gianluca Zuccarelli <gzuccare@redhat.com>
2025-07-03 06:52:30 +00:00
regexowl
bf952c5c7a devDeps: Bump @typescript-eslint
This bumps @typescript-eslint/eslint-plugin and @typescript-eslint/parser from 8.34.1 to 8.35.1, the deps need to be bumped in tandem.
2025-07-02 10:12:41 +00:00
regexowl
6ae8b3e740 Wizard: Hide Kernel step for WSL
This hides Kernel step for WSL targets only and adds an alert with info that the customization will not be added to the WSL images if more targets are selected.
2025-07-02 10:12:01 +00:00
Dominik Vagner
eaead88a78 Fix: package search bug with RH repos in template
This fixes a bug inside of the package search step where packages from
additional (not the 2 default ones) RH repos were not coming up when
searching. This only happens when using a content template as that's
currently the only way to add more RH repos.
2025-07-02 08:28:37 +00:00
dependabot[bot]
8d106499fd build(deps-dev): bump @babel/preset-typescript from 7.27.0 to 7.27.1
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.27.0 to 7.27.1.
- [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.1/packages/babel-preset-typescript)

---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
  dependency-version: 7.27.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-02 07:48:34 +00:00
dependabot[bot]
2c29290212 build(deps-dev): bump @types/node from 24.0.4 to 24.0.10
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.0.4 to 24.0.10.
- [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.10
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-02 07:08:16 +00:00
regexowl
9367bb4b28 Wizard: Remove repository column from packages table
This removes the column with repository information from package table as it could be confusing and misleading.
2025-07-02 06:39:20 +00:00
dependabot[bot]
6a62e71ec8 build(deps-dev): bump sass from 1.88.0 to 1.89.2
Bumps [sass](https://github.com/sass/dart-sass) from 1.88.0 to 1.89.2.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.88.0...1.89.2)

---
updated-dependencies:
- dependency-name: sass
  dependency-version: 1.89.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-01 12:27:24 +00:00
dependabot[bot]
779c50762f build(deps): bump @redhat-cloud-services/frontend-components
Bumps [@redhat-cloud-services/frontend-components](https://github.com/RedHatInsights/frontend-components) from 6.0.4 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-6.0.4...@redhat-cloud-services/frontend-components-6.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-01 11:29:24 +00:00
regexowl
02cafcc29a devDeps: Bump eslint-plugin-testing-library
This bumps eslint-plugin-testing-library from 7.2.2 to 7.5.3 and updates a test to pass linter check.
2025-07-01 10:41:45 +00:00
dependabot[bot]
9350d4ee6b build(deps): bump @redhat-cloud-services/frontend-components-notifications
Bumps [@redhat-cloud-services/frontend-components-notifications](https://github.com/RedHatInsights/frontend-components) from 5.0.4 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-notifications-5.0.4...@redhat-cloud-services/frontend-components-notifications-6.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-01 10:14:30 +00:00
regexowl
1f34e95469 Wizard: Hide FSC step for WSL targets
This hides FSC step when only WSL target is selected.
2025-07-01 09:47:09 +00:00
Gianluca Zuccarelli
e8d46dd716 deps: migrate fec/notifications
The frontend component library decoupled notifications from redux.
Dispatching notifications via the notifications middleware was replaced
by a new `useAddNotifications` hook.

We mostly used the notifications middleware outside of React Components
in our `enhancedImageBuilderApi` store for mutation events. I created a
wrapper around the RTK hooks that uses the `useAddNotification` hook
and created a directory for the new hooks.

In other places, where we were using the notification dispatcher inside
React components, I replaced the call with the new hook.

[1] b1d4973144/packages/notifications/doc/migration.md

bump @redhat-cloud-services/frontend-components-notifications

---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/frontend-components-notifications"
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Co-authored-by: dependabot[bot] <support@github.com>
Assisted-by: cursor ide for generalizing the `useMutationWithNotification`
hook.
2025-07-01 09:17:38 +00:00
dependabot[bot]
77e0f5d6bf build(deps-dev): bump @babel/core from 7.27.4 to 7.27.7
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.27.4 to 7.27.7.
- [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.7/packages/babel-core)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-01 08:42:40 +00:00
regexowl
eafb9ea0f3 Playwright: Update login
The login screen was recently changed, this updates the tests to reflect it.
2025-07-01 07:49:10 +00:00
Michal Gold
852d24e568 PackageRecommendations: Add distribution to package recommendations
- Add required distribution field to RecommendPackageRequest
- Add modelVersion field to RecommendationsResponse
- Update frontend to send RHEL major version to API
- Add analytics tracking for distribution and modelVersion

Enables version-specific package recommendations and model usage tracking.
2025-06-30 12:51:40 +00:00
regexowl
6cefc6c199 Wizard: Render labels for all FSC table columns
This adds column names for the Suffix and Unit columns that were previously not labeled.
2025-06-30 12:41:07 +00:00
Gianluca Zuccarelli
eca4e55c67 workflows: split out dev checks into jobs
Split out the dev checks into multiple jobs, the benefit of this is that it
will be easier to see which check is failing and why.
2025-06-30 09:24:02 +00:00
Gianluca Zuccarelli
9247ea6196 workflows: split out unit tests
Split out the unit tests into their own action. This decouples the unit tests
from the other tests. This means the gitlab schutzbot tests don't have to
wait until the unit tests are completed before they are triggered. This
also a step towards splitting out the tests so it is more obvious to see
which step is failing and why.
2025-06-30 09:24:02 +00:00
Dominik Vagner
e05079330b Wizard: add EPEL 10 support
This adds support for EPEL 10 repository. Changes the way of getting
the correct EPEL version for RHEL distribution to be more future proof.
2025-06-30 08:43:32 +00:00
dependabot[bot]
12024b08c6 build(deps-dev): bump stylelint from 16.18.0 to 16.21.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.18.0 to 16.21.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/16.18.0...16.21.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-version: 16.21.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-30 07:29:27 +00:00
red-hat-konflux[bot]
d7c2202b11 Update Konflux references
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2025-06-30 07:07:29 +00:00
regexowl
fc874422de test: Add templates/:uuid mock handler
This adds a mock handler for the templates/:uuid end point to resolve following warning in the test output:
```
[MSW] Error: intercepted a request without a matching request handler:
  • GET /api/content-sources/v1/templates/c40e221b-93d6-4f7e-a704-f3041b8d75c3
```
2025-06-27 15:27:29 +00:00
regexowl
2894858838 Wizard: Deduplicate ManageRepositoriesButton
This moves the `ManageRepositoriesButton` component to its own file and deduplicates it in the code base.

Tooltip for Upload repositories was also fixed and is now readable again.
2025-06-27 14:28:27 +00:00
Tom Koscielniak
0319c81b41 playwright: Add check to ensure test is authenticated
In order to fix the flakiness in cockpit plugin tests introduced by the single login, the tests need a check if they are authenticated at the start of their execution and relog in case the session expired.
2025-06-27 12:53:37 +00:00
regexowl
0597541af2 Manually revert "Fedora-services: add support for fedora env"
This reverts #2984 as Fedora service frontend is not being currently actively maintained.
2025-06-27 14:15:05 +02:00
regexowl
969497e722 Wizard: Parse locale codes to readable options
This parses options in the Languages dropdown to human readable form like so:
'en_US.UTF-8' -> 'English - United States (en_US.UTF-8)'
2025-06-27 11:45:26 +02:00
regexowl
839559d42c test: Add mock handler for repository_parameters
This adds mock handler for newly used `repository_parameters` end point, ensuring the warning about missing handler is not being printed to test output when runnning `npm run test`.
2025-06-27 11:11:51 +02:00
dependabot[bot]
4ead145e38 build(deps-dev): bump @types/node from 24.0.3 to 24.0.4
---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.0.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-27 10:33:33 +02:00
dependabot[bot]
35485fc163 build(deps-dev): bump @vitejs/plugin-react from 4.4.1 to 4.6.0
---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 4.6.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-27 09:10:17 +02:00
Florian Schüller
2d8da339e7 cockpit/README.md: initial version 2025-06-26 15:46:31 +01:00
schutzbot
f6b1971760 Post release version bump
[skip ci]
2025-06-25 08:39:24 +00:00
regexowl
2f2f40c4b7 devDeps: Bump @typescript-eslint/eslint-plugin and @typescript-eslint/parser
The dependencies need to be bumped in tandem, both went from 8.34.0 to 8.34.1
2025-06-24 15:25:58 +00:00
Katarina Sieklova
2f034dffd8 Wizard: organize steps components into the "components" folders 2025-06-24 14:09:36 +00:00
regexowl
1ea1c2de8c Wizard: Add packages, kernel and services to Oscap step
This adds the information about profile packages, kernel arguments and services to the profile info list.
2025-06-24 12:12:54 +00:00
regexowl
47aace0c5f devDeps: Bump vitest and @vitest/coverage-v8
This bumps vitest and @vitest/coverage-v8 as they need to be updated in tandem. Both versions went from 3.1.2 to 3.2.4
2025-06-24 11:43:23 +00:00
regexowl
c98659fbd7 Wizard: Show release chart on review step for RHEL 9 as well
Follow up to #3338

Since we're showing the release lifecycle for RHEL 9 now we should probably show it also on the Review step.
2025-06-24 11:09:28 +00:00
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