Commit graph

3077 commits

Author SHA1 Message Date
regexowl
70a97acc10 Wizard: Update periods at the end of lines
Removing/adding some periods for the sake of consistency.

I believe the description of the step should end with a period, helped texts and options should not (at least that's the prevailing pattern in the Wizard as of now).
2025-04-17 12:08:09 -05:00
Lucas Garfield
7f585154f2 Wizard/Oscap: Add analytics (HMS-5990)
The Intercom team has some ideas about helping new users determine which
security profile is right for them. Tracking differentiates between
"vanilla" OpenSCAP and Compliance so that any messages from Intercom can
be targeted.
2025-04-17 17:23:33 +02:00
Sanne Raymaekers
cc649ec7a3 test: add test for linting and fixing blueprints 2025-04-17 13:40:10 +02:00
Sanne Raymaekers
ba2346aacf ImagesTable/Toolbar: add alert with blueprint linter errors
Includes a fix button which should resolve the errors automatically.
2025-04-17 13:40:10 +02:00
Sanne Raymaekers
2dde0f2177 api: support linting and fixing of blueprints 2025-04-17 13:40:10 +02:00
Lucas Garfield
e222b13476 ImagesTable/BlueprintsSideBar: Add Segment tracking (HMS-5989)
Needed so the Intercom team can decide whether or not to display an
onboarding video (first time user with no images or blueprints).
2025-04-17 08:58:40 +02:00
Anna Vítová
561e9d164e Wizard: Fix Select's dropdown closing
This fixes a bug - when clicking outside the select dropdown, the
dropdown was not closed.
2025-04-16 16:37:47 +02:00
Katarina Sieklova
d18f25e331 Wizard: add segment tracking 2025-04-16 12:56:03 +02:00
schutzbot
c99157216f Post release version bump
[skip ci]
2025-04-16 08:36:03 +00:00
dependabot[bot]
84ee34cecd build(deps): bump @sentry/webpack-plugin from 3.2.2 to 3.3.1
Bumps [@sentry/webpack-plugin](https://github.com/getsentry/sentry-javascript-bundler-plugins) from 3.2.2 to 3.3.1.
- [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.2.2...3.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-16 08:51:20 +02:00
Sanne Raymaekers
7bceac6a36 .github: new stage user on each playwright run 2025-04-15 14:41:26 +02:00
Tom Koscielniak
7a839d0d3c playwright: Bump Playwright to 1.51.1
Bump Playwright to a newer version so we can use step.skip feature
2025-04-15 14:14:40 +02:00
Tom Koscielniak
0bddb80e94 tests/playwright: Add Hostname customization test
Adds a Hostname customization test that creates a BP, edits BP, exports and imports it back and verifies the BP content.
This test also servers as a template for other customization tests. Includes a refactor of existing helper functions.
2025-04-15 14:14:40 +02:00
Tom Koscielniak
91ceaca760 playwright: Add parallelization
Add parallelization with 4 workers.
2025-04-15 14:14:40 +02:00
Tom Koscielniak
34fdd8f0ea playwright: Increase timeouts
Increase playwright timeout both globally and for individual actions to reduce test flakiness
2025-04-15 14:14:40 +02:00
Ondřej Budai
a50b6bdfae Wizard: fix a rerender loop in AzureResourceGroups
resourceGroup is used in useEffect, so if assigned a new array to it
every time this function is called, it would cause the useEffect to run
every time, leading to an infinite loop. This is because useEffect uses
Object.is to determine if the value has changed, and [] creates a new
array every time. Thus, we use a constant empty array to avoid this
issue.

Alternatively JSON.stringify(resourceGroup), or a deep comparison could
be used as a useEffect dependency, but that feels like just a waste
of resources.
2025-04-15 12:16:07 +02:00
Katarina Sieklova
80327e4972 Wizard: set analytics only on non-prem 2025-04-15 11:42:16 +02:00
Katarina Sieklova
49f2052396 Wizard: add segment tracking to buttons in wizard footer
Added tracking for the "Next", "Back", "Cancel" and "Review and Finish" buttons in the Image wizard footer when creating a blueprint.

Fixes #3087
2025-04-15 11:42:16 +02:00
red-hat-konflux[bot]
0b2de197f5 Update build-tools digest to faea943
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2025-04-15 11:20:17 +02:00
regexowl
a367faab4a Wizard: Update WSL popover
This updates the text and the link in the WSL popover.
2025-04-15 10:08:05 +02:00
dependabot[bot]
20693ec981 build(deps-dev): bump eslint-plugin-react from 7.37.4 to 7.37.5
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.37.4 to 7.37.5.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.37.4...v7.37.5)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-version: 7.37.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-15 09:41:07 +02:00
dependabot[bot]
53d1d9290b 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.29.1 to 8.30.1.
- [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.30.1/packages/eslint-plugin)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-15 09:04:01 +02:00
dependabot[bot]
eb632f05fa build(deps): bump vite from 6.2.5 to 6.2.6
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.5 to 6.2.6.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.6/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.2.6/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 10:09:50 +02:00
dependabot[bot]
0aea1ad14e build(deps): bump @babel/runtime from 7.26.0 to 7.27.0
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.26.0 to 7.27.0.
- [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.0/packages/babel-runtime)

---
updated-dependencies:
- dependency-name: "@babel/runtime"
  dependency-version: 7.27.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 09:47:04 +02:00
dependabot[bot]
db075ac8fd build(deps-dev): bump jsdom from 26.0.0 to 26.1.0
Bumps [jsdom](https://github.com/jsdom/jsdom) from 26.0.0 to 26.1.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/main/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/26.0.0...26.1.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-version: 26.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 09:22:34 +02:00
red-hat-konflux[bot]
c75aa28fbf Update Konflux references
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2025-04-14 08:52:06 +02:00
Anna Vítová
d2c9b77957 Wizard: add tests for satellite registration 2025-04-11 10:18:46 +02:00
Anna Vítová
75792bcc0a Wizard: rm pem validation, add cert warning
Since we support pem, cer, and der, we'd have to validate against each
of these on the frontend. Let's just check that the file is not empty,
and leave this upto users. On top of that, concatenated certificates are
supported, validating that would be too much. This commit also switches
token expiration error into a warning.
2025-04-11 10:18:46 +02:00
Anna Vítová
b6cdfdb102 Wizard: Add Satellite service and update mapper 2025-04-11 10:18:46 +02:00
Anna Vítová
58ec84c61e Wizard: add Satellite registration to review step 2025-04-11 10:18:46 +02:00
Anna Vítová
f34531667a Wizard: add satellite registration, add jwt-decode
The jwt decode dependency helps us to keep track of the token that is
present in the Satellite command. jwt-decode is the most popular
dependency for the job, and very easy to use.
2025-04-11 10:18:46 +02:00
regexowl
ecce7c3b1e Wizard: Fix linting errors 2025-04-11 09:39:50 +02:00
Simon Steinbeiss
fef8685830 Wizard: Promote WSL to prod-stable 2025-04-11 09:39:50 +02:00
Simon Steinbeiss
966e0297c1 Wizard: Add Popover to show WSL is not supported
This Popover will inform users that despite being available in Insights
Image Builder in production, the WSL images for RHEL are not officially
supported by Red Hat.
2025-04-11 09:39:50 +02:00
dependabot[bot]
9c0aa08555 build(deps-dev): bump stylelint from 16.16.0 to 16.18.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.16.0 to 16.18.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.16.0...16.18.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-11 08:35:18 +02:00
Simon Steinbeiss
463bfddae5 ImagesTable: Fix AWS regions indicator (off by one)
The AWS regions indicator that is currently baked into each row
containing an AWS image is currently off by one due to incorrect
parentheses in the code.
This is now fixed, so it displays '(1)' when there is one region (which
is the default, us-east-1) instead of '(0)' which was both wrong and
confusing.
2025-04-10 12:04:56 +02:00
dependabot[bot]
0d11bfff16 build(deps): bump @reduxjs/toolkit from 2.6.0 to 2.6.1
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases)
- [Commits](https://github.com/reduxjs/redux-toolkit/compare/v2.6.0...v2.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-10 10:25:31 +02:00
dependabot[bot]
2baab02013 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.29.0 to 8.29.1.
- [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.29.1/packages/eslint-plugin)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-10 08:45:51 +02:00
dependabot[bot]
f8eb152577 build(deps-dev): bump typescript from 5.8.2 to 5.8.3
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.8.2 to 5.8.3.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.8.2...v5.8.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 5.8.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-09 08:51:41 +02:00
regexowl
ae8c51c68a Wizard: Fix status error 2025-04-08 18:03:49 +02:00
regexowl
ba4b45c4cd Wizard: Removed nav status override
The override for registration step nav status got removed as it allowed user to continue without selected activation key.
2025-04-08 18:03:49 +02:00
regexowl
e9b73c55a4 Wizard: "No results" option should be disabled
This moves the "No results" option outside of options and renders it as a disabled option when `selectOptions.lenght === 0`.
2025-04-08 18:03:49 +02:00
regexowl
f3776bbf1a Wizard: Update useChrome import
This updates the way we import the `useChrome` hook.
2025-04-08 18:03:49 +02:00
regexowl
0431ac98dc Wizard: Switch from deprecated select in ActivationKeys
This replaces a deprecated select in `ActivationKeys` for a non-deprecated one.
2025-04-08 18:03:49 +02:00
regexowl
a34d5895d9 Wizard: Move PopoverActivation and ManageKeysButton
This moves `PopoverActivation` and `ManageKeysButton` outside from `ActivationKeysList` to their own separate components.
2025-04-08 18:03:49 +02:00
red-hat-konflux[bot]
9d55d76ac9 Update Konflux references
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2025-04-07 14:38:51 +02:00
dependabot[bot]
9e3d2de13b build(deps): bump vite from 6.2.4 to 6.2.5
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.4 to 6.2.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.5/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.2.5/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 09:31:28 +02:00
dependabot[bot]
67bd5646c0 build(deps-dev): bump @currents/playwright from 1.11.4 to 1.12.0
Bumps [@currents/playwright](https://github.com/currents-dev/currents-playwright-changelog) from 1.11.4 to 1.12.0.
- [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.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 09:03:20 +02:00
regexowl
2b8fbad7da devDeps: Bump vitest deps
This bumps `vitest` and `@vitest/coverage-v8` from 3.0.9 to 3.1.1 (need to be bumped in tandem).
2025-04-04 08:39:30 -05:00
Amir
46216ead04 fedora-services: add tests 2025-04-03 11:50:51 +02:00