Commit graph

3203 commits

Author SHA1 Message Date
dependabot[bot]
16454294f3 build(deps-dev): bump sass from 1.87.0 to 1.88.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.87.0 to 1.88.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.87.0...1.88.0)

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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-15 09:23:17 +02:00
Lucas Garfield
0154452411 Wizard: Disabled OpenSCAP profile selection for RHEL10 2025-05-14 12:36:43 -05:00
Lucas Garfield
92984f3187 Wizard: Support RHEL10 in URL search parameters 2025-05-14 12:36:43 -05:00
Sanne Raymaekers
23473fd1cd ImagesTable: add missing releases 2025-05-14 12:36:43 -05:00
Sanne Raymaekers
8b7d6ef2a7 api: update image-builder api 2025-05-14 12:36:43 -05:00
Sanne Raymaekers
e0ceb34ea3 src/constants: add centos 10 to releases 2025-05-14 12:36:43 -05:00
Sanne Raymaekers
ef2050a705 src/constants: add rhel 10 to releases 2025-05-14 12:36:43 -05:00
Anna Vítová
46e50a9dca tests: fix Satellite fixtures incorrect paranthesis 2025-05-14 17:07:04 +02:00
Anna Vítová
4c82ae8749 Wizard: make Satellite CA cert optional
Users do not need to fill in the satellite certificate, omitting
parts of code that require it.
2025-05-14 17:07:04 +02:00
Anna Vítová
2ee812efe0 Wizard: refactor Satellite validation
The Satellite token navigation was a bit too overengineered, refactoring
for better readability.
2025-05-14 17:07:04 +02:00
Anna Vítová
d5969a2c9e Wizard: fix activation key required for Satellite
Sometimes, the activation key is required when the Satellite option is
needed. This is caused by missing condition.
2025-05-14 17:07:04 +02:00
Anna Vítová
4192ada532 Wizard: add details for Satellite token expiration
This commit adds a more detailed information about when does the token
used in Satellite command expire.
2025-05-14 17:07:04 +02:00
regexowl
daa6e59bc0 Wizard: Add package streams
If there's a package stream for both packages and modules, this will render it.
2025-05-14 16:15:06 +02:00
regexowl
b548e17098 LandingPage: Add Users to NewAlert
This adds Users to the list of new customization options.
2025-05-14 13:52:18 +02:00
Lucas Garfield
e359e0f47d Wizard: Fix vertical height bug
Recently the wizard has started rendering such that its vertical height
matches the height of its body – and therefore only occupies some
fraction of the page’s vertical space for many steps. The desired
behavior is for its footer to be fixed at the bottom of the viewport.

Specifying the page section type prop as ‘wizard’ resolves the issue.
This is the pattern used in the Patternfly documentation for in-page
wizards. See here:
https://www.patternfly.org/components/wizard/react-demos#in-page

Using CSS to adjust Patternfly component rendering is an antipattern.
More custom CSS means more time spent troubleshooting rendering issues.
Custom CSS related to rendering of the wizard has been removed.

There is still an annoying issue. The body of the wizard is not
scrollable and will overflow. This is counter to the Patternfly
examples. There doesn’t seem to be any CSS in Image Builder that would
cause this to occur. Perhaps the problem is somehow inherited from
Insights Chrome? In any case, this will require further investigation.
2025-05-14 13:26:14 +02:00
regexowl
27da67360c src: Fix user groups validation on import
The error for invalid user groups was not previously rendered on import. This fixes the issue and adds an import test to check that the error messages for all user fields get correctly rendered.
2025-05-14 11:06:13 +02:00
schutzbot
186e29fb19 Post release version bump
[skip ci]
2025-05-14 08:36:20 +00:00
Lukas Zapletal
1a3a0ecc03 Wizard: encode satellite cmd properly 2025-05-14 10:34:11 +02:00
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