dependabot[bot]
0eb4e4ba6e
build(deps): bump @patternfly/react-table from 4.44.4 to 4.50.1
...
Bumps [@patternfly/react-table](https://github.com/patternfly/patternfly-react ) from 4.44.4 to 4.50.1.
- [Release notes](https://github.com/patternfly/patternfly-react/releases )
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@4.44.4...@patternfly/react-table@4.50.1 )
---
updated-dependencies:
- dependency-name: "@patternfly/react-table"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-05 12:15:45 -05:00
Jacob Kozol
e1f6ae1cca
test: fix testing-library/no-render-in-setup error
...
In order to avoid unnexpected sideeffects and to be more specific in our
tests the components should be rendered in each test and not in the
beforeAll. This will improve the testing libraries ability to run
cleanup. Moving the render into a setUp function is okay because it is
still called from within each test and won't cause sideefects for the
cleanup.
2022-01-05 11:51:55 -05:00
Jacob Kozol
e43c41a143
test: move scrollTo to beforeAll
...
This call occurs before each test because scrollTo is not imlemented in
jsdom. Instead of calling it in each beforeEach we declare it once in
the beforeAll. This simplifies the beforeEach calls.
2022-01-05 11:51:55 -05:00
Jacob Kozol
d1cd05aca7
test: fix testing-library/render-result-naming-convention
2022-01-05 11:51:55 -05:00
Jacob Kozol
6713d279ef
test: fix testing-library/no-wait-for-multiple-assertions error
...
Simplify the waitFor calls to only wait for the asynchronously updating
components.
2022-01-05 11:51:55 -05:00
Jacob Kozol
20d3928744
test: fix testing-library/no-node-access error
...
We should avoid using native html methods for dom traversal. Our goal
should be to visually test what users would see as much as possible and
accessing 'children' doesn't specifically check for visual elements as
much as checking for text or roles
2022-01-05 11:51:55 -05:00
Jacob Kozol
c7bbe1d9b7
test: fix testing-library/prefer-screen-queries error
...
Using queries built into the screen object is preferable since
destructuring them makes maintainabilty more complex.
2022-01-05 11:51:55 -05:00
Jacob Kozol
5f5476c83e
test: fix testing-library/no-unnecessary-act error
...
We should avoid wrapping Testing Library util calls in 'act'. Most of
the Testing Library's functions are alread wrapped in an act so it is
unneccesary to double wrap them. Also remove unneccesarily setting
the activation key when clicking through steps since this will trigger
an async state update which causes react to complain about not being
wrapped in an act.
2022-01-05 11:51:55 -05:00
Jacob Kozol
919919173d
CreateImageWizard: move org id to custom component
...
Loading the organization ID is now done in the registration step. This
prevents the entire wizard from waiting on the org id and prevents the
wizard from remounting when the async getUser() completes.
2022-01-05 11:51:55 -05:00
Jacob Kozol
e368b5051e
package.json: bump eslint-plugin-testing-library from 3.10.2 to 5.0.1
2022-01-05 11:51:55 -05:00
dependabot[bot]
8373ce168d
build(deps-dev): bump @babel/preset-env from 7.16.4 to 7.16.5
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.16.4 to 7.16.5.
- [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.16.5/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>
2021-12-16 11:34:17 -05:00
dependabot[bot]
588e479cda
build(deps): bump react-router-dom from 6.0.2 to 6.1.1
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.0.2 to 6.1.1.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Commits](https://github.com/remix-run/react-router/commits/v6.1.1/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>
2021-12-15 12:24:05 -05:00
dependabot[bot]
9cd1dade0c
build(deps-dev): bump @babel/preset-flow from 7.16.0 to 7.16.5
...
Bumps [@babel/preset-flow](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-flow ) from 7.16.0 to 7.16.5.
- [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.16.5/packages/babel-preset-flow )
---
updated-dependencies:
- dependency-name: "@babel/preset-flow"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-14 13:20:02 -05:00
dependabot[bot]
60bf72b0bf
build(deps-dev): bump jest from 27.4.4 to 27.4.5
...
Bumps [jest](https://github.com/facebook/jest ) from 27.4.4 to 27.4.5.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/compare/v27.4.4...v27.4.5 )
---
updated-dependencies:
- dependency-name: jest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-14 13:08:12 -05:00
dependabot[bot]
f8324de73e
build(deps-dev): bump babel-jest from 27.4.2 to 27.4.4
...
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest ) from 27.4.2 to 27.4.4.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v27.4.4/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>
2021-12-13 19:13:51 +01:00
dependabot[bot]
9cedc6005a
build(deps-dev): bump jest from 27.4.3 to 27.4.4
...
Bumps [jest](https://github.com/facebook/jest ) from 27.4.3 to 27.4.4.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/compare/v27.4.3...v27.4.4 )
---
updated-dependencies:
- dependency-name: jest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 17:41:45 +01:00
dependabot[bot]
78dec9d8ab
build(deps-dev): bump sass from 1.44.0 to 1.45.0
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.44.0 to 1.45.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.44.0...1.45.0 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 17:28:00 +01:00
dependabot[bot]
4c06a3ef9e
build(deps-dev): bump @redhat-cloud-services/frontend-components-config
...
Bumps [@redhat-cloud-services/frontend-components-config](https://github.com/RedHatInsights/frontend-components ) from 4.5.6 to 4.5.8.
- [Release notes](https://github.com/RedHatInsights/frontend-components/releases )
- [Commits](https://github.com/RedHatInsights/frontend-components/commits )
---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/frontend-components-config"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 15:40:02 +01:00
dependabot[bot]
05ccf9542a
build(deps-dev): bump sass-loader from 12.3.0 to 12.4.0
...
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader ) from 12.3.0 to 12.4.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/v12.3.0...v12.4.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>
2021-12-08 12:20:13 +01:00
dependabot[bot]
375f5ff1b0
build(deps-dev): bump @testing-library/jest-dom from 5.15.1 to 5.16.1
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 5.15.1 to 5.16.1.
- [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.15.1...v5.16.1 )
---
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>
2021-12-07 15:11:02 +01:00
dependabot[bot]
4592232014
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.15.7 to 3.16.0.
- [Release notes](https://github.com/data-driven-forms/react-forms/releases )
- [Commits](https://github.com/data-driven-forms/react-forms/commits/v3.16.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>
2021-12-07 14:11:25 +01:00
dependabot[bot]
c20a120ec9
build(deps): bump @data-driven-forms/pf4-component-mapper
...
Bumps [@data-driven-forms/pf4-component-mapper](https://github.com/data-driven-forms/react-forms/tree/HEAD/packages/pf4-component-mapper ) from 3.15.7 to 3.16.0.
- [Release notes](https://github.com/data-driven-forms/react-forms/releases )
- [Commits](https://github.com/data-driven-forms/react-forms/commits/v3.16.0/packages/pf4-component-mapper )
---
updated-dependencies:
- dependency-name: "@data-driven-forms/pf4-component-mapper"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-07 00:19:53 +01:00
dependabot[bot]
878b8a88fd
build(deps-dev): bump babel-jest from 27.4.1 to 27.4.2
...
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest ) from 27.4.1 to 27.4.2.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v27.4.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>
2021-12-01 19:58:34 +01:00
dependabot[bot]
2f744d3c17
build(deps-dev): bump jest from 27.4.1 to 27.4.3
...
Bumps [jest](https://github.com/facebook/jest ) from 27.4.1 to 27.4.3.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/compare/v27.4.1...v27.4.3 )
---
updated-dependencies:
- dependency-name: jest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-01 19:01:16 +01:00
Sanne Raymaekers
104707fb87
CreateImageWizard: Detail what subscription means
...
Fixes #126
2021-12-01 18:08:24 +01:00
Sanne Raymaekers
6567323ef6
Router: Replace landing with catch-all route
...
This also mitigates the issue where clicking the image-builder nav link
would redirect you to `image-builder/image-builder` if image-builder was
already opened. And `/` didn't catch that path.
2021-11-30 16:12:43 +01:00
Jacob Kozol
4d987eb05e
CreateImageWizard: filter already added packages
...
When a user searches for available packages, already chosen packages are
filtered from the available packages list. This prevents the user from
adding duplicate packages.
2021-11-30 15:58:20 +01:00
Jacob Kozol
db6aa5158d
CreateImageWizard: display message for invalid chosen packages filter
...
When the user filters the chosen packages list they may find no packages
containing the entered string. In this case we display a message that no
packages are found. There are now tests for both the available and
chosen packages lists for when packages are not found.
2021-11-30 13:22:01 +01:00
Jacob Kozol
8c3a60a7ed
CreateImageWizard: only display upload review for selected destinations
2021-11-30 12:45:14 +01:00
Jacob Kozol
c230d41d88
ImagesTable: add title to Instance column
...
Also, test the table has expected headers.
2021-11-30 12:08:52 +01:00
dependabot[bot]
cb8c25b743
build(deps-dev): bump jest from 27.4.0 to 27.4.1
...
Bumps [jest](https://github.com/facebook/jest ) from 27.4.0 to 27.4.1.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/compare/v27.4.0...v27.4.1 )
---
updated-dependencies:
- dependency-name: jest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-30 11:11:22 +01:00
dependabot[bot]
8394e79130
build(deps-dev): bump sass from 1.43.5 to 1.44.0
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.43.5 to 1.44.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.43.5...1.44.0 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-30 11:00:43 +01:00
dependabot[bot]
ee4f08a3ab
build(deps-dev): bump babel-jest from 27.3.1 to 27.4.1
...
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest ) from 27.3.1 to 27.4.1.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v27.4.1/packages/babel-jest )
---
updated-dependencies:
- dependency-name: babel-jest
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-30 10:54:15 +01:00
dependabot[bot]
9a2bba6784
build(deps-dev): bump jest from 27.3.1 to 27.4.0
...
Bumps [jest](https://github.com/facebook/jest ) from 27.3.1 to 27.4.0.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/compare/v27.3.1...v27.4.0 )
---
updated-dependencies:
- dependency-name: jest
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-30 10:43:26 +01:00
Sanne Raymaekers
af5f734328
App: Drop permission check
2021-11-29 20:59:15 +01:00
Jacob Kozol
28a76a6dcb
CreateImageWizard: redo package search default message
...
Having the available packages list be either undefined, empty, or with
elements requires complicated logic. Instead, initialize
packagesAvailable to an empty array. In order to display an error state
when the packages search returned no packages, now use a boolean flag if
available packages were found. This check also sets us up in case we
want to provdie further feedback on failed package searches.
2021-11-29 20:35:23 +01:00
Sanne Raymaekers
a16212ddc3
CreateImageWizard: Fix deselecting selected packages
...
Deselecting a selected set of package didn't change the state correctly.
2021-11-29 18:15:51 +01:00
Sanne Raymaekers
0d5ab8b86b
CreateImageWizard: Correct name for packages step
2021-11-29 18:15:51 +01:00
Sanne Raymaekers
36d54a94e0
store: Drop unused pendingCompose section
...
With the introduction of the DDF wizard this part of the store isn't
used anymore.
2021-11-29 18:07:55 +01:00
Sanne Raymaekers
8ac1f8ae1d
CreateImageWizard: Prevent dom validation error
...
Prevents `...<div> cannot appear as a descendant of <p>.` when running
`npm run travis:verify`.
2021-11-29 17:58:53 +01:00
dependabot[bot]
66f4325efc
build(deps-dev): bump @redhat-cloud-services/frontend-components-config
...
Bumps [@redhat-cloud-services/frontend-components-config](https://github.com/RedHatInsights/frontend-components ) from 4.5.5 to 4.5.6.
- [Release notes](https://github.com/RedHatInsights/frontend-components/releases )
- [Commits](https://github.com/RedHatInsights/frontend-components/commits )
---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/frontend-components-config"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29 17:51:25 +01:00
dependabot[bot]
4f1e8c0172
build(deps): bump redux-thunk from 2.4.0 to 2.4.1
...
Bumps [redux-thunk](https://github.com/reduxjs/redux-thunk ) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/reduxjs/redux-thunk/releases )
- [Commits](https://github.com/reduxjs/redux-thunk/compare/v2.4.0...v2.4.1 )
---
updated-dependencies:
- dependency-name: redux-thunk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29 17:51:06 +01:00
Katerina Koukiou
292d14e36f
CreateImageWizard: Show "no package results are found" when no packages are found
...
Fixes #463
2021-11-28 18:16:51 +01:00
Chloe Kaubisch
c6f74efcb3
CreateImageWizard: don't obscure activation key
...
Activation key was previously obscured by stars, instead just show it
(both in the input and in the review step) as it isn't secret.
2021-11-26 16:27:58 +01:00
dependabot[bot]
054a8d1752
build(deps-dev): bump @redhat-cloud-services/frontend-components-config
...
Bumps [@redhat-cloud-services/frontend-components-config](https://github.com/RedHatInsights/frontend-components ) from 4.5.4 to 4.5.5.
- [Release notes](https://github.com/RedHatInsights/frontend-components/releases )
- [Commits](https://github.com/RedHatInsights/frontend-components/commits )
---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/frontend-components-config"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-26 13:56:55 +01:00
dependabot[bot]
505fd21887
build(deps-dev): bump sass from 1.43.4 to 1.43.5
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.43.4 to 1.43.5.
- [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.43.4...1.43.5 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-26 13:56:37 +01:00
dependabot[bot]
b0d7637eb0
build(deps-dev): bump @testing-library/jest-dom from 5.15.0 to 5.15.1
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 5.15.0 to 5.15.1.
- [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.15.0...v5.15.1 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-24 12:29:48 +01:00
dependabot[bot]
ec59f1164c
build(deps): bump @redhat-cloud-services/frontend-components-utilities
...
Bumps [@redhat-cloud-services/frontend-components-utilities](https://github.com/RedHatInsights/frontend-components ) from 3.2.5 to 3.2.6.
- [Release notes](https://github.com/RedHatInsights/frontend-components/releases )
- [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>
2021-11-24 12:00:34 +01:00
dependabot[bot]
40a0678a8e
build(deps-dev): bump @redhat-cloud-services/frontend-components-config
...
Bumps [@redhat-cloud-services/frontend-components-config](https://github.com/RedHatInsights/frontend-components ) from 4.5.3 to 4.5.4.
- [Release notes](https://github.com/RedHatInsights/frontend-components/releases )
- [Commits](https://github.com/RedHatInsights/frontend-components/commits )
---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/frontend-components-config"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-24 12:00:15 +01:00
Jacob Kozol
86158bd94e
CreateImageWizard: add loading icon when creating image
2021-11-23 10:54:11 +01:00