lucasgarfield
b2e6e3cf04
Wizard: Use useChrome hook to set beta feature flag
...
The use of chrome.isBeta is deprecated, the useChrome hook should be
used instead to obtain an isBeta() function. Using the deprecrated
chrome.isBeta pollutes the browser console with warning messages.
This commit replaces the isBeta() helper function with a new custom
hook, useGetEnvironment().
We still sometimes need to know which environment is running outside of
React components, where we cannot call the useChrome() or
useGetEnvironment() hooks. For instance, in the json used to define a
wizard step. Therefore a new isBeta variable has been added to the
form's initialState for use in these cases.
2023-04-28 17:07:31 +02:00
dependabot[bot]
c9081259a6
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.20.6 to 3.20.7.
- [Release notes](https://github.com/data-driven-forms/react-forms/releases )
- [Commits](https://github.com/data-driven-forms/react-forms/commits/v3.20.7/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>
2023-04-28 08:36:44 +02:00
jkozol
113759aa77
config: add appUrl for /preview
...
The appUrl webpack param can accept an array. This array includes urls for
prod, beta, and preview.
2023-04-26 18:30:14 +02:00
regexowl
79fe46474a
Wizard: Update text on Packages and Additional Red Hat packages steps
...
This removes unnecessary sentences from the description of Packages and Additional Red Hat packages steps. The min and max height of the `DualListSelector` was also updated.
2023-04-26 18:24:28 +02:00
Jakub Rusz
b17f18ddf8
Add ouiaID for resource group select
2023-04-26 13:17:29 +02:00
dependabot[bot]
17f31c6cc2
build(deps-dev): bump sass from 1.62.0 to 1.62.1
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.62.0 to 1.62.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.62.0...1.62.1 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-26 12:11:43 +02:00
dependabot[bot]
e369f3a9a2
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.6 to 3.20.7.
- [Release notes](https://github.com/data-driven-forms/react-forms/releases )
- [Commits](https://github.com/data-driven-forms/react-forms/commits/v3.20.7/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>
2023-04-26 08:15:50 +02:00
regexowl
a97cfd229a
Quickstarts: Add check for the last step of AWS and Azure
...
This adds the "Check your work" review for the 3rd step of AWS and Azure.
2023-04-25 13:05:00 +02:00
regexowl
031fd08b91
ImagesTable: Add popovers with error details for failed builds
...
This removes error details from the image detail and moves them to popovers activated by clicking on "Image build failed" status.
Popovers were also added for clones which didn't include any error details previously.
2023-04-25 11:20:34 +02:00
dependabot[bot]
951e5cc035
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.7.2 to 4.7.3.
- [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>
2023-04-25 08:59:07 +02:00
regexowl
dc8e521e28
LandingPage: Change background of "Help get started with beta features"
...
This changes the background color of the "Help get started with beta features" expandable from #FAFAFA to #FFFFFF.
2023-04-24 13:02:55 +02:00
dependabot[bot]
3b03bacf50
build(deps-dev): bump eslint from 8.38.0 to 8.39.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.38.0 to 8.39.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.38.0...v8.39.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-04-24 08:51:23 +02:00
lucasgarfield
3d4b9287df
Quickstarts: Fix minor bugs
2023-04-21 16:41:24 +02:00
regexowl
79f5c90f3d
src: Remove repos.js
...
This removes `repos.js` file with the repository definitions as it's no longer needed after #963 was merged.
2023-04-21 12:56:12 +02:00
lucasgarfield
d06f929227
LaunchWizard: Add large variant prop to set width of wizard correctly
...
Without this prop, the wizard's width expands to fill the entire window.
2023-04-21 12:22:30 +02:00
Pavel Odvody
2f13390eee
Add MODAL_ANCHOR and anchor ShareImageModal
...
This patch adds a constant `MODAL_ANCHOR` so that the value
can be used in multiple modals that require it. Also the
ShareImageModal is now properly anchored to it.
Signed-off-by: Pavel Odvody <pavel@redhat.com>
2023-04-20 17:02:04 +02:00
Pavel Odvody
b0a7456860
Use custom modal to show the wizard
...
So that it's anchored to proper element via `appendTo`
Signed-off-by: Pavel Odvody <pavel@redhat.com>
2023-04-20 17:02:04 +02:00
Pavel Odvody
45547c607b
Ensure Launch wizard is anchored to proper element
...
By default modals are anchored to document.body which inteferes
with quickstarts
Signed-off-by: Pavel Odvody <pavel@redhat.com>
2023-04-20 17:02:04 +02:00
Pavel Odvody
466f158374
Anchor modal to proper element
...
By default all modals are anchored to document.body
which interferes with Quickstarts by overlaying them.
This patch anchors the modal to the main element outside
of the Quickstart so that both can be visible at the same time.
Signed-off-by: Pavel Odvody <pavel@redhat.com>
2023-04-20 17:02:04 +02:00
Pavel Odvody
8fced39451
Show different alert to user in beta
...
This adds the possibility to invoke 3 different quickstarts
from in-beta prompt
HMS-1577
Signed-off-by: Pavel Odvody <pavel@redhat.com>
2023-04-20 17:02:04 +02:00
lucasgarfield
bc1435994d
Router: Modify /share and /imagewizard routing
...
Insights offers 'quickstarts', which can be used to provide
mini-tutorials in a sidebar.
Unfortunately, these quickstarts change our URL... they add an optional
query parameter related to the quickstart. The process of doing so
destroys our router's `location`, setting it to undefined.
We have been using the location state to store the GUID of the image,
needed when opening the wizard via the `Recreate image` action or when
opening the share modal.
As a workaround, we can simply accept that the quickstarts will change
our URL and destroy our router's location. Instead, we now put the image
id (its UUID) in the route itself. We can access it in the components as
necessary via the useParams hook.
2023-04-20 14:59:12 +02:00
regexowl
a81fb72523
Update README.md
2023-04-19 11:56:16 +02:00
Lucas Garfield
0870ea7d55
ImagesTable: Fix bug where Launch link incorrectly displayed ( #1085 )
...
This commit fixes a bug where the Launch link (which opens the
Provisioning wizard) was incorrectly displayed for all image types.
The bug is currently in production beta, so this commit is needed for
the hotfix. Changes made are minimal, only what is necessary to fix the
bug - we still need to discuss the getImageProvider() function (the
original source of the bug) with the Provisioning team.
2023-04-19 10:53:26 +02:00
regexowl
8f87626dfb
Wizard: Fix unavailable key information error
...
When creating a new image and selecting an activation key on the Registration step the warning about unavailable key information is displayed even though the key information is loaded without any problems.
This shows the error on the Registration step only when fetching the activation key information ends in error.
2023-04-19 08:20:03 +02:00
Sanne Raymaekers
38dda9da67
CreateImageWizard: support verifying repository metadata ( #1076 )
2023-04-18 13:45:23 +02:00
dependabot[bot]
86e62ce792
build(deps): bump @reduxjs/toolkit from 1.9.4 to 1.9.5
...
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit ) from 1.9.4 to 1.9.5.
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases )
- [Commits](https://github.com/reduxjs/redux-toolkit/compare/v1.9.4...v1.9.5 )
---
updated-dependencies:
- dependency-name: "@reduxjs/toolkit"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-18 08:32:43 +02:00
lucasgarfield
2f11471eb4
build(deps): bump data driven forms to 3.20.6
...
3.20.6 includes a hotfix that allows modals to take an appendTo prop,
which is necessary for modals to display correctly with the new
quickstart tutorials.
2023-04-17 17:53:27 +02:00
dependabot[bot]
4fe3cb5f6b
build(deps): bump @reduxjs/toolkit from 1.9.3 to 1.9.4
...
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit ) from 1.9.3 to 1.9.4.
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases )
- [Commits](https://github.com/reduxjs/redux-toolkit/compare/v1.9.3...v1.9.4 )
---
updated-dependencies:
- dependency-name: "@reduxjs/toolkit"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 08:58:19 +02:00
dependabot[bot]
99f34787ca
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.20.4 to 3.20.5.
- [Release notes](https://github.com/data-driven-forms/react-forms/releases )
- [Commits](https://github.com/data-driven-forms/react-forms/commits/v3.20.5/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>
2023-04-17 08:19:02 +02:00
regexowl
e5a9f0eaf9
Wizard: Add "refine search" warning to Packages step
...
Fixes #913 .
This adds status bars to the `DualListSelectorPane` on the Packages step. The status bar indicates how many packages were found and how many of those have been selected.
Warning for too many returned results was also added. When an exact match is found during a search with over 100 results, it is shown together with the warning.
2023-04-14 18:27:10 +02:00
Sanne Raymaekers
c3c8a687a0
LandingPage: add "go to beta" banner
2023-04-14 17:36:31 +02:00
Sanne Raymaekers
341b37a567
ImagesTable/RegionsPopover: add "go to beta" under launch
2023-04-14 17:36:31 +02:00
regexowl
5f99bc79cf
Wizard: Migrate activation keys calls to RTK Query
...
This migrates calls to RHSM endpoints `activation_keys` and `/activation_keys/{name}` to RTK Query.
Tests were also updated to use Mock Service Worker instead of previous Jest mock function.
2023-04-14 16:52:47 +02:00
regexowl
02a584b36f
Wizard: Remove prop validation for ReviewStepTables and ReviewStepTextLists
...
This removes prop validation that was left behind after the props were removed during a Review step updates PR review.
2023-04-14 12:12:38 +02:00
Ondrej Ezr
dcb1e23298
Always enable launch for AWS
2023-04-14 11:59:18 +02:00
Ondrej Ezr
481c8759b7
test: Increase azure test timeout
...
The Jenkins job takes too long to execute the Azure tests.
This is a hotfix, we should rather speed up the tests.
2023-04-14 10:46:43 +02:00
dependabot[bot]
ce30a6d629
build(deps-dev): bump eslint-plugin-testing-library
...
Bumps [eslint-plugin-testing-library](https://github.com/testing-library/eslint-plugin-testing-library ) from 5.10.2 to 5.10.3.
- [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.10.2...v5.10.3 )
---
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-04-14 08:14:00 +02:00
dependabot[bot]
7043b6335e
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.4 to 3.20.5.
- [Release notes](https://github.com/data-driven-forms/react-forms/releases )
- [Commits](https://github.com/data-driven-forms/react-forms/commits/v3.20.5/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>
2023-04-14 07:43:31 +02:00
regexowl
876e605a23
Wizard: Ensure unique IDs for buttons
...
Fixes #1065 .
This sets buttons on the Repositories and Additional custom packages steps to `CustomButtons` to ensure buttons in each of the steps have a unique ID.
2023-04-13 13:58:16 +02:00
Ondrej Ezr
065900c0f8
Add sources selection for Azure
...
Fixes HMS-1511
2023-04-13 13:32:23 +02:00
dependabot[bot]
a9b43d0cf1
build(deps-dev): bump eslint from 8.37.0 to 8.38.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.37.0 to 8.38.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.37.0...v8.38.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-04-13 10:08:50 +02:00
dependabot[bot]
7b3d2da7ea
build(deps-dev): bump sass from 1.60.0 to 1.62.0
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.60.0 to 1.62.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.60.0...1.62.0 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-13 09:39:19 +02:00
dependabot[bot]
a0fb04c250
build(deps): bump @redhat-cloud-services/frontend-components-utilities
...
Bumps [@redhat-cloud-services/frontend-components-utilities](https://github.com/RedHatInsights/frontend-components ) from 3.4.0 to 3.5.0.
- [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-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-13 09:01:48 +02:00
regexowl
f1b4b67293
config/dev: Revert run proxy without VPN for prod envs
...
This reverts commit 49b3f04
2023-04-13 00:13:39 +02:00
lucasgarfield
c7add821c2
Wizard: Fix bug causing crash upon visiting Azure step
...
This commit fixes a bug in the wizard. The Azure step name was
incorrectly set when using the 'Recreate image' option which caused the
wizard to crash when trying to access the Azure step.
2023-04-12 16:33:19 +02:00
Ondrej Ezr
451b5784d5
Send upload info to ProvisioningWizard
2023-04-07 10:48:06 +02:00
dependabot[bot]
47b616beed
build(deps): bump @patternfly/react-table from 4.112.39 to 4.113.0
...
Bumps [@patternfly/react-table](https://github.com/patternfly/patternfly-react ) from 4.112.39 to 4.113.0.
- [Release notes](https://github.com/patternfly/patternfly-react/releases )
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@4.112.39...@patternfly/react-table@4.113.0 )
---
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>
2023-04-06 09:41:24 +02:00
dependabot[bot]
87d3efcbea
build(deps-dev): bump sass-loader from 13.2.0 to 13.2.2
...
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader ) from 13.2.0 to 13.2.2.
- [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/v13.2.0...v13.2.2 )
---
updated-dependencies:
- dependency-name: sass-loader
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 08:55:20 +02:00
Jakub Rusz
531df017cd
Update Jenkinsfile
...
There were some changes in the insights-frontend-build-common that we
were missing.
2023-04-05 10:58:11 +02:00
dependabot[bot]
4fd6233b56
build(deps): bump @redhat-cloud-services/frontend-components-utilities
...
Bumps [@redhat-cloud-services/frontend-components-utilities](https://github.com/RedHatInsights/frontend-components ) from 3.3.13 to 3.4.0.
- [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-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-05 10:18:23 +02:00