Ondrej Ezr
aa0a3f107c
Images: add popover when the image is outdated
...
Add Popover to inform user the image is build for an older then current Blueprint version.
Fixes HMS-3763
2024-03-21 12:14:37 +01:00
Michal Gold
71683a1ad1
fix one warning at useEffect on Oscap file
...
this commit fix a warning-
React Hook useEffect has a missing dependency: 'change'. Either include it or remove the dependency array react-hooks/exhaustive-deps
2024-03-21 12:06:01 +01:00
Gianluca Zuccarelli
d57cd95c65
V1Wizard: masked services -> disabled services
...
For the UX the user doesn't really need to know that the services are masked,
rather than disabled in the backend. We can simplify this and show the masked
services as disabled.
2024-03-21 11:16:50 +01:00
dependabot[bot]
94cbd04ef1
build(deps-dev): bump @babel/core from 7.24.0 to 7.24.3
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.24.0 to 7.24.3.
- [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.3/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-03-21 09:06:25 +01:00
dependabot[bot]
cca52393f9
build(deps-dev): bump @typescript-eslint/parser from 7.2.0 to 7.3.1
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 7.2.0 to 7.3.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.3.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-03-21 09:00:06 +01:00
Ondrej Ezr
1db8fb042b
Experimental: fix the ability to force experimental in developement
2024-03-20 19:36:48 +01:00
lucasgarfield
5dcc3abbd8
V2Wizard: Change search parameter from qcow to qcow2
...
`target=qcow2` is in better alignment with the UI than `target=qcow`
2024-03-20 18:04:44 +01:00
regexowl
a7cc88af44
V2Wizard: Add search parameter for target selection (HMS-3684)
...
Add an optional search parameter to the wizard like so:
`/insights/image-builder/imagewizard?target=iso`
or
`/insights/image-builder/imagewizard?target=qcow`
This results in wizard being opened and iso or qcow target being pre-selected. The Insights assistant chat bot will make use of this feature.
2024-03-20 18:04:44 +01:00
lucasgarfield
7c5a040ad7
V1Wizard: Change qcow search param to qcow2 (HMS-3684)
...
This commit changes the optional search param `target=qcow` to be
`target=qcow2` so it is in alignment with the UI.
2024-03-20 17:29:51 +01:00
regexowl
76fba98773
V1Wizard: Add search parameter for target selection (HMS-3684)
...
Add an optional search parameter to the V1Wizard like so:
`/insights/image-builder/imagewizard?target=iso`
or
`/insights/image-builder/imagewizard?target=qcow`
This results in wizard being opened and iso or qcow target being pre-selected. The Insights assistant chat bot will make use of this feature.
2024-03-20 17:29:51 +01:00
Anna Vítová
2d8b2b2796
fixes(HMS-3778): Show image name only after it is loaded
2024-03-19 14:59:44 +01:00
Gianluca Zuccarelli
0971ebf43c
wizard/oscap: masked services customization
...
Add masked services as a customization option, since disabling systemd
units when the package isn't installed breaks the image build.
2024-03-19 10:59:31 +01:00
Gianluca Zuccarelli
4212337d7e
api: update image builder api
...
Update the api spec to include `masked` services
2024-03-19 10:59:31 +01:00
dependabot[bot]
ddedecc9f1
build(deps): bump @patternfly/react-table from 5.2.0 to 5.2.4
...
Bumps [@patternfly/react-table](https://github.com/patternfly/patternfly-react ) from 5.2.0 to 5.2.4.
- [Release notes](https://github.com/patternfly/patternfly-react/releases )
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@5.2.0...@patternfly/react-table@5.2.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-03-19 09:10:16 +01:00
dependabot[bot]
7734a093d4
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.2.0 to 7.3.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.3.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-03-19 09:03:02 +01:00
dependabot[bot]
c5819eca6d
build(deps-dev): bump @types/react from 18.2.66 to 18.2.67
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 18.2.66 to 18.2.67.
- [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-03-19 08:55:15 +01:00
regexowl
bc8258146a
Blueprints: More specific storage name
...
This makes the name for the Blueprints! feature alert more specific in the localStorage.
2024-03-18 16:24:07 +01:00
regexowl
ea7f7168ab
Blueprints: Make Blueprints! alert dismissible
...
Fixes #1804
This adds a close button to the Blueprints! alert, making it dismissible.
2024-03-18 16:13:23 +01:00
Amir
465527bda0
Fixes #1770 : keep blueprint card selected after editing
2024-03-18 10:21:03 +01:00
Anna Vítová
a3a7ea88c5
feat(HMS-3401): Add blueprints sidebar pagination
2024-03-18 10:06:05 +01:00
dependabot[bot]
7bff1feaf4
build(deps-dev): bump eslint-plugin-react from 7.34.0 to 7.34.1
...
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) from 7.34.0 to 7.34.1.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/v7.34.1/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.0...v7.34.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 08:46:01 +01:00
Simon Steinbeiss
ad25c6bcb7
V2 Wizard: Add search parameter for arch selection
...
Add an optional search parameter to the wizard like so:
/insights/image-builder/imagewizard?arch=aarch64
This results in the wizard being opened and 'aarch64' being pre-selected as the architecture.
The Insights assistant chat bot and our websites (access.redhat.com and
developers.redhat.com) will make use of this feature.
Relates to HMS-3684
2024-03-15 12:22:07 +01:00
regexowl
c0dfe0f218
V2Wizard: Disable changing of root partition
...
This makes the drop down for root partition disabled, preventing the user from creating a configuration without a root partition.
Option to add suffix was also removed for mount points which don't allow suffixes.
2024-03-15 11:35:46 +01:00
dependabot[bot]
63d606ab02
build(deps): bump follow-redirects from 1.15.4 to 1.15.6
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-15 11:30:05 +01:00
dependabot[bot]
91cae2062f
build(deps-dev): bump @types/react from 18.2.64 to 18.2.66
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 18.2.64 to 18.2.66.
- [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-03-15 11:24:46 +01:00
regexowl
03afb4c1df
V2Wizard: Put Save button into div
...
This encloses Save button inside a div to make testing with widgetastic.patternfly library's pattern possible.
2024-03-15 11:17:03 +01:00
Michal Gold
0b6cf44bbc
V2Wizard: change the default of file system table when user choose manual cunfiguration
...
this commit change the default table when user choose manual configuration at file system step
2024-03-15 09:52:49 +01:00
Simon Steinbeiss
9020392969
V1 Wizard: Add search parameter for arch selection
...
Add an optional search parameter to the wizard like so:
/insights/image-builder/imagewizard?arch=aarch64
This results in the wizard being opened and 'aarch64' being pre-selected as the architecture.
The Insights assistant chat bot and our websites (access.redhat.com and
developers.redhat.com) will make use of this feature.
Relates to HMS-3684
2024-03-15 09:08:57 +01:00
dependabot[bot]
b271375ff2
build(deps-dev): bump @types/react-dom from 18.2.21 to 18.2.22
...
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom ) from 18.2.21 to 18.2.22.
- [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-03-15 08:29:43 +01:00
regexowl
a7d320e4a8
ESLint: Fix problems so linter check passes
...
This fixes errors caused by turning `@typescript-eslint/ban-ts-comment` on.
2024-03-14 15:04:12 +01:00
regexowl
d2ea46f243
ESLint: Turn ban-ts-comments rule on
...
This turns on ban-ts-comments and adds a few configurations to it.
ts-expect-error and ts-ignore are allowed, but only when accompanied by a description clarifying their usage. The minimum length of the description is set to 5.
2024-03-14 15:04:12 +01:00
Michal Gold
0d2735fe0f
V2Wizard: fix remove partition funtionallity (HMS-3753)
...
this commit add the remove partition functionlity to file system step
2024-03-14 14:21:14 +01:00
dependabot[bot]
918d02707f
build(deps): bump @redhat-cloud-services/frontend-components
...
Bumps [@redhat-cloud-services/frontend-components](https://github.com/RedHatInsights/frontend-components ) from 4.2.4 to 4.2.5.
- [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-03-14 10:39:29 +01:00
dependabot[bot]
718d96ab76
build(deps-dev): bump sass from 1.71.1 to 1.72.0
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.71.1 to 1.72.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.71.1...1.72.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-03-14 10:00:05 +01:00
regexowl
ddeee81959
deps: Pin @types/uuid
...
This pins the @types/uuid version as pinned version of dependencies work best with dependabot.
2024-03-14 09:09:30 +01:00
Michal Gold
1b6a570f71
V2Wizard: Add partition function (HMS-3752)
...
this commit add the addPartition function to support the adding partition
at the file system step
2024-03-13 16:04:15 +01:00
Ondrej Ezr
aa6b9789a7
Blueprint: Empty state action to link
...
Convert Empty state action to a link and add test for it.
2024-03-13 13:29:46 +01:00
dependabot[bot]
b5c3f12db2
build(deps-dev): bump @typescript-eslint/parser from 7.1.1 to 7.2.0
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 7.1.1 to 7.2.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.2.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-03-13 09:29:43 +01:00
dependabot[bot]
9589cfc94e
build(deps): bump @patternfly/react-core from 5.2.1 to 5.2.2
...
Bumps [@patternfly/react-core](https://github.com/patternfly/patternfly-react ) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/patternfly/patternfly-react/releases )
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@5.2.1...@patternfly/react-core@5.2.2 )
---
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-03-13 08:43:39 +01:00
dependabot[bot]
2055978ff8
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.1.0 to 7.2.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.2.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-03-12 11:47:32 +01:00
regexowl
1c9b2242fa
V2Wizard: Add FSC alert for bare metal images
...
This mirrors the functionality of https://github.com/osbuild/image-builder-frontend/pull/1786 in V2Wizard.
An alert was added to the FSC step to make users aware that customisations are not being applied to bare metal - installer images.
2024-03-12 10:53:48 +01:00
regexowl
e2d46640f9
Wizard: Add FSC alert for bare metal images
...
FSC customisations are not being applied to bare metal - installer images, this adds an alert to make users aware of the fact.
2024-03-12 10:16:54 +01:00
dependabot[bot]
8e185a6498
build(deps): bump react-router-dom from 6.22.1 to 6.22.3
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.22.1 to 6.22.3.
- [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.22.3/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-03-12 08:38:27 +01:00
mgold1234
430ea83df0
V2 Wizard: Add File System Configuration Step (HMS-2781)
...
The FSC step is added to the wizard and takes full advantage of Redux
for state management.
This is still a work in progress.
Supported features:
1. Select partition mountpoint prefix (e.g. /var, /home)
2. Edit partition mountpoint suffix (e.g. /home/videogames)
3. Change displayed units (KiB, MiB, GiB)
Supported but buggy features:
1. Edit partition size
Unsupported features:
1. Add partitions
2. Remove partitions
3. Validation
2024-03-08 18:14:33 +01:00
dependabot[bot]
d063279b79
build(deps): bump @patternfly/react-core from 5.2.0 to 5.2.1
...
Bumps [@patternfly/react-core](https://github.com/patternfly/patternfly-react ) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/patternfly/patternfly-react/releases )
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@5.2.0...@patternfly/react-core@5.2.1 )
---
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-03-08 11:08:25 +01:00
dependabot[bot]
1290074339
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.6 to 4.0.7.
- [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-03-08 08:52:38 +01:00
Ondrej Ezr
b68eb896ea
test: use common function to select blueprints
2024-03-07 17:19:32 +01:00
Ondrej Ezr
9b5f3631d1
Blueprints: filter composes by blueprint version
...
Refs: HMS-3412
2024-03-07 17:19:32 +01:00
lucasgarfield
6af38141be
V2 Wizard Tests: Add tests for release and architecture
...
Adds tests that ensure the blueprint request is generated correctly for
all releases (rhel 8 & 9, centos 8 & 9) and for both architectures
(x86_64 and aarch64).
2024-03-07 17:03:20 +01:00
Ondrej Ezr
947c20875c
ImagesTable: extract toolbar to separate component
...
This extracts the toolbar, that was getting bit too big to a separate component.
It also adjusts the title to correspond to the filter of the images.
If there is a Blueprint selected, it changes the title to '<BlueprintName> images'
2024-03-07 16:48:08 +01:00