Commit graph

3248 commits

Author SHA1 Message Date
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
Katarina Sieklova
97db8c0a12 Wizard: edit naming of analytics traces for consistency 2025-04-29 17:13:20 +02:00
red-hat-konflux[bot]
9de73cb87c chore(deps): update build-tools digest to 8bc71a1
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2025-04-29 16:00:29 +02:00
regexowl
75288a5ef8 src: Remove unused unleash flags
This removes unused flags from the code base:
- image-builder.hostname.enabled
- image-builder.kernel.enabled
- image-builder.firewall.enabled
- image-builder.services.enabled
2025-04-29 14:14:21 +02:00
Anna Vítová
71e1842aa4 tests/playwright: Add Locale customization test
Adds a Locale customization test that creates a BP, edits BP, exports and imports it back and verifies the BP content.
2025-04-29 13:47:17 +02:00
regexowl
ff2cc68d75 playwright: Increase timeout for expect
This increases timeout for `expect` from 30s to 50s.
2025-04-29 13:25:16 +02:00
dependabot[bot]
e0e449917f build(deps-dev): bump @vitejs/plugin-react from 4.3.4 to 4.4.1
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 4.3.4 to 4.4.1.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@4.4.1/packages/plugin-react)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 4.4.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-29 09:12:37 +02:00
red-hat-konflux[bot]
847736be32 chore(deps): update build-tools digest to 1f51670
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2025-04-29 08:48:40 +02:00
regexowl
42747a7eeb src: Remove firstboot flag
Firstboot also seems to be released fully to both stage and prod. The flag is not needed anymore.
2025-04-28 16:00:44 +02:00
regexowl
f2d11ac3d3 LandingPage: Update alert with new customizations
This adds newly available customizations to the new alert on Landing Page.
2025-04-28 14:20:13 +02:00
regexowl
eb09752e7b devDeps: Bump vitest and @vitest/coverage-v8
This bumps `vitest` and `@vitest/coverage-v8` from 3.1.1 to 3.1.2
2025-04-28 11:38:56 +02:00
red-hat-konflux[bot]
d78b45d231 chore(deps): update konflux references
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2025-04-28 08:43:56 +02:00
regexowl
318d67c3c4 Wizard: Update search input placeholders
The placeholders we tend to use are usually quite specific. "Type to search" felt quite vague for some reason. Also repositories had no placeholder, I believe "filter" is clearer than "search" here as we're not fetching any results, just filtering through the already existing list of repositories.
2025-04-25 13:13:31 +02:00
Simon Steinbeiss
25c41fbe2b test/Blueprints: Account for removed BetaLabel 2025-04-25 12:13:11 +02:00
Simon Steinbeiss
3169301aa1 Components: Remove BetaLabel widget
This widget feels superfluous because we only show it for features that
are available in ConsoleDot's 'Preview' environment.
2025-04-25 12:13:11 +02:00
regexowl
e6b030ea4c src: Remove ouia-ids
Since we're moving away from IQE the `ouia-id` atributes should be no longer needed. This removes them from the entire code base.
2025-04-25 11:32:43 +02:00
Simon Steinbeiss
357dd3a910 playwright: Adjust Package step test to new widget
Since the new SearchInput widget gets decomposed by PatternFly into a
<div> and the actual <input> element we're looking for is nested rather
deeply in this hierarchy, we need to use the locator to allow Playwright
to descend into that input.
2025-04-25 11:06:49 +02:00
Simon Steinbeiss
c7dd274298 Wizard: Use SearchInput component for packages
As a small simplification and also to make the UX more consistent, let's
use a SearchInput widget over the custom InputGroup structure.
The only aspect lost in the process is the `validation` property that
doesn't exist in the SearchInput widget. It however only affects the CSS
styling of the searchbox and renders the 'error' state when there's only
a single character in the box. This may not even be desirable, given
that it's not really an error and that we show a note right below the
input box about this anyway.

This means the search boxes will also be consistent between the
repository and package search pages.
Fixes #3133
2025-04-25 11:06:49 +02:00
Bryttanie House
0238c04dfe Wizard: add support for content templates 2025-04-25 10:31:43 +02:00
dependabot[bot]
aa545382e8 build(deps-dev): bump @currents/playwright from 1.12.0 to 1.12.1
Bumps [@currents/playwright](https://github.com/currents-dev/currents-playwright-changelog) from 1.12.0 to 1.12.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.12.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-25 09:20:01 +02:00
dependabot[bot]
faf800bd02 build(deps-dev): bump @types/node from 22.13.14 to 22.15.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.13.14 to 22.15.1.
- [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: 22.15.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-25 08:47:10 +02:00
Simon Steinbeiss
a1c32f90bb Wizard: Fix 'too short' state in Packages step
Currently, when a search term is entered and then reduced to a single
character in the Wizard's packages step, the previous results are still
shown.
What is expected is that the empty state hinting at the search term
being too short would be shown.

The condition in bodyContent was wrong, because it assumed that the list
of results would be 0 when in fact it wasn't being cleared.

Fixes #3139
2025-04-24 15:53:02 +02:00
regexowl
3e2e57d545 test: Remove WSL flag from unleash test mock
The WSL flag was removed from the codebase, this removes it from the test mock as well.
2025-04-24 00:42:15 +02:00
regexowl
83e57baa0b src: Remove pkgRecs flag
Package recommendations are fully deployed to both stage and production. We can remove the flag from the codebase.
2025-04-23 15:23:52 +02:00