Commit graph

2096 commits

Author SHA1 Message Date
regexowl
da16a42128 Migrate from Jest to Vitest
This migrates our tests from using the Jest testing framework to Vitest.
2024-07-16 16:55:31 +02:00
regexowl
ac60043199 Wizard: Fix repositories recommendations
Repositories were not getting recommended after https://github.com/osbuild/image-builder-frontend/pull/2226 got merged. This fixes the problem.
2024-07-16 15:31:53 +02:00
dependabot[bot]
bafa531d00 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 7.16.0 to 7.16.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/v7.16.1/packages/eslint-plugin)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-16 14:13:54 +02:00
Ondrej Ezr
22c3686e2e Firstboot: Add testid to empty state buttons 2024-07-16 13:15:12 +02:00
Ondrej Ezr
e0ec56c94d Wizard: fix blueprint unique name validation in Edit mode 2024-07-16 12:27:42 +02:00
dependabot[bot]
e003682e23 build(deps-dev): bump @testing-library/dom from 10.3.1 to 10.3.2
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library) from 10.3.1 to 10.3.2.
- [Release notes](https://github.com/testing-library/dom-testing-library/releases)
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/dom-testing-library/compare/v10.3.1...v10.3.2)

---
updated-dependencies:
- dependency-name: "@testing-library/dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-16 11:32:41 +02:00
regexowl
32ec1a6d27 jest: Increase test timeout
This increases default test timeout from 10000 to 20000 and timeout for "image name invalid for more than 100 chars and description for 250" to 50000.

