Commit graph

3171 commits

Author SHA1 Message Date
Katarina Sieklova
774714cb99 Wizard: add Firewall test 2025-05-09 13:17:11 +02:00
regexowl
aedbbdc53a src: Remove unused data-testids
This removes unused `data-testid`s from the code base.
2025-05-09 10:14:54 +02:00
dependabot[bot]
2ec85661c4 build(deps): bump @reduxjs/toolkit from 2.7.0 to 2.8.1
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 2.7.0 to 2.8.1.
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases)
- [Commits](https://github.com/reduxjs/redux-toolkit/compare/v2.7.0...v2.8.1)

---
updated-dependencies:
- dependency-name: "@reduxjs/toolkit"
  dependency-version: 2.8.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-09 08:42:24 +02:00
dependabot[bot]
a1700a388b build(deps): bump @sentry/webpack-plugin from 3.3.1 to 3.4.0
Bumps [@sentry/webpack-plugin](https://github.com/getsentry/sentry-javascript-bundler-plugins) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/getsentry/sentry-javascript-bundler-plugins/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/main/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript-bundler-plugins/compare/3.3.1...3.4.0)

---
updated-dependencies:
- dependency-name: "@sentry/webpack-plugin"
  dependency-version: 3.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-08 08:52:34 +02:00
regexowl
5f9601586e ImagesTable: Add tracking to image downloads
This adds `imageBuilder - Image Downloaded` tracking event to track target, blueprint id and blueprint version for downloaded images.
2025-05-07 09:31:51 -05:00
Gianluca Zuccarelli
df495748e9 playwright: check admin access for on-prem
Add a check to the playwright tests to ensure that the user sees the
'Access is limited.' error message if the logged in user doesn't have
the required privileges.
2025-05-07 11:03:18 +02:00
Gianluca Zuccarelli
2847e7c17b Cockpit: user privileges empty state
Add an empty state component for when the user does not have the correct
permissions to run the frontend on-prem.
2025-05-07 11:03:18 +02:00
Gianluca Zuccarelli
49b2196c7b test/mocks/cockpit: add permission function
Add the types relevant types for the `cockpit.permission` function so
that we can establish whether the user has the correct privileges to run
the frontend on-prem.
2025-05-07 11:03:18 +02:00
dependabot[bot]
96eb0fe767 build(deps-dev): bump @redhat-cloud-services/tsc-transform-imports
Bumps @redhat-cloud-services/tsc-transform-imports from 1.0.23 to 1.0.24.

---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/tsc-transform-imports"
  dependency-version: 1.0.24
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-07 09:20:48 +02:00
dependabot[bot]
5f41217eab build(deps-dev): bump @currents/playwright from 1.12.1 to 1.12.3
Bumps [@currents/playwright](https://github.com/currents-dev/currents-playwright-changelog) from 1.12.1 to 1.12.3.
- [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.12.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-07 08:37:18 +02:00
regexowl
9ac104ca3e test: Update tests to reflect sorting changes
This updates the tests to reflect sorting changes.
2025-05-06 18:35:06 -05:00
regexowl
847073d939 Wizard: Update sorting to reflect currently selected stream
This updates the sort logic to reflect currently selected application stream. For example if `nodejs` with application stream 22 gets selected, results for other modules with the same application stream should be prioritized before the rest of results.
2025-05-06 18:35:06 -05:00
regexowl
dd672c5c67 Wizard: Fix colspan for package table states
This updates the `colspan` so the package table states span the entire width of the table.
2025-05-06 18:35:06 -05:00
regexowl
fb59ef4d27 Wizard: Group modules by name, but sort by stream
This ensures that rendered modules are grouped by name, but the order of their module stream versions is desceding.
2025-05-06 18:35:06 -05:00
regexowl
705612049c Wizard: Add tracking for revisit of Packages step in Edit
This tracks if user clicked on "Additional packages" navigation item when opening the blueprint in Edit mode.
2025-05-06 16:47:21 +02:00
regexowl
7680f1ea72 Wizard: Address comments 2025-05-06 08:58:07 -05:00
regexowl
9d8d6d1d99 test: Update tests 2025-05-06 08:58:07 -05:00
regexowl
c851fa9b8a Wizard: Implement packages table sorting
This implements basic sorting for the following columns of packages table:
- name
- application stream
- retirement date
2025-05-06 08:58:07 -05:00
Katarina Sieklova
ee8698fe30 Wizard: make policy selector wider in Compliance step 2025-05-06 15:07:19 +02:00
red-hat-konflux[bot]
dad8baad78 Update build-tools digest to f28db1b
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2025-05-06 11:51:42 +02:00
Anna Vítová
5e4f94ccbe ImagesTable: remove else after return 2025-05-06 11:10:19 +02:00
Gianluca Zuccarelli
1715d395c2 package.json: replace toml package
We need to be able to stringify objects into a toml format for on-prem.
This is needed to save the worker config, unfortunately the current toml
package only parses toml and can't stringify back to toml.
2025-05-06 10:31:54 +02:00
Katarina Sieklova
cfa437a34b Wizard: edit compliance according to updated mockups
Changes the compliance step based on most recent mockups
2025-05-06 10:06:52 +02:00
dependabot[bot]
ad6b38a115 build(deps-dev): bump @testing-library/react from 16.2.0 to 16.3.0
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 16.2.0 to 16.3.0.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v16.2.0...v16.3.0)

---
updated-dependencies:
- dependency-name: "@testing-library/react"
  dependency-version: 16.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-06 09:43:43 +02:00
dependabot[bot]
0a423b6246 build(deps-dev): bump @babel/preset-env from 7.26.9 to 7.27.1
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.26.9 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-env)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-06 09:16:52 +02:00
red-hat-konflux[bot]
27d3b64222 Update Konflux references
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2025-05-06 08:52:33 +02:00
regexowl
050a0d5458 analytics: Update name of a tracking event
This updates the name of `- Button Clicked` tracking event to more descriptive `- Copy UUID`.
2025-05-02 13:19:41 -05:00
regexowl
13e59dff13 Wizard: Fix users bug - 'wheel' group removal
If 'wheel' group was removed the Administrator checkbox stayed check. This unchecks it.
2025-05-02 12:56:20 -05:00
Tom Koscielniak
bd09a7faf3 playwright: Provision large AWS CB instance
By using a "large" AWS instance we should be able to use parallelization in Playwright without maxing out resources and having flakes in tests.
2025-05-02 14:52:13 +02:00
dependabot[bot]
f40ea15eec build(deps): bump @reduxjs/toolkit from 2.6.1 to 2.7.0
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 2.6.1 to 2.7.0.
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases)
- [Commits](https://github.com/reduxjs/redux-toolkit/compare/v2.6.1...v2.7.0)

---
updated-dependencies:
- dependency-name: "@reduxjs/toolkit"
  dependency-version: 2.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-02 08:38:03 +02:00
regexowl
b37eb71f79 Wizard: Add retirement date column
This adds retirement date column to the Packages table and populates it with `end_date` from content-services searchRPMs endpoint.
2025-05-01 14:02:05 +02:00
regexowl
ba68556388 API: Update content-services API schema
This updates content-services API schema so it includes end_date for modules.
2025-05-01 14:02:05 +02:00
dependabot[bot]
fe8a96b174 build(deps): bump vite from 6.2.6 to 6.3.4
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.6 to 6.3.4.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.3.4/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.3.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-01 08:43:25 +02:00
regexowl
0061d291c7 Wizard: Add comments 2025-04-30 17:01:36 +02:00
regexowl
5f82811299 Wizard: Remove "Red Hat" repository icon
This removes the icon from "Red Hat" repositories.
2025-04-30 17:01:36 +02:00
regexowl
635636a202 Wizard: Add tooltip for disabled packages
This adds tooltip to the disabled packages checkboxes in the same way as the hover text is added on the Repositories step.
2025-04-30 17:01:36 +02:00
regexowl
2fcfceafeb test: Add new tests for modularity
This adds some create mode tests for modularity, two "generated request" tests and updates edit test.
2025-04-30 17:01:36 +02:00
regexowl
b2d63b3b16 Wizard: Handle expand based on complete pkg info
Expanding rows can no longer be handled based on name only as different application streams share a name of a package.
2025-04-30 17:01:36 +02:00
regexowl
524fd40673 Wizard: Spread modules into row and handle adding/removing from the store
This adds `enabled_modules` to the store schema and handles adding/removing modules to both list of packages and list of enabled_modules.
2025-04-30 17:01:36 +02:00
regexowl
2055f3b393 Wizard: Add application stream column
This adds application stream column to the packages table and populates it with `pkg.package_sources.stream` value or 'N/A' if the result is a single package or a group.
2025-04-30 17:01:36 +02:00
regexowl
ee8fe53aab devDeps: Manually bump msw
This bumps msw from 2.7.3 to 2.7.5, the manual bump is needed, because dependabot doesn't want to touch `mockServiceWorker.js`. But the file gets updated when running `npm i`.
2025-04-30 15:13:15 +02:00
Anna Vítová
6209a87aa8 tests/playwright: Add Timezone customization test
Adds a Timezone customization test that creates a BP, edits BP, exports and imports it back and verifies the BP content.
2025-04-30 12:35:27 +02:00
regexowl
9962c60099 playwright: Decrease number of workers
This lowers the number of workers from 4 to 2.
2025-04-30 12:01:15 +02:00
Sanne Raymaekers
87c754fb45 test: add tests for tailored customizations 2025-04-30 11:38:12 +02:00
Sanne Raymaekers
b203658bac Wizard: handle partition customizations properly
If there are no partitions defined in the policy or profile, leave
partitioning on automatic.
2025-04-30 11:38:12 +02:00
Sanne Raymaekers
40c9abfe9b Wizard: get rid of unneeded selected state in compliance step
Similar to the profile selector, just use the wizard store directly.
2025-04-30 11:38:12 +02:00
Sanne Raymaekers
3d545ed8ae Wizard: support tailored customizations
This splits the policy and profile selectors as they're drifting apart.

Instead of querying the customizations attached to the profile, query
the customizations attached to the policy, as these take into account
tailoring. As a result unnecessary customizations won't be added.
2025-04-30 11:38:12 +02:00
Sanne Raymaekers
a69a09fa4f api: update image-builder-crc api
Includes fetching tailored customizations for compliance policies.
2025-04-30 11:38:12 +02:00
schutzbot
ae40150996 Post release version bump
[skip ci]
2025-04-30 08:35:06 +00:00
dependabot[bot]
e0cffe9871 build(deps-dev): bump sass from 1.86.0 to 1.87.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.86.0 to 1.87.0.
- [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.86.0...1.87.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-30 08:48:47 +02:00