lucasgarfield
a1bdcaa54f
V2 Wizard: Fix OpenSCAP step
...
OpenSCAP profile info is now correctly loaded into the state and
verified to be in the final request with tests.
I modified the fixtures for the OpenSCAP profiles. My changes ensure we
have a Venn-diagram like overlap when changing from one profile to
another where one package is the same, one package is removed, and one
package is added. The same is true for the services and partitions. For
kernel args it is not so important as that is just a string (as opposed
to an array), so it is enough to be different.
I was able to eliminate a useEffect by replacing it with a lazy query
trigger function. Setting the second arg `preferCacheValue` to `true`
means that a request is only made if cached data is not available.
I modified the Redux reducers a bit to add some additional safety.
`changeFileSystemPartitionMode` is now responsible for initializing the
partitions field in the state by adding the root partition – previously
this was done in the components themselves by dispatching
`addPartition`. This reducer can always be safely dispatched – if the
mode is ‘manual’, dispatching it with a payload of ‘manual’ will not
result in any changes to the state.
`addPackage` is also safer now. When a package is added, the list of
packages is checked. If there is a package with an identical name, the
new package overwrites the previous package. This is useful because the
description may be different for the same package – for instance, when
adding an OpenSCAP package, we use a custom description (‘this package
required by OpenSCAP’).
2024-04-23 10:02:03 +02:00
dependabot[bot]
f9fcbf8cdf
build(deps-dev): bump eslint-plugin-jest-dom from 5.2.0 to 5.4.0
...
Bumps [eslint-plugin-jest-dom](https://github.com/testing-library/eslint-plugin-jest-dom ) from 5.2.0 to 5.4.0.
- [Release notes](https://github.com/testing-library/eslint-plugin-jest-dom/releases )
- [Commits](https://github.com/testing-library/eslint-plugin-jest-dom/compare/v5.2.0...v5.4.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest-dom
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-23 09:21:17 +02:00
regexowl
af5d99324d
V2Wizard: Update wording on repo removal modal in Edit mode
...
This updates wording on a repo removal modal in Edit mode as per UX feedback.
2024-04-22 13:43:06 +02:00
regexowl
9f04b4f5e4
V2Wizard: Update save button
...
This removes the second "Save" from a save button on Review step.
2024-04-22 13:37:40 +02:00
dependabot[bot]
9fa5369d41
build(deps): bump @redhat-cloud-services/frontend-components
...
Bumps [@redhat-cloud-services/frontend-components](https://github.com/RedHatInsights/frontend-components ) from 4.2.5 to 4.2.7.
- [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-04-22 09:16:33 +02:00
dependabot[bot]
922a7c5a1d
build(deps): bump react-redux from 9.1.0 to 9.1.1
...
Bumps [react-redux](https://github.com/reduxjs/react-redux ) from 9.1.0 to 9.1.1.
- [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/v9.1.0...v9.1.1 )
---
updated-dependencies:
- dependency-name: react-redux
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 09:10:50 +02:00
regexowl
13c21d0eff
V2Wizard: Update repo removal alert and modal
...
This updates alert and modal based on UX feedback.
2024-04-19 16:26:27 +02:00
regexowl
250f84ae9d
V2Wizard: Add alert when removing repos in Edit mode
...
When in Edit mode an alert is displayed on the Repository step warning users, that removing repository and leaving packages from it added is not recommended.
A modal pops up when deselecting a repository to make user aware they may be breaking their blueprint.
2024-04-19 14:37:25 +02:00
regexowl
bd2860890a
V2Wizard: Add wizardMode to the state
...
This adds a new field called `wizardMode` to the state. This field can have two possible values: `create` and `edit` and it indicates whether the Wizard was opened in Create or Edit mode.
2024-04-19 14:37:25 +02:00
regexowl
2fa2c0efa6
V2Wizard: Add recommended repositories to compose request
...
This adds recommended repositories to the custom and payload repositories in the compose request.
2024-04-19 14:06:43 +02:00
dependabot[bot]
5f6f6f42ed
build(deps): bump @patternfly/react-core from 5.2.3 to 5.3.0
...
Bumps [@patternfly/react-core](https://github.com/patternfly/patternfly-react ) from 5.2.3 to 5.3.0.
- [Release notes](https://github.com/patternfly/patternfly-react/releases )
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@5.2.3...@patternfly/react-core@5.3.0 )
---
updated-dependencies:
- dependency-name: "@patternfly/react-core"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-19 08:41:31 +02:00
dependabot[bot]
b3696d6cdd
build(deps): bump @patternfly/patternfly from 5.2.1 to 5.3.0
...
Bumps [@patternfly/patternfly](https://github.com/patternfly/patternfly ) from 5.2.1 to 5.3.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/patch-v5.2.1...v5.3.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-04-19 07:59:11 +02:00
Amir
bac8e1e57f
V2Wizard: add GCP target full test coverage
2024-04-18 18:51:40 +02:00
regexowl
c56a011443
V2Wizard: Select a repository when added from recommendations
...
This selects a repository on the Custom repositories step when it's added on the Packages step from the recommendations.
The check box is also disabled as removing the repository would have to trigger removal of the added packages as well.
And expandable with explanation about the disabled check box was added.
2024-04-18 18:04:48 +02:00
regexowl
305d4d9768
ImagesTable: Update column headers
...
This updates the name of column headers as per recent mocks.
2024-04-18 17:54:37 +02:00
Ondrej Ezr
709ae39d23
WizardV2: Validate steps through redux state
...
Store validation status in redux state.
This is bit complex on the redux side, but pretty simple on the components.
It allows for reuse of the validation state instead of revalidating wherever needed.
2024-04-18 10:01:06 +02:00
dependabot[bot]
be5311e66a
build(deps-dev): bump sass-loader from 14.2.0 to 14.2.1
...
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader ) from 14.2.0 to 14.2.1.
- [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.2.0...v14.2.1 )
---
updated-dependencies:
- dependency-name: sass-loader
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-18 08:50:24 +02:00
regexowl
a7962258e8
LandingPage: Remove "New" label from Immutable tab
...
This removes "New" label from the Immutable tab.
2024-04-17 18:38:48 +02:00
regexowl
dbeee5d066
V2Wizard: Differentiate between Create and Edit mode on Review step
...
This renames actions on the primary button on Review step for the Create mode so it's clear whether you're creating a blueprint from a scratch or saving changes to an already existing blueprint.
2024-04-17 18:46:49 +03:00
Ondrej Ezr
04131c4823
Blueprints: selected Blueprint Empty state action
...
Add action in the Images Table empty state when Blueprint is selected.
Change the icon to plus as it better underlines the action needed to remedy.
2024-04-17 16:03:05 +02:00
dependabot[bot]
8e9f00da20
build(deps-dev): bump sass from 1.74.1 to 1.75.0
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.74.1 to 1.75.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.74.1...1.75.0 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-17 08:41:27 +02:00
dependabot[bot]
acfc9dae5e
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.6.0 to 7.7.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.7.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-04-17 08:35:00 +02:00
Ondrej Ezr
1b4bb9869e
WizardV2: use the alert color darker
2024-04-16 20:56:32 +03:00
regexowl
df924ec097
Blueprints: Update Import modal padding
...
The `<ActionGroup>` should be a child of `<Form>`, moving it improves the padding on the Import modal.
2024-04-16 19:25:27 +03:00
regexowl
7115b43c3d
Blueprints: Surface "Edit blueprint" button
...
This surfaces "Edit blueprint" button to the ImageTableToolbar and removes it from the blueprints actions menu as per recent mocks.
2024-04-16 18:31:05 +03:00
regexowl
033301c7b2
Blueprints: Remove icon from "Create blueprint" button
...
This removes the plus icon from the "Create blueprint" button as per recent review.
2024-04-16 18:24:47 +03:00
Jakub Rusz
68bfa8c351
V2Wizard: Add ouiaId for FileSystemTable
...
Need this to distinguish it from the table in V1.
2024-04-16 18:06:05 +03:00
regexowl
8a7d15e54d
V2Wizard: Update Registration copy
...
Noticed there's been a small change in the copy of Registration steps as per Blueprints SPUR. This updates the text.
2024-04-16 11:59:31 +02:00
lucasgarfield
782a8eba7e
V2 Wizard: Add custom file system to request customizations (HMS-3690)
...
The blueprint request now contains a field for the filesystem in its
customizations.
2024-04-16 10:02:19 +02:00
dependabot[bot]
8e443e4cbf
build(deps-dev): bump @types/react from 18.2.75 to 18.2.79
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 18.2.75 to 18.2.79.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-16 08:46:18 +02:00
dependabot[bot]
4dd13abbb6
build(deps-dev): bump @types/react-dom from 18.2.24 to 18.2.25
...
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom ) from 18.2.24 to 18.2.25.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom )
---
updated-dependencies:
- dependency-name: "@types/react-dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-16 08:37:24 +02:00
Jakub Rusz
eb82a6b72b
V2Wizard: Add ouiaId to ValidatedTextInput
2024-04-15 19:16:21 +02:00
Jakub Rusz
fc9a119933
V2Wizard: Update ouiaIds for File system configuration
...
Making it consistent with V1 wizard.
2024-04-15 18:21:32 +02:00
dependabot[bot]
fe219e66d6
build(deps-dev): bump webpack-bundle-analyzer from 4.10.1 to 4.10.2
...
Bumps [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer ) from 4.10.1 to 4.10.2.
- [Release notes](https://github.com/webpack-contrib/webpack-bundle-analyzer/releases )
- [Changelog](https://github.com/webpack-contrib/webpack-bundle-analyzer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/webpack-bundle-analyzer/compare/v4.10.1...v4.10.2 )
---
updated-dependencies:
- dependency-name: webpack-bundle-analyzer
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-15 08:55:34 +02:00
regexowl
70b7ab7e29
V2Wizard: Update wording on "Custom repo" modal
...
This updates the wording on "Custom repositories will be added to your image" modal, informing the user, that the repository will get enabled in Content as well, if it wasn't enabled before.
2024-04-12 12:45:36 +02:00
regexowl
16ab5b37c5
V2Wizard: Add recommended repo to the repo table on Review
...
This adds the recommended repository to the table of repositories on the Review step.
2024-04-12 12:45:36 +02:00
regexowl
b7f6393be9
V2Wizard: Allow enabling repos and update state logic
...
This commit contains two changes:
1. When a package from popular repository gets added, the EPEL repository gets enabled in content services in case it wasn't before.
2. The logic of rendering states for the different toggle combinations on Packages step got updated.
2024-04-12 12:45:36 +02:00
regexowl
d890094e09
api: Add createRepository end point to contentSources schema
...
This adds `createRepository` end point to contentSources API schema.
2024-04-12 12:45:36 +02:00
regexowl
97f67e7aab
constants: Add EPEL repo info
...
This adds EPEL 8 and EPEL 9 repository information to constants.
2024-04-12 12:45:36 +02:00
Anna Vítová
669e3c07e3
feat(HMS-3687): Add blueprints exporting
2024-04-12 11:19:26 +02:00
dependabot[bot]
d52358edde
build(deps-dev): bump sass-loader from 14.1.1 to 14.2.0
...
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader ) from 14.1.1 to 14.2.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.1.1...v14.2.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-04-12 08:28:43 +02:00
Anna Vítová
bc82ba0ab1
feat(HMS-3906): Add feature flag for import/export
2024-04-11 13:19:43 +02:00
regexowl
3b843a0d40
V2Wizard: Replace "Adding recommended repo" alert with modal
...
This replaces the previously used Alert displayed when adding a package from repo recommendations with a modal as per mocks.
2024-04-11 13:00:17 +02:00
regexowl
a3e98b3894
V2Wizard: Update rendering packages info on edit
...
This fixes information rendered when a package info is read from the request on Edit.
2024-04-11 11:41:46 +02:00
regexowl
43cb43dac8
V2Wizard: Add tally to the "Selected" toggle
...
This adds a tally of selected packages to the "Selected" toggle.
2024-04-11 11:41:46 +02:00
regexowl
f375fc5c41
V2Wizard: Update links
...
There were incorrect links used for the content service, this fixes them.
2024-04-11 11:41:46 +02:00
regexowl
923c4fc2d5
V2Wizard: Add "Searching" state for packages
...
This adds "Searching" state for packages table when the data is being fetched.
2024-04-11 11:41:46 +02:00
regexowl
a8270fd228
test: Re-enable FSC alert test and clean up
...
This re-enables test of FSC alert and cleans up previously commented lines of the tests.
2024-04-11 11:21:19 +02:00
dependabot[bot]
bfda70ca35
build(deps-dev): bump css-loader from 7.0.0 to 7.1.1
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 7.0.0 to 7.1.1.
- [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/v7.0.0...v7.1.1 )
---
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-04-11 08:44:47 +02:00
Gianluca Zuccarelli
26066f95f7
V1Wizard: promote oscap to prod stable
2024-04-10 16:16:22 +02:00