This should eliminate test flakes caused by timing out, later it will be "reverted" when the Vitest migration gets merged.
2024-07-16 10:47:54 +02:00
dependabot[bot]
0fa06822fc build(deps): bump @patternfly/react-core from 5.3.3 to 5.3.4
Bumps [@patternfly/react-core](https://github.com/patternfly/patternfly-react) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@5.3.3...@patternfly/react-core@5.3.4)

---
updated-dependencies:
- dependency-name: "@patternfly/react-core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 13:12:03 +02:00
dependabot[bot]
64fe6642d3 build(deps): bump @patternfly/react-code-editor from 5.3.3 to 5.3.4
Bumps [@patternfly/react-code-editor](https://github.com/patternfly/patternfly-react) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.3.3...@patternfly/react-code-editor@5.3.4)

---
updated-dependencies:
- dependency-name: "@patternfly/react-code-editor"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 08:55:59 +02:00
regexowl
14b5edb83a README: Update and clean up
This updates and cleans up README a bit. There were two API sections that got merged and moved under frontend development. Some typos were also addressed.
2024-07-14 23:01:48 +02:00
regexowl
989671ba95 test: Update tests
A custom repo needs to be selected for the correct mocked response.
2024-07-14 22:13:46 +02:00
regexowl
c89b73687f Wizard: Fix 400 when fetching packages
The request for package search in custom repositories was sent even when no custom repositories were selected, ending in 400. This fixes the problem.
2024-07-14 22:13:46 +02:00
dependabot[bot]
ce94f72066 build(deps-dev): bump sass from 1.77.7 to 1.77.8
Bumps [sass](https://github.com/sass/dart-sass) from 1.77.7 to 1.77.8.
- [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.77.7...1.77.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-12 09:40:23 +02:00
dependabot[bot]
8f2219c338 build(deps-dev): bump @babel/preset-env from 7.24.7 to 7.24.8
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.24.7 to 7.24.8.
- [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.24.8/packages/babel-preset-env)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-12 08:48:00 +02:00
Ondrej Ezr
e8b3814074 Wizard: feature flag to decide environments to be enabled in
Feature flags now support enablement in Preview specifically.
This allows us to use single feature flag for rollout.
2024-07-11 14:33:35 +02:00
dependabot[bot]
da39efcbf7 build(deps): bump @patternfly/react-table from 5.3.3 to 5.3.4
Bumps [@patternfly/react-table](https://github.com/patternfly/patternfly-react) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@5.3.3...@patternfly/react-table@5.3.4)

---
updated-dependencies:
- dependency-name: "@patternfly/react-table"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-11 11:52:24 +02:00
dependabot[bot]
57ef3c09b3 build(deps-dev): bump sass from 1.77.6 to 1.77.7
Bumps [sass](https://github.com/sass/dart-sass) from 1.77.6 to 1.77.7.
- [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.77.6...1.77.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-11 10:47:29 +02:00
Ondrej Ezr
4044b9eba1 Wizard: enable nav items properly in Edit mode 2024-07-11 09:37:36 +02:00
Ondrej Ezr
549ef37ab7 Blueprint: enable import/export in ephemeral
Adds ability to enable a feature flag in Ephemeral environment by default.
2024-07-10 19:48:58 +02:00
dependabot[bot]
0f7d9457c6 build(deps-dev): bump @typescript-eslint/parser from 7.15.0 to 7.16.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.15.0 to 7.16.0.
- [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/v7.16.0/packages/parser)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-09 13:01:37 +02:00
dependabot[bot]
340b146068 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 7.15.0 to 7.16.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/v7.16.0/packages/eslint-plugin)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-09 09:23:17 +02:00
Justin Sherrill
10c9375ee3 V2Wizard: revert add alert on snapshot step 2024-07-08 10:27:21 +02:00
dependabot[bot]
ad73bba30c build(deps-dev): bump @testing-library/dom from 10.3.0 to 10.3.1
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library) from 10.3.0 to 10.3.1.
- [Release notes](https://github.com/testing-library/dom-testing-library/releases)
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/dom-testing-library/compare/v10.3.0...v10.3.1)

---
updated-dependencies:
- dependency-name: "@testing-library/dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 09:19:55 +02:00
Ondrej Ezr
ff2ccc4101 Wizard: set status on step
This implements error status for a step navigation.
It helps user to see on what step there is an validation error and why they can't create the blueprint.
2024-07-05 13:23:58 +02:00
regexowl
fde1cfef10 constants: Update URLs
This updates documentation URLs.
2024-07-04 21:34:15 +02:00
Sanne Raymaekers
f8a8e5c782 src/constants: update docs link
Image builder docs are now hosted under insights only.
2024-07-04 17:07:01 +02:00
mlahane
6a5417d4d6 Update docs with correct URL 2024-07-04 15:47:25 +02:00
Gianluca Zuccarelli
f0d723686e wizard/compliance: re-enable stig profiles
The stig profiles have been fixed downstream, so we can re-enable these.
2024-07-04 12:01:06 +02:00
dependabot[bot]
93dcff268b build(deps-dev): bump @typescript-eslint/parser from 7.14.1 to 7.15.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.14.1 to 7.15.0.
- [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/v7.15.0/packages/parser)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-04 10:25:11 +02:00
dependabot[bot]
b031c507f1 build(deps): bump react-router-dom from 6.24.0 to 6.24.1
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.24.0 to 6.24.1.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.24.1/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-04 09:41:33 +02:00
Michal Gold
f218109fa4 CreateDropdown: change navigation to specific image when creating and building image HMS-4258
this commit change navigation to specific image when creating and building new
image
2024-07-03 15:09:11 +02:00
dependabot[bot]
dd16cba064 build(deps-dev): bump @testing-library/dom from 10.2.0 to 10.3.0
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library) from 10.2.0 to 10.3.0.
- [Release notes](https://github.com/testing-library/dom-testing-library/releases)
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/dom-testing-library/compare/v10.2.0...v10.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-03 11:17:13 +02:00
dependabot[bot]
ae0eb1b288 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 7.14.1 to 7.15.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/v7.15.0/packages/eslint-plugin)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-02 09:30:21 +02:00
dependabot[bot]
18c786859e build(deps): bump @reduxjs/toolkit from 2.2.5 to 2.2.6
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 2.2.5 to 2.2.6.
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases)
- [Commits](https://github.com/reduxjs/redux-toolkit/compare/v2.2.5...v2.2.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-02 08:38:43 +02:00
regexowl
c0508e00ce src: Add betaPath helper function
This replaces all occurences of `isBeta() ? CONTENT_BETA : CONTENT_STABLE` with `betaPath(CONTENT_URL, isBeta())`.
2024-07-01 13:54:15 +02:00
regexowl
b198768ca6 src: Move content urls to const
This moves both preview and stable links to content to the `constants.ts` file.
2024-07-01 13:54:15 +02:00
dependabot[bot]
c6919e3753 build(deps): bump @unleash/proxy-client-react from 4.2.4 to 4.3.0
Bumps [@unleash/proxy-client-react](https://github.com/Unleash/unleash-proxy-react) from 4.2.4 to 4.3.0.
- [Release notes](https://github.com/Unleash/unleash-proxy-react/releases)
- [Changelog](https://github.com/Unleash/proxy-client-react/blob/main/Changelog.md)
- [Commits](https://github.com/Unleash/unleash-proxy-react/compare/v4.2.4...v4.3.0)

---
updated-dependencies:
- dependency-name: "@unleash/proxy-client-react"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 10:19:28 +02:00
dependabot[bot]
599d632fd7 build(deps): bump @redhat-cloud-services/frontend-components
Bumps [@redhat-cloud-services/frontend-components](https://github.com/RedHatInsights/frontend-components) from 4.2.11 to 4.2.12.
- [Commits](https://github.com/RedHatInsights/frontend-components/commits)

---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/frontend-components"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 08:56:38 +02:00
Jakub Rusz
9f3cb26e0a Wizard/Review: Rename from Image to blueprint
Where applicable renamed Image details or name to blueprint details or name.
2024-06-28 16:06:06 +02:00
Jakub Rusz
9b82b22d75 Add ouiaIds for import Modal and button
Adding some missing ouiaIds.
2024-06-28 09:49:14 +02:00
regexowl
345c3bbd06 Wizard: Update text for name validation
This updates helper text for blueprint name validation, making the "word characters" more specific.
2024-06-28 09:32:06 +02:00
dependabot[bot]
c0efcc9188 build(deps): bump @redhat-cloud-services/frontend-components-utilities
Bumps [@redhat-cloud-services/frontend-components-utilities](https://github.com/RedHatInsights/frontend-components) from 4.0.11 to 4.0.13.
- [Commits](https://github.com/RedHatInsights/frontend-components/commits)

---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/frontend-components-utilities"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-27 08:45:10 +02:00
dependabot[bot]
fcb73a86ba 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 7.13.1 to 7.14.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/v7.14.1/packages/eslint-plugin)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-26 16:32:51 +02:00
Ondrej Ezr
facb71ceae Wizard: validate uniqueness of Blueprint name 2024-06-26 15:41:48 +02:00
dependabot[bot]
ff0b2509cc build(deps-dev): bump @typescript-eslint/parser from 7.13.1 to 7.14.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.13.1 to 7.14.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/v7.14.1/packages/parser)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-25 11:57:21 +02:00
regexowl
73848c9ed0 Wizard: Add Lightspeed to package recommendations
This adds "Powered by RHEL Lightspeed" text and popover to the recommended packages expandable.
2024-06-25 11:15:07 +02:00
Michal Gold
7138552663 add unit test that check disabling build image button when uncheck all targets 2024-06-25 10:21:03 +02:00
Michal Gold
39b29e303c buildImageButton: add support of building image with mulitple targets <HMS-4066>
this commit add support of building an image with mulitple targets,
when user build an image, he can choose which targets he wants to build.
2024-06-25 10:21:03 +02:00
dependabot[bot]
67ec26bead build(deps-dev): bump @testing-library/dom from 10.1.0 to 10.2.0
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library) from 10.1.0 to 10.2.0.
- [Release notes](https://github.com/testing-library/dom-testing-library/releases)
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/dom-testing-library/compare/v10.1.0...v10.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-25 09:27:20 +02:00
dependabot[bot]
16914f20c9 build(deps): bump react-router-dom from 6.23.1 to 6.24.0
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.23.1 to 6.24.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.24.0/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-25 08:36:21 +02:00