Jacob Kozol
58f866088e
CreateImageWizard: update packages to use custom callbacks
...
PF4 now allows more control over the DualListSelector. This component is
rewritten to use custom callbacks which allow us to display a more
customized version of the DualListSelector. Currently, the component is
visually identical to the existing implemention except for the addition
of a search button to filter the chosen packages.
2021-10-29 13:39:08 +01:00
Jacob Kozol
7e8911a40c
CreateImageWizard: fix packages addAll button
...
When clicking the packages add all button the list of available packages
did not get added to the list of chosen packages. Now the chosen
packages and available packages are concatenated together.
2021-10-25 16:52:15 +01:00
Jacob Kozol
7ea8168443
CreateImageWizard: add creation failure alert
...
When image creation failed to start the wizard would get stuck in the
saving state with no notice to the user. Now the user will get an error
alert contain the status code and message. The wizard no longer gets
stuck in the saving state.
2021-10-21 19:19:36 +01:00
Jacob Kozol
a51328e426
CreateImageWizard: update azure redirect
...
On authorization of image builder on azure, the user will be redirected
to portal.azure.com. The response mode is changed to query instead of
form_post because form_post makes a POST request while query makes a GET
request. portal.azure.com does not respond when we make a POST request
to it so users will not be redirected unless we use the response mode
of query.
2021-10-19 14:44:30 +02:00
Jacob Kozol
d9a2fd1886
CreateImageWizard: use GUID instead of ID in azure step
2021-10-18 18:27:40 +02:00
Jacob Kozol
913cd9a785
CreateImageWizard: update azure text and field order
...
The info text is updated and the authorize button is moved below tenant
ID. The tenant ID is now validated as a valid GUID and if is not valid
the authorize button is disabled. This tenant id is now used to validate
image builder on azure because the authorize url containing the tenant
id will authorize for any microsoft account type. Tests are also
updated.
2021-10-18 18:27:40 +02:00
Gianluca Zuccarelli
28f415e292
CreateImageWizard: add gcp email validation
...
Add email address input validation to GCP
step in CreateImageWizard.
Closes #260
2021-10-14 12:27:41 +02:00
Martin Maroši
d3a5a3adc1
Fix incorrect CSS prefix on DDF wizard.
2021-10-12 15:03:04 +02:00
Sanne Raymaekers
6449111c5d
CreateImageWizard: Use rhel minor versions everywhere
...
Fallout from switching to minor versions everywhere.
2021-09-03 17:11:57 +02:00
Simon Steinbeiss
9ff2139930
CreateImageWizard: Switch away from TextListItem
2021-08-10 11:32:25 +02:00
Simon Steinbeiss
6d08382fce
CreateImageWizard: Align all values on the review step
...
Closes #194
2021-08-10 11:32:25 +02:00
Simon Steinbeiss
bec1183c5a
CreateImageWizard: Show Azure information on review page
...
Closes #202
2021-08-02 19:26:28 +02:00
Simon Steinbeiss
c8fe2252ce
CreateImageWizard: Only show subscription info for RHEL*
2021-07-21 10:47:39 +02:00
Simon Steinbeiss
98c7758781
CreateImageWizard: Only show Registration section in Review if applicable
...
Closes #252
2021-07-15 12:12:02 +02:00
Simon Steinbeiss
7afb07328f
CreateImageWizard: Fix inconsistent casing Google products
...
Closes #259
2021-07-13 10:11:28 +02:00
Simon Steinbeiss
fd2f937688
CreateImageWizard: Fix inconsistent casing 'Target environment'
...
Closes #261
2021-07-13 10:11:28 +02:00
Simon Steinbeiss
93b7e4950a
CreateImageWizard: Make instructions on Review page normal font size
...
Closes #253
2021-07-13 10:10:05 +02:00
Simon Steinbeiss
a46ab6ba05
CreateImageWizard: Reorder Azure form
...
Closes #258
2021-07-13 10:09:50 +02:00
Sanne Raymaekers
67c61739c6
ImageCreateWizard: Reduce packages height to avoid overflow
2021-07-07 13:54:02 +02:00
Sanne Raymaekers
d8de57508d
ImageCreateWizard: Use imageOutputStepMapper in all imageOutput steps
...
Also renamed the stepMapper to clarify that it's just meant for the
imageOutput steps.
2021-06-30 14:15:01 +02:00
Sanne Raymaekers
1125222232
CreateImageWizard: Cleanup
...
- Remove unused eslint disable
- Remove comments
2021-06-30 14:15:01 +02:00
Sanne Raymaekers
97a25cb9ac
src: Whitespace cleanup
2021-06-30 14:15:01 +02:00
Sanne Raymaekers
14062a771e
CreateImageWizard: Remove non-existent import
2021-06-30 14:15:01 +02:00
Sanne Raymaekers
ad6eb5524c
CreateImageWizard: Add min height of list selectors in packages
2021-06-30 14:15:01 +02:00
Sanne Raymaekers
dc5a198df7
CreateImageWizard: Remove unecessary lint rule disable
2021-06-30 14:15:01 +02:00
Karel Hala
a01d00c3fe
Rename image creator and image wizard
...
The names of component and files were not matching
2021-06-30 14:15:01 +02:00
Karel Hala
09f467ffb7
Update src/Components/CreateImageWizard/steps/msAzure.js
...
Co-authored-by: jkozol <jacobdkozol@gmail.com>
2021-06-30 14:15:01 +02:00
Karel Hala
ace808943f
Remove old implementation of create image wizard
...
We don't need the old implementation anymore, this PR fully covers what the previous steps did
2021-06-30 14:15:01 +02:00
Karel Hala
9a56b859ef
Fix popover visibility
...
DDF wizard and popover has some issues with visibility, this is a quick hack so we should try fix it a bit nicer, but for time being it's fine
2021-06-30 14:15:01 +02:00
Karel Hala
0c7a1500ec
Fix review comments
2021-06-30 14:15:01 +02:00
Karel Hala
3a1b3c0d43
Add option to pass custom props
...
In order to properly use this component in edge the imageCreator component has to pass custom props down the chain
2021-06-30 14:15:01 +02:00
Karel Hala
a67e014dbe
Fix failing tests
...
DDF requires a bit altered tests to click trough the wizard so the tests won't fail
2021-06-30 14:15:01 +02:00
Karel Hala
9bf30059f6
Fix rendering of wizard by wrapping it in act
...
Tests were failing because we are now calling getUser when wizard is shown. This call is asynchronous and requires wrapping the wizard in act to wait for it to be fulfilled
2021-06-30 14:15:01 +02:00
Karel Hala
74f1293773
Skip registration for non rhel output
...
Based on new changes in master the registration step should be skipped if no RHEL output is selected
2021-06-30 14:15:01 +02:00
Karel Hala
902480dab4
Disable buttons on submit
...
Add custom submit buttons component to disable these buttons while image is created
2021-06-30 14:15:01 +02:00
Karel Hala
dbcd753bb9
Reorder the target envs
...
Update the order of envs based on new changes in master
2021-06-30 14:15:01 +02:00
Karel Hala
47f626e94f
Call api to create image
...
Copy over the previous call to create image with new values from DDF wizard
2021-06-30 14:15:01 +02:00
Karel Hala
0644cbd584
Add Radio with popover
...
New commponent Radio with popover is required to show properly popover in DDF wizard
2021-06-30 14:15:01 +02:00
Karel Hala
2d777bd30d
Add registration key
...
Fully implement registration step with conditional text fields
2021-06-30 14:15:01 +02:00
Karel Hala
fb1c949a97
Add packages selector component
...
Write fully the packages selector component which was previously registered in DDF components mapper.
2021-06-30 14:15:01 +02:00
Karel Hala
342bea611e
Add all steps except packages
...
New component to show packages needs to be created, let's create a dummy component to unblock implementing rest of the steps.
2021-06-30 14:15:01 +02:00
Karel Hala
2f3f9f9367
Add image output tiles
...
First step includes tiles so let's create output tiles component to show in this step
2021-06-30 14:15:01 +02:00
Karel Hala
c040b004ad
Add all steps and write review step
...
Basic steps with text inputs to test the navigation and formatting, add final review step component to show all values
2021-06-30 14:15:01 +02:00
Karel Hala
06d4fd718b
Add initial branching
...
Add DDF package and include initial branching based on text fields
2021-06-30 14:15:01 +02:00
Sanne Raymaekers
e86b210a22
src: Use rhel-84 instead of rhel-8
2021-06-16 11:35:05 +02:00
Sanne Raymaekers
a3c9e955a1
ImageWizard: Fix review step prop type
...
Release should be an object.
2021-06-13 13:05:17 +01:00
Jacob Kozol
043b775ced
CreateImageWizard: only enable registration for rhel images
2021-06-08 13:37:03 +02:00
Jacob Kozol
120398be8c
CreateImageWizard: display release in review screen
2021-06-08 13:37:03 +02:00
Jacob Kozol
0e5ec4fb7e
CreateImageWizard: use your image instead of the image
2021-06-03 17:04:54 +02:00
Sanne Raymaekers
d45ee17aca
src: Rename RHEL 8.3 to just RHEL 8
...
We should pull these labels/descriptions from the service, but let's do
that separately.
2021-06-03 17:04:22 +02:00