lucasgarfield
d4c9534ecc
V2Wizard/Details: Add request assertion tests
...
Adds tests to verify requets for images with names and descriptions are
formulated correctly.
Test functions shared/common to multiple steps were extracted to the
test utilities.
2024-02-15 13:10:34 +01:00
lucasgarfield
ef7582a8ff
V2Wizard/Tests: Add new helper function interceptBlueprintRequest
...
The logic for spying on an API request has been extracted into a new
reusable helper function to make writing tests that need to perform
request assertions easier.
2024-02-15 13:10:34 +01:00
Thomas Lavocat
f83fd51468
wizard/oscap: kernel and services customizations
...
This commit ports the work done on 40b1d4de to the V1 wizard.
2024-02-15 11:30:21 +01:00
dependabot[bot]
60842057f8
build(deps-dev): bump @testing-library/jest-dom from 6.3.0 to 6.4.2
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 6.3.0 to 6.4.2.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.3.0...v6.4.2 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-15 09:05:21 +01:00
dependabot[bot]
a23e8b0d0a
build(deps-dev): bump eslint from 8.55.0 to 8.56.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.55.0 to 8.56.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.55.0...v8.56.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-15 08:58:57 +01:00
Simon Steinbeiss
f2eeac67ba
README: Link to osbuild-getting-started
...
Let's save our contributors a hop and not link to the (deprecated)
devel/README.md anymore, which is only a placeholder pointing to
osubild-getting-started. Let's instead direct folks there in the first
place.
2024-02-15 08:36:57 +01:00
lucasgarfield
8c31e6f54f
V2Wizard/Registration: Add request assertion tests
...
We need to start using `undefined` as the default state for when a value
has not been defined. Previously we had used things like `’’` for string
typed values. But this causes problems later when generating the request
we send to image-builder. Using `undefined` is explicit and will make
generating the requests much easier (as we don’t need to check for `’’`,
determine the intent, and convert it to undefined if necessary).
Explicit is better than implicit.
With that in mind, tests have been added to ensure that the correct
request is sent to the API for every option on the Registration step.
This is facilitated using a new `spyOnRequest()` function. In the
future, we will have similar tests for the rest of the steps.
A few other minor things:
1. We need to get the `store` using `useStore()`
for when we later call `store.getState()` because the tests use a different
store that is configured in the renderer than the one we were importing.
2. In the wizardSlice, a new type RegistrationType is added that provides
additional type safety instead of using `string`.
2024-02-14 17:01:52 +01:00
Simon Steinbeiss
841edd195a
README: Add frontend principles
2024-02-14 15:51:39 +01:00
dependabot[bot]
24d2105cac
build(deps-dev): bump css-loader from 6.9.1 to 6.10.0
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 6.9.1 to 6.10.0.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases )
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v6.9.1...v6.10.0 )
---
updated-dependencies:
- dependency-name: css-loader
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-14 10:17:37 +01:00
dependabot[bot]
07fe728463
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 6.20.0 to 6.21.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/v6.21.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-02-14 09:38:23 +01:00
mgold1234
40b1d4de57
v2Wizrd: add kernel and services data
...
this commit adds kernel arguments and enabled/disabled services to Oscap step.
and also add to Review step, add some tests to kernel and services as well.
2024-02-12 17:12:26 +01:00
Amir
74f71f2dca
Blueprints: Add handler for creating new blueprint
2024-02-12 15:12:14 +01:00
regexowl
d26cecdedb
Wizard: Remove aspect ratio for chart
...
This removes the aspect ratio for chart and sets `maintainAspectRatio` to false.
The aspect ratio was causing problems with the annotation plugin, rendering the currentDate annotation line in a wrong place for some windows sizes.
2024-02-09 17:56:34 +01:00
regexowl
948f8ae3ab
Wizard: Fix dates in Release Lifecycle text on the Review step
...
This updates the dates shown in the description text for the Release lifecycle on the Review step.
2024-02-09 15:07:13 +01:00
mgold1234
07cfaf2ccf
feat(HMS-3566) V2Wizrd: fix titles at aws step
2024-02-09 11:47:18 +01:00
dependabot[bot]
2004b921f0
build(deps-dev): bump @testing-library/react from 14.1.2 to 14.2.1
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 14.1.2 to 14.2.1.
- [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/v14.1.2...v14.2.1 )
---
updated-dependencies:
- dependency-name: "@testing-library/react"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-09 11:05:27 +01:00
dependabot[bot]
e9e18a6f1b
build(deps-dev): bump @types/react-redux from 7.1.31 to 7.1.33
...
Bumps [@types/react-redux](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-redux ) from 7.1.31 to 7.1.33.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-redux )
---
updated-dependencies:
- dependency-name: "@types/react-redux"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-09 10:39:34 +01:00
dependabot[bot]
7fd969665d
build(deps): bump react-redux from 8.1.3 to 9.1.0
...
Bumps [react-redux](https://github.com/reduxjs/react-redux ) from 8.1.3 to 9.1.0.
- [Release notes](https://github.com/reduxjs/react-redux/releases )
- [Changelog](https://github.com/reduxjs/react-redux/blob/master/CHANGELOG.md )
- [Commits](https://github.com/reduxjs/react-redux/compare/v8.1.3...v9.1.0 )
---
updated-dependencies:
- dependency-name: react-redux
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-08 11:23:38 +01:00
dependabot[bot]
e978a6c3c2
build(deps-dev): bump @babel/preset-env from 7.23.6 to 7.23.9
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.23.6 to 7.23.9.
- [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.23.9/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-02-08 09:47:49 +01:00
Amir
97a75e0465
feat(HMS-3392): add blueprint's version in image table
2024-02-08 07:35:18 +01:00
Amir
13ca8e868d
feat(HMS-3431): add a blueprint build images
2024-02-07 17:58:13 +01:00
mgold1234
61abf24644
V2Wizard: fix ReleaseLifecycle component in the Review step
...
this commit fix https://github.com/RedHatInsights/image-builder-frontend/issues/1615
add the relevant data to release lifeCycle at review step
2024-02-07 08:40:24 +01:00
mgold1234
c80e933c2c
V2Wizard: Create a folder for Review step and copy review component and enable tests
...
This created a new folder for the Review step and copies components that will be needed:
- ReviewStep.tsx
- ReviewStepTables.tsx
- ReviewStepTextLists.tsx
2024-02-06 14:16:16 +01:00
dependabot[bot]
34feb3fe60
build(deps): bump @patternfly/patternfly from 5.1.0 to 5.2.0
...
Bumps [@patternfly/patternfly](https://github.com/patternfly/patternfly ) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/patternfly/patternfly/releases )
- [Changelog](https://github.com/patternfly/patternfly/blob/main/release.config.js )
- [Commits](https://github.com/patternfly/patternfly/compare/v5.1.0...v5.2.0 )
---
updated-dependencies:
- dependency-name: "@patternfly/patternfly"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 12:31:30 +01:00
dependabot[bot]
dc2a927004
build(deps-dev): bump sass-loader from 14.0.0 to 14.1.0
...
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader ) from 14.0.0 to 14.1.0.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases )
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v14.0.0...v14.1.0 )
---
updated-dependencies:
- dependency-name: sass-loader
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 11:53:22 +01:00
Ondrej Ezr
c447244c8a
Blueprints: add Blueprints filtering
...
Enables Blueprints filtering.
Given this is a server side filtering, it also ads Debounce hook.
This hook enables delay the API request to save server roundtrips.
Refs HMS-3389
2024-02-02 14:52:46 +01:00
dependabot[bot]
7a44b6511b
build(deps-dev): bump eslint-plugin-testing-library from 6.1.0 to 6.2.0
...
Bumps [eslint-plugin-testing-library](https://github.com/testing-library/eslint-plugin-testing-library ) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/testing-library/eslint-plugin-testing-library/releases )
- [Changelog](https://github.com/testing-library/eslint-plugin-testing-library/blob/main/.releaserc.json )
- [Commits](https://github.com/testing-library/eslint-plugin-testing-library/compare/v6.1.0...v6.2.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-testing-library
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-02 12:56:09 +01:00
dependabot[bot]
acf3d8a885
build(deps-dev): bump @testing-library/user-event from 14.5.1 to 14.5.2
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 14.5.1 to 14.5.2.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v14.5.1...v14.5.2 )
---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-02 12:51:46 +01:00
Jakub Rusz
07022953ca
pr_check: remove content-sources from the deployment
2024-02-02 12:44:11 +01:00
Anna Vítová
1be52727c7
feat(HMS-3390): Add delete button in the dropdown menu to delete a blueprint
2024-02-01 10:48:11 +01:00
Anna Vítová
04e02b9426
api: update image builder api via npm run api
2024-02-01 10:48:11 +01:00
Jakub Rusz
22d8eb6634
Fix osbuild pages url
...
It's now lowercase.
2024-01-31 12:11:04 +01:00
dependabot[bot]
0e3b5d9359
build(deps-dev): bump uuid from 9.0.0 to 9.0.1
...
Bumps [uuid](https://github.com/uuidjs/uuid ) from 9.0.0 to 9.0.1.
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/uuidjs/uuid/compare/v9.0.0...v9.0.1 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-31 09:29:56 +01:00
dependabot[bot]
dcb311448c
build(deps-dev): bump @typescript-eslint/parser from 6.19.0 to 6.20.0
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 6.19.0 to 6.20.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/v6.20.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-01-31 08:35:54 +01:00
mgold1234
854d87c2f2
Resolve Controlled Component Error by Initializing with Empty Strings
...
This commit fixes the "A component is changing an uncontrolled input to be controlled" error in React components by ensuring input values are consistently initialized as strings. Previously, values initialized as undefined led to inconsistencies in controlled component behavior. By initializing with empty strings or using value={someValue ?? ''}, we ensure that input components remain controlled throughout their lifecycle, complying with React's expectations for controlled components and enhancing overall component stability.
2024-01-30 10:58:48 +01:00
dependabot[bot]
e3fec33003
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 6.14.0 to 6.20.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/v6.20.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-01-30 10:12:14 +01:00
dependabot[bot]
e305d77a69
build(deps-dev): bump @babel/core from 7.23.7 to 7.23.9
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.23.7 to 7.23.9.
- [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.23.9/packages/babel-core )
---
updated-dependencies:
- dependency-name: "@babel/core"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-30 09:32:44 +01:00
dependabot[bot]
7f2fb3476d
build(deps-dev): bump @babel/plugin-transform-runtime
...
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) from 7.23.6 to 7.23.9.
- [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.23.9/packages/babel-plugin-transform-runtime )
---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-runtime"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 11:08:43 +01:00
Jakub Rusz
d6773fbae1
Update architecture url
2024-01-29 10:20:43 +01:00
dependabot[bot]
0842e521f2
build(deps): bump @reduxjs/toolkit from 2.0.1 to 2.1.0
...
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit ) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases )
- [Commits](https://github.com/reduxjs/redux-toolkit/compare/v2.0.1...v2.1.0 )
---
updated-dependencies:
- dependency-name: "@reduxjs/toolkit"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 08:41:12 +01:00
regexowl
c9e124b8c1
test: Enable tests
...
This enables test for the Repositories step.
2024-01-26 14:04:56 +01:00
regexowl
c2363e3046
test: Add content test suite to V2Wizard
...
This adds disabled CreateImageWizard.content.test.tsx test suite to the V2Wizard.
2024-01-26 14:04:56 +01:00
regexowl
8a178f5b7d
V2Wizard: Add components to the Repositories step skeleton
...
This adds needed components to the Repositories step skeleton.
2024-01-26 14:04:56 +01:00
regexowl
3c441425bb
V2Wizard: Add checkRepositoriesAvailability
...
This adds checkRepositoriesAvailability.ts to a newly created `utilities` folder.
2024-01-26 14:04:56 +01:00
regexowl
7fe7919dfa
V2Wizard: Add Repositories step to the Wizard
...
This adds Content as a step and Repositories as a substep to the Wizard.
2024-01-26 14:04:56 +01:00
regexowl
e854ee390c
V2Wizard: Create a folder for Repositories step
...
This creates a new folder for the Repositories step and copies over all needed files:
- Repositories.tsx
- RepositoriesStatus.tsx
- RepositoryUnavailable.tsx
2024-01-26 14:04:56 +01:00
dependabot[bot]
929955d812
build(deps-dev): bump @babel/eslint-parser from 7.23.3 to 7.23.9
...
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser ) from 7.23.3 to 7.23.9.
- [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.23.9/eslint/babel-eslint-parser )
---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-26 09:49:03 +01:00
dependabot[bot]
16d8a32617
build(deps-dev): bump @testing-library/jest-dom from 6.1.5 to 6.3.0
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 6.1.5 to 6.3.0.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.1.5...v6.3.0 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-26 08:43:40 +01:00
regexowl
7c40ca1b77
test: Enable blueprint description test
...
This enables a description check in the V2Wizard testing suite.
2024-01-25 16:30:32 +01:00
regexowl
27b4e226d0
ESLint: Add no-debugging-utils rule
...
This adds `testing-library/no-debugging-utils` rule to output an error when a debugging statement was left over in the code.
2024-01-25 15:23:57 +01:00