dependabot[bot]
2cfef86e01
build(deps-dev): bump eslint-plugin-testing-library
...
Bumps [eslint-plugin-testing-library](https://github.com/testing-library/eslint-plugin-testing-library ) from 5.11.0 to 5.11.1.
- [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/v5.11.0...v5.11.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-testing-library
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-09 08:30:14 +02:00
dependabot[bot]
73e41ba72c
build(deps): bump tough-cookie and @cypress/request
...
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie ) and [@cypress/request](https://github.com/cypress-io/request ). These dependencies needed to be updated together.
Updates `tough-cookie` from 2.5.0 to 4.1.3
- [Release notes](https://github.com/salesforce/tough-cookie/releases )
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md )
- [Commits](https://github.com/salesforce/tough-cookie/compare/v2.5.0...v4.1.3 )
Updates `@cypress/request` from 2.88.11 to 2.88.12
- [Release notes](https://github.com/cypress-io/request/releases )
- [Changelog](https://github.com/cypress-io/request/blob/master/CHANGELOG.md )
- [Commits](https://github.com/cypress-io/request/compare/v2.88.11...v2.88.12 )
---
updated-dependencies:
- dependency-name: tough-cookie
dependency-type: indirect
- dependency-name: "@cypress/request"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-08 14:16:00 +02:00
regexowl
87ff2a24c9
Wizard: Fix the Failed prop type error
...
Incorrect proptype for `selectedAvailablePackages` was causing following error:
```Warning: Failed prop type: Invalid prop `selectedAvailablePackages` of type `object` supplied to `ExactMatch`, expected an array.```
This fixes the problem.
2023-08-08 13:56:51 +02:00
lucasgarfield
c3397794d6
ImagesTable: Fix bug where vsphere-ova details are not displayed
...
The conditional in the image details component needed to have a check
added for vsphere-ova type images.
A mock compose and corresponding status for a vsphere-ova type image
have also been added.
2023-08-08 13:18:30 +02:00
regexowl
9a4c07c7ea
Wizard: Fix visibility of the Image Details expandable
...
The Image Details expandable is now visible even if no name or description were added for the image. This fixes the issue.
2023-08-07 15:09:31 +02:00
regexowl
5b516a5270
test/fixtures: Update timestamps of mock composes
...
The format of the timestamps of mock composes was causing an error in msw browser after merging https://github.com/RedHatInsights/image-builder-frontend/pull/1137
This updates the mock timestamps to the format of the actual ones fetched from the API.
2023-08-07 14:36:19 +02:00
dependabot[bot]
523fe3af8c
build(deps-dev): bump jest from 29.6.1 to 29.6.2
...
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest ) from 29.6.1 to 29.6.2.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.6.2/packages/jest )
---
updated-dependencies:
- dependency-name: jest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 11:26:37 +02:00
Thomas Lavocat
48bd38c496
LandingPage: conversion to type script
...
Conversion to type script by renaming the file and correcting the type
errors.
2023-08-07 11:08:19 +02:00
Thomas Lavocat
154429212f
LandingPage: fix the button in a button error
...
Previously the Popover was used within the title of the tab. In addition
to the fact that the Popover had a button to get triggered, it created a
button in a button issue. The web browser was reporting this as abnormal
and the UI behavior was not ideal: while clicking on the interrogation
mark the user was also moved to the corresponding tab.
This commit fixes that issue by using a TabAction to get the Popover
working. Inspired by the patternfly documentation:
- http://v4-archive.patternfly.org/v4/components/tabs#help-action
2023-08-07 11:08:19 +02:00
regexowl
608ca157eb
test/fixtures: Update compose fixture and migrate it to TypeScript
...
This adds `request` to a reponse from the `composes/{composeId}` endpoint and `meta` to a response from the `/composes/{composeId}/clones` endpoint as per API documentation.
The incomplete responses were causing problems when fetching data from the endpoints mentioned above.
The fixture was also migrated to TypeScript.
2023-08-07 10:20:44 +02:00
regexowl
e2ffc1705c
test/fixtures: Migrate the packages fixture to TypeScript
...
This migrates the `packages` fixture to TypeScript and adds needed types to `index.ts`
2023-08-07 10:01:40 +02:00
Tasos Papaioannou
9cef49097f
Fix timestampToDisplayString to not strip time from UTC timestamp
...
before formatting to local date.
2023-08-04 15:54:23 +02:00
Amir Fefer
3a0969e2dd
Fix missing aria label in launch wizard modal
2023-08-02 18:27:23 +02:00
dependabot[bot]
42df121e84
build(deps-dev): bump sass from 1.64.1 to 1.64.2
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.64.1 to 1.64.2.
- [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.64.1...1.64.2 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-02 16:47:32 +02:00
regexowl
857257591c
Wizard: Disable non-valid repositories and add a Status column
...
This disables adding of repositories that do not have 'Valid' status.
Status column was also added to the Repositories table to make the reason why the checkbox is disabled visible.
2023-08-02 15:40:57 +02:00
lucasgarfield
13b02eca7e
eslint: Add support for Typescript
...
This commit adds eslint support for .ts and .tsx files.
The recommended Typescript rules are applied only to .ts and .tsx files
and not to existing .js or .jsx files. This is accomplished by creating
a separate .eslintrc-typescript.yml file and pointing to it in the
.eslintrc.yml overrides parameter.
A .eslintignore file was added. This file has syntax similiar to
.gitignore and is used to ignore the programatically generated API
slices so that we do not have to deal with a massive diff whenever we
update one of them.
2023-08-02 13:46:08 +02:00
dependabot[bot]
320066e0ea
build(deps): bump @data-driven-forms/react-form-renderer
...
Bumps [@data-driven-forms/react-form-renderer](https://github.com/data-driven-forms/react-forms/tree/HEAD/packages/react-form-renderer ) from 3.20.13 to 3.21.0.
- [Release notes](https://github.com/data-driven-forms/react-forms/releases )
- [Commits](https://github.com/data-driven-forms/react-forms/commits/v3.21.0/packages/react-form-renderer )
---
updated-dependencies:
- dependency-name: "@data-driven-forms/react-form-renderer"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-02 08:27:38 +02:00
regexowl
1456861e63
test: Move button clicking functions to testUtils
...
This moves the `clickBack`, `clickCancel`, `clickNext`, `getNextButton` and `verifyCancelButton` functions from the tests to `testUtils`.
2023-08-01 13:32:20 +02:00
Thomas Lavocat
deab7f95a9
wizard/registration: cleaning of a useEffect
...
A useEffect was used without conditions to update the value of a state
variable depending on the form state. That's apparent to a way to
initialize the state. Instead, what can be done, is to immediately
initialize the state at the proper value.
2023-08-01 12:39:21 +02:00
dependabot[bot]
ab96395dda
build(deps-dev): bump jest-environment-jsdom from 29.5.0 to 29.6.2
...
Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom ) from 29.5.0 to 29.6.2.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.6.2/packages/jest-environment-jsdom )
---
updated-dependencies:
- dependency-name: jest-environment-jsdom
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 11:49:16 +02:00
dependabot[bot]
901e2d27bf
build(deps-dev): bump eslint from 8.45.0 to 8.46.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.45.0 to 8.46.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.45.0...v8.46.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 11:07:48 +02:00
Sanne Raymaekers
7df6ff7df3
src/App.js: Remove obsolotete APP_NAVIGATION listener
...
v6 of react-router-dom is now supported everywhere, and leaving the
event listener can cause navigation bugs.
See gkarat/ocp-advisor-frontend#101 as an example.
2023-08-01 10:35:00 +02:00
dependabot[bot]
136a9ec0a2
build(deps-dev): bump babel-jest from 29.6.1 to 29.6.2
...
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest ) from 29.6.1 to 29.6.2.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.6.2/packages/babel-jest )
---
updated-dependencies:
- dependency-name: babel-jest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-31 08:36:59 +02:00
Klara Simickova
11dbc1db24
Revert "build(deps): bump @patternfly/patternfly from 4.224.2 to 5.0.2"
...
This reverts commit d8c6ca93d1 .
2023-07-28 15:59:00 +02:00
lucasgarfield
217796d016
API: Rename image-builder to imageBuilder for consistency
2023-07-28 15:05:08 +02:00
lucasgarfield
834c9d8333
API: Remove /types directory
...
All Typescript types are now found in the programatically generated API
slices in `/src/store`.
2023-07-28 15:05:08 +02:00
lucasgarfield
2776af4d6c
API: Update readme and scripts
...
This commit updates the readme to reflect the use of
`@rtk-query/codegen` for generating API slice definitions and adds a new
script, `api.sh`, that is used to generate the API slices when the user
runs `npm run api`.
2023-07-28 15:05:08 +02:00
lucasgarfield
702b667dc5
API: Add programatically generated Provisioning API slice definitions
...
These definitions were generated using the RTKQ code generation tool and
will replace the existing definitions.
2023-07-28 15:05:08 +02:00
lucasgarfield
74528356fa
API: Add programatically generated Content Sources API slice definitions
...
These definitions were generated using the RTKQ code generation tool and
will replace the existing definitions.
2023-07-28 15:05:08 +02:00
lucasgarfield
22df78bffa
API: Add programatically generated RHSM API slice definitions
...
These definitions were generated using the RTKQ code generation tool and
will replace the existing definitions.
2023-07-28 15:05:08 +02:00
lucasgarfield
1894a9dcb2
API: Add programatically generated Image Builder API slice definitions
...
These definitions were generated using the RTKQ code generation tool and
will replace the existing definitions.
2023-07-28 15:05:08 +02:00
lucasgarfield
87b97b830f
Dependencies: Add @rtk-query/codegen-openapi and ts-node dev deps
...
@rtk-query/codegen-openapi is the official tool for programatically
generating RTKQ hooks using OpenAPI specifications. It requires ts-node
to run.
2023-07-28 15:05:08 +02:00
mgold1234
7cb3f2d0b6
Wizard: add description field to Details steps
2023-07-28 12:24:25 +02:00
mgold1234
082dbf5de1
imageTable: Update links on empty state
...
This commit add specific link when open Immutable tab without any images at image builder table
Fixes # related to https://issues.redhat.com/browse/THEEDGE-3478
2023-07-28 12:13:53 +02:00
dependabot[bot]
1840019dbb
build(deps): bump @patternfly/react-table from 4.113.0 to 4.113.3
...
Bumps [@patternfly/react-table](https://github.com/patternfly/patternfly-react ) from 4.113.0 to 4.113.3.
- [Release notes](https://github.com/patternfly/patternfly-react/releases )
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@4.113.0...@patternfly/react-table@4.113.3 )
---
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>
2023-07-28 11:08:05 +02:00
dependabot[bot]
d8c6ca93d1
build(deps): bump @patternfly/patternfly from 4.224.2 to 5.0.2
...
Bumps [@patternfly/patternfly](https://github.com/patternfly/patternfly ) from 4.224.2 to 5.0.2.
- [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/prerelease-v4.224.2...v5.0.2 )
---
updated-dependencies:
- dependency-name: "@patternfly/patternfly"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-28 09:48:44 +02:00
dependabot[bot]
daaecedaaf
build(deps-dev): bump sass from 1.63.6 to 1.64.1
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.63.6 to 1.64.1.
- [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.63.6...1.64.1 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-27 08:26:20 +02:00
mgold1234
5c1952d8c9
Wizard: change the name of wizard details
...
This commit change the name of wizard-details to details, to prevent misconfusion with the image-name component
2023-07-26 17:13:42 +02:00
dependabot[bot]
990f4c5a03
build(deps-dev): bump eslint-plugin-jest-dom from 4.0.3 to 5.0.1
...
Bumps [eslint-plugin-jest-dom](https://github.com/testing-library/eslint-plugin-jest-dom ) from 4.0.3 to 5.0.1.
- [Release notes](https://github.com/testing-library/eslint-plugin-jest-dom/releases )
- [Commits](https://github.com/testing-library/eslint-plugin-jest-dom/compare/v4.0.3...v5.0.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest-dom
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-26 09:36:37 +02:00
dependabot[bot]
7868cc9367
build(deps-dev): bump eslint-plugin-react from 7.32.2 to 7.33.0
...
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) from 7.32.2 to 7.33.0.
- [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.32.2...v7.33.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-26 08:33:53 +02:00
regexowl
ffbfb3381e
msw: Version bump in mockServiceWorker.js 1.2.2 -> 1.2.3
...
msw was bumped from 1.2.2 to 1.2.3 in https://github.com/RedHatInsights/image-builder-frontend/pull/1264
This changes the version in `mockServiceWorker.js` as done by `npm ci`.
2023-07-25 13:42:20 +02:00
dependabot[bot]
81a0bbddfe
build(deps-dev): bump msw from 1.2.2 to 1.2.3
...
Bumps [msw](https://github.com/mswjs/msw ) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/mswjs/msw/releases )
- [Changelog](https://github.com/mswjs/msw/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mswjs/msw/compare/v1.2.2...v1.2.3 )
---
updated-dependencies:
- dependency-name: msw
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 09:20:20 +02:00
dependabot[bot]
bc043bb28f
build(deps-dev): bump whatwg-fetch from 3.6.2 to 3.6.17
...
Bumps [whatwg-fetch](https://github.com/github/fetch ) from 3.6.2 to 3.6.17.
- [Release notes](https://github.com/github/fetch/releases )
- [Commits](https://github.com/github/fetch/compare/v3.6.2...v3.6.17 )
---
updated-dependencies:
- dependency-name: whatwg-fetch
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 08:24:54 +02:00
dependabot[bot]
4268515a83
build(deps-dev): bump @testing-library/jest-dom from 5.16.5 to 5.17.0
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 5.16.5 to 5.17.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/v5.16.5...v5.17.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>
2023-07-24 09:05:47 +02:00
dependabot[bot]
f712fd1499
build(deps-dev): bump @types/jest from 29.5.2 to 29.5.3
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 29.5.2 to 29.5.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
---
updated-dependencies:
- dependency-name: "@types/jest"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 08:36:28 +02:00
regexowl
b8d56fff15
ImagesTable: Fix bug where failed AWS images showed sharing error
...
Failed AWS images showed a `Failed to share image to one or more regions.` error even though they weren't shared to other regions.
This was caused by checking for a 'failure' status in an array of `imageStatuses` that included the parent status.
2023-07-21 21:05:57 +02:00
dependabot[bot]
d685245b9b
build(deps-dev): bump eslint from 8.41.0 to 8.45.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.41.0 to 8.45.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.41.0...v8.45.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 08:54:10 +02:00
dependabot[bot]
6a61ef36e2
build(deps-dev): bump stylelint from 15.10.1 to 15.10.2
...
Bumps [stylelint](https://github.com/stylelint/stylelint ) from 15.10.1 to 15.10.2.
- [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/15.10.1...15.10.2 )
---
updated-dependencies:
- dependency-name: stylelint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 08:24:03 +02:00
regexowl
c0cc236c5a
ImagesTable: Update wording and links on empty state
...
This updates text and links on empty state according to recent mocks.
2023-07-20 13:20:24 +02:00
regexowl
03d2899843
LandingPage: Update the "About" popover
...
This updates the text on the "About" popover and adds links according to recent mocks.
2023-07-20 13:13:11 +02:00