Commit graph

3184 commits

Author SHA1 Message Date
regexowl
24fdc1147f Wizard: Update AWS sources filtering
Same issue as in #3220. The list of sources did refetch, but did not re-render.
2025-05-14 10:08:38 +02:00
regexowl
419c76fda6 Wizard: Fix password visibility toggle 2025-05-14 09:43:10 +02:00
regexowl
18ab2ddb2e Wizard: Fix password placeholder
User password gets redacted from a blueprint, meaning if there was any password set, it does not render on import.

Previously a placeholder was rendered as a value of password, making the value not editable. This renders the password indication as a placeholder text, solving the issue.
2025-05-14 09:43:10 +02:00
dependabot[bot]
c9a13aede8 build(deps-dev): bump @typescript-eslint/parser from 8.29.0 to 8.32.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.29.0 to 8.32.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.32.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-version: 8.32.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-14 09:17:29 +02:00
red-hat-konflux[bot]
83f49ef829 chore(deps): update build-tools digest to 28b7b8f
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2025-05-14 08:22:43 +02:00
dependabot[bot]
fbd4c2501e build(deps-dev): bump @babel/preset-react from 7.26.3 to 7.27.1
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.26.3 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-react)

---
updated-dependencies:
- dependency-name: "@babel/preset-react"
  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-13 08:15:26 +02:00
regexowl
4512c0b95f Wizard: Fix activation keys list refresh
We've been refetching the data, but not re-rendering the list. This should fix the issue.
2025-05-12 17:21:58 +02:00
konflux
e500efc56b Konflux build pipeline service account migration for image-builder-frontend
Signed-off-by: konflux <konflux@no-reply.konflux-ci.dev>
2025-05-12 10:43:45 +02:00
dependabot[bot]
6d2b782084 build(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 8.30.1 to 8.32.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.32.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-version: 8.32.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-12 10:14:11 +02:00
dependabot[bot]
cc88484f11 build(deps-dev): bump @currents/playwright from 1.12.3 to 1.12.4
Bumps [@currents/playwright](https://github.com/currents-dev/currents-playwright-changelog) from 1.12.3 to 1.12.4.
- [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.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-12 09:40:08 +02:00
red-hat-konflux[bot]
e221aaad66 Update Konflux references
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2025-05-12 09:00:10 +02:00
Anna Vítová
11792edd57 Wizard: fix Satellite registration cmd not found
This was a bug that was looking for incorrect path in files. We do not
want to treat cmd as a secret, we decided to expose it, so this was just
an inconvenience.
2025-05-10 00:01:22 +02:00
Anna Vítová
fad33a32c8 Wizard: fix imported repositories not preselected
This fixes a bug that was caused by using incorrect ids of imported
custom repositories. Due to that bug, only in some cases the
repositories were correctly preselected.
2025-05-09 16:29:32 +02:00
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