Sanne Raymaekers
dd6f91c599
config: Prep prod webpack config for ga
2022-04-12 20:03:38 +02:00
Sanne Raymaekers
d09108aef2
config: Move deployment under general webpack config
...
`deployment` is not specific to the proxy.
2022-04-12 20:03:38 +02:00
Sanne Raymaekers
c124439112
package.json: Simplify scripts
...
It's important to have NODE_ENV=production during build time in travis,
as packages can have different build artifacts depending on the NODE_ENV
value.
2022-04-12 20:03:38 +02:00
Sanne Raymaekers
7a6f177aa5
config: Remove duplicate value in dev webpack conf
2022-04-12 20:03:38 +02:00
Sanne Raymaekers
ce2d1d6dcc
config: Drop skipChrome2
...
This defaults to false.
2022-04-12 20:03:38 +02:00
Sanne Raymaekers
1b471b762d
test: Wait for rendering to finish in keyboard accessability test
...
Waits for components to finish rendering before continuing. This gets
rid of the test warnings.
2022-04-12 13:07:50 +02:00
Sanne Raymaekers
bbd3623414
CreateImageWizard/FileSystem: Default to 0 if size input is NaN
...
This gets rid of prop warnings during tests.
2022-04-12 13:07:50 +02:00
dependabot[bot]
f9d003995d
build(deps): bump @patternfly/patternfly from 4.183.1 to 4.185.1
...
Bumps [@patternfly/patternfly](https://github.com/patternfly/patternfly ) from 4.183.1 to 4.185.1.
- [Release notes](https://github.com/patternfly/patternfly/releases )
- [Changelog](https://github.com/patternfly/patternfly/blob/main/RELEASE-NOTES.md )
- [Commits](https://github.com/patternfly/patternfly/compare/prerelease-v4.183.1...prerelease-v4.185.1 )
---
updated-dependencies:
- dependency-name: "@patternfly/patternfly"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-12 12:48:22 +02:00
dependabot[bot]
bc981299cc
build(deps): bump @patternfly/react-table from 4.67.19 to 4.71.16
...
Bumps [@patternfly/react-table](https://github.com/patternfly/patternfly-react ) from 4.67.19 to 4.71.16.
- [Release notes](https://github.com/patternfly/patternfly-react/releases )
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@4.67.19...@patternfly/react-table@4.71.16 )
---
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-04-12 11:44:21 +02:00
dependabot[bot]
1f389e5453
build(deps): bump @redhat-cloud-services/frontend-components
...
Bumps [@redhat-cloud-services/frontend-components](https://github.com/RedHatInsights/frontend-components ) from 3.8.3 to 3.8.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"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-12 09:59:55 +02:00
dependabot[bot]
d07aa8b249
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.6.6 to 4.6.7.
- [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>
2022-04-12 09:33:12 +02:00
dependabot[bot]
83383281ed
build(deps): bump moment from 2.29.1 to 2.29.2
...
Bumps [moment](https://github.com/moment/moment ) from 2.29.1 to 2.29.2.
- [Release notes](https://github.com/moment/moment/releases )
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/moment/moment/compare/2.29.1...2.29.2 )
---
updated-dependencies:
- dependency-name: moment
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 18:23:58 +02:00
Sanne Raymaekers
f6aa58e3e3
CreateImageWizard: Single css file
...
All css applies to the entire page. To make it clearer having a single
css file for the entire wizard.
2022-04-11 17:49:16 +02:00
dependabot[bot]
c5dca74092
build(deps-dev): bump stylelint from 14.6.0 to 14.6.1
...
Bumps [stylelint](https://github.com/stylelint/stylelint ) from 14.6.0 to 14.6.1.
- [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/14.6.0...14.6.1 )
---
updated-dependencies:
- dependency-name: stylelint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 17:36:30 +02:00
dependabot[bot]
7a9143c79e
build(deps-dev): bump @testing-library/dom from 8.11.4 to 8.13.0
...
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library ) from 8.11.4 to 8.13.0.
- [Release notes](https://github.com/testing-library/dom-testing-library/releases )
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/dom-testing-library/compare/v8.11.4...v8.13.0 )
---
updated-dependencies:
- dependency-name: "@testing-library/dom"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 15:49:18 +02:00
dependabot[bot]
f8c7b1f551
build(deps-dev): bump eslint from 8.11.0 to 8.13.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.11.0 to 8.13.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.11.0...v8.13.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 13:41:12 +02:00
Jacob Kozol
7a58581740
package.json: temporarily include @babel/eslint-parser
...
This can be reverted once our eslintrc is updated to the insights
standards.
2022-04-11 13:18:30 +02:00
Jacob Kozol
c136458735
babel: update the babel config
...
The babel config and dependencies now match those used by the
https://github.com/RedHatInsights/frontend-starter-app . This includes
switching the file type of the babel config and cleaning up the babel
dependencies.
2022-04-11 13:18:30 +02:00
Chloe Kaubisch
10f774a8c5
CreateImageWizard: fix label spacing
...
Decrease the spacing below labels from 8px to 4px in accordance with the mocks.
Fixes #597
2022-04-08 14:08:48 +02:00
Sanne Raymaekers
ed12903519
Revert "CreateImageWizard: Disable vmware and installer images"
...
This reverts commit 8e4b4ff6d5 .
2022-04-06 11:30:09 +01:00
Gianluca Zuccarelli
78123bff0e
CreateImageWizard: target env validation
...
Validation is not enforced on the image output step
when selecting and then deselecting an image type. This
is because the only validation which is set is `Required`.
However, after deselecting an image type the input becomes
a key-value object with all the values set to false. This
commit adds a custom validator to check that at least one
value in the object is set to true. Fixes #575
2022-04-04 15:11:45 +02:00
Sanne Raymaekers
787e1ba5ce
FileSystemConfiguration: Remove redundant dragging state changes
...
This is covered by onDragEnd, which always gets called when onDrop gets
called.
2022-04-04 15:06:29 +02:00
Sanne Raymaekers
7d6ede8dc6
FileSystemConfiguration: Don't stop onDragOver if element matches
...
Rely on the index matching instead. During a drag, if onDragOver is
fired the index the item will be dragged to (the target index) will be
set. If the target index doesn't match the source index, the new
tempItemOrder is made and the new target index is set.
Initially this index is null, so even if the target index is the
same as the current index, the tempItemOrder and target index will be
set once.
By not shorting this event based on the visual layout, the drag state
gets initialized correctly every time.
Fixes #679
2022-04-04 15:06:29 +02:00
Sanne Raymaekers
d12bdb1075
CreateImageWizard: Change valid prefixes to match composer
...
Adds all valid prefixes defined in composer, removes invalid ones, and
disables the TextInput for the root partition. This makes customized
filesystems less error prone.
https://bugzilla.redhat.com/show_bug.cgi?id=2070761
2022-04-01 12:56:32 +02:00
Chloe Kaubisch
760a4366e9
LandingPage: tighten space between status icon and text
...
Tighten the space between the status icon and the status
text.
Fixes #595
2022-04-01 12:40:19 +02:00
Sanne Raymaekers
5643a142d1
CreateImageWizard: Add customTitle to step template
...
This is used by substeps.
2022-03-29 16:13:14 +02:00
lucasgarfield
e99b7b7d0b
CreateImageWizard: Make target environments keyboard selectable
...
The AWS, Google, and Azure tiles on the image output step can now be
selected/deselected using SPACE and/or ENTER.
2022-03-25 15:47:48 +01:00
lucasgarfield
e649e5c385
CreateImageWizard: Override Data Driven Form Enter behavior
...
Resolves #466 . The default behavior for the DDF Wizard is to either advance to
the next step or submit the form when the ENTER is pressed.
This is inappropriate for complex forms that contain many different
types of elements that are typically interacted with using ENTER. For
instance, the default behavior when a link is focused and ENTER is pressed
is not to open the link in a browser but to advance or submit the form.
This commit overrides the default behavior by passing an onKeyDown prop
to the wizard which calls a custom onKeyDown function. The new custom
function does not define any behavior for when ENTER is pressed,
but does recreate DDF's default ESCAPE behavior, which is to close the
modal.
2022-03-25 15:47:48 +01:00
lucasgarfield
c28e0d15b6
CreateImageWizard: Make steps autofocus on first input upon render
...
The default behavior of Data Driven Forms when moving to the previous or
next step is to maintain focus on the previous or next button,
respectively.
This commit makes the UI more friendly to keyboard users by focusing
on the first input element of a given step when it is rendered.
Whenever possible, autofocus is achieved by passing components the
autoFocus prop. When this is not possible, then useRef and useEffect hooks
are used to set focus.
At the moment, it is not possible to autofocus the image output step's
release selector or the file system configuration step's toggle using the
above methods. This is because these PatternFly components do not
currently pass props to the appropriate child component and do not
support ref forwarding. The best option for autofocus in these cases is
currently being investigated.
2022-03-25 15:47:48 +01:00
dependabot[bot]
f6142bc4cb
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.16.8 to 3.16.10.
- [Release notes](https://github.com/data-driven-forms/react-forms/releases )
- [Commits](https://github.com/data-driven-forms/react-forms/commits/v3.16.10/packages/pf4-component-mapper )
---
updated-dependencies:
- dependency-name: "@data-driven-forms/pf4-component-mapper"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 15:30:01 +01:00
dependabot[bot]
e85cda416f
build(deps-dev): bump stylelint-config-recommended-scss
...
Bumps [stylelint-config-recommended-scss](https://github.com/stylelint-scss/stylelint-config-recommended-scss ) from 5.0.2 to 6.0.0.
- [Release notes](https://github.com/stylelint-scss/stylelint-config-recommended-scss/releases )
- [Changelog](https://github.com/stylelint-scss/stylelint-config-recommended-scss/blob/master/CHANGELOG.md )
- [Commits](https://github.com/stylelint-scss/stylelint-config-recommended-scss/compare/v5.0.2...v6.0.0 )
---
updated-dependencies:
- dependency-name: stylelint-config-recommended-scss
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 14:48:19 +01:00
dependabot[bot]
70b0e1abec
build(deps-dev): bump eslint from 8.10.0 to 8.11.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.10.0 to 8.11.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.10.0...v8.11.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 14:26:31 +01:00
dependabot[bot]
1b5b020119
build(deps-dev): bump @testing-library/jest-dom from 5.16.2 to 5.16.3
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 5.16.2 to 5.16.3.
- [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.2...v5.16.3 )
---
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>
2022-03-25 13:59:22 +01:00
dependabot[bot]
1583c6fe53
build(deps-dev): bump css-loader from 6.6.0 to 6.7.1
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 6.6.0 to 6.7.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/v6.6.0...v6.7.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>
2022-03-25 13:49:45 +01:00
dependabot[bot]
6120be41ca
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.16.9 to 3.16.10.
- [Release notes](https://github.com/data-driven-forms/react-forms/releases )
- [Commits](https://github.com/data-driven-forms/react-forms/commits/v3.16.10/packages/react-form-renderer )
---
updated-dependencies:
- dependency-name: "@data-driven-forms/react-form-renderer"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 12:49:44 +01:00
Sanne Raymaekers
a0883793ba
CreateImageWizard: Step template with id
...
The template is the default template from data driven forms, with the id
added.
Fixes #642
2022-03-25 12:43:31 +01:00
dependabot[bot]
09ebf953c5
build(deps-dev): bump @testing-library/dom from 8.11.3 to 8.11.4
...
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library ) from 8.11.3 to 8.11.4.
- [Release notes](https://github.com/testing-library/dom-testing-library/releases )
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/dom-testing-library/compare/v8.11.3...v8.11.4 )
---
updated-dependencies:
- dependency-name: "@testing-library/dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 16:05:12 +01:00
dependabot[bot]
43e53753dc
build(deps): bump @patternfly/patternfly from 4.179.1 to 4.183.1
...
Bumps [@patternfly/patternfly](https://github.com/patternfly/patternfly ) from 4.179.1 to 4.183.1.
- [Release notes](https://github.com/patternfly/patternfly/releases )
- [Changelog](https://github.com/patternfly/patternfly/blob/main/RELEASE-NOTES.md )
- [Commits](https://github.com/patternfly/patternfly/compare/prerelease-v4.179.1...prerelease-v4.183.1 )
---
updated-dependencies:
- dependency-name: "@patternfly/patternfly"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 15:59:03 +01:00
Jacob Kozol
917c67f98a
App.js: the syle import is no longer required in @redhat-cloud-services/frontend-components
2022-03-24 15:48:34 +01:00
Jacob Kozol
e208369c3e
package-json: remove unnused stylint-scss and bump dependencies
2022-03-24 15:48:34 +01:00
dependabot[bot]
92bed5fa38
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.6.2 to 4.6.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>
2022-03-24 15:40:42 +01:00
dependabot[bot]
7708f0f63a
build(deps-dev): bump eslint-plugin-testing-library from 5.0.5 to 5.1.0
...
Bumps [eslint-plugin-testing-library](https://github.com/testing-library/eslint-plugin-testing-library ) from 5.0.5 to 5.1.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/v5.0.5...v5.1.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>
2022-03-24 15:32:44 +01:00
dependabot[bot]
5e74bacd94
build(deps-dev): bump @babel/core from 7.17.5 to 7.17.8
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.17.5 to 7.17.8.
- [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.17.8/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>
2022-03-24 15:15:27 +01:00
Gianluca Zuccarelli
29f82bc248
CreateImageWizard: gcp popover padding/margin
...
The margin on the `ul` list inside the gcp
information popover was causing the popover
to look unevenly spaced. Removing the left
margin resolves this. This commit fixes #630
2022-03-24 14:55:44 +01:00
dependabot[bot]
eb65965218
build(deps-dev): bump @testing-library/react from 12.1.3 to 12.1.4
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 12.1.3 to 12.1.4.
- [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/v12.1.3...v12.1.4 )
---
updated-dependencies:
- dependency-name: "@testing-library/react"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 12:35:44 +01:00
Jacob Kozol
bc02c6201e
remove unused folders/files
...
With the current way of running the application the profiles are
unnecessary. Also, we use dependabot now so no need to import cockpit's
bots.
2022-03-24 12:07:13 +01:00
dependabot[bot]
1571d477b9
build(deps): bump @babel/runtime from 7.17.2 to 7.17.8
...
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime ) from 7.17.2 to 7.17.8.
- [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.17.8/packages/babel-runtime )
---
updated-dependencies:
- dependency-name: "@babel/runtime"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-23 21:15:00 +01:00
dependabot[bot]
d11a6b609f
build(deps-dev): bump eslint-plugin-react from 7.29.2 to 7.29.4
...
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react ) from 7.29.2 to 7.29.4.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases )
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.29.2...v7.29.4 )
---
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>
2022-03-23 20:41:39 +01:00
dependabot[bot]
0c43c1e303
build(deps): bump @patternfly/react-core from 4.198.5 to 4.198.19
...
Bumps [@patternfly/react-core](https://github.com/patternfly/patternfly-react ) from 4.198.5 to 4.198.19.
- [Release notes](https://github.com/patternfly/patternfly-react/releases )
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@4.198.5...@patternfly/react-core@4.198.19 )
---
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>
2022-03-23 20:36:07 +01:00
dependabot[bot]
b56eaed2d6
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.8 to 3.2.12.
- [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>
2022-03-23 20:28:52 +01:00