Commit graph

25 commits

Author SHA1 Message Date
regexowl
dd08069e48 Wizard: Improve validation of GCP targets
Fixes #879. This adds anchor at the beginning of the regular expression for validation of GCP targets.
2022-12-02 17:06:49 +01:00
regexowl
ab1a7f4aab ESLint: Use --fix with updated rules to order imports
This applies the updated sorting rules to the files by running `npm run lint:js:fix`
2022-12-02 16:29:58 +01:00
Sanne Raymaekers
39ec63b0c3 CreateImageWizard: custom buttons for each step
This adds custom buttons for each step, where each button has an id
taking the format `$step-(next|previous|cancel)-button`.
2022-12-01 16:31:53 +01:00
regexowl
0bced556a9 ESLint: Use --fix with new rules to order import declarations
Related to #795. This applies the new sorting rules in ESLint to the files by running `npm run lint:js:fix`
2022-09-14 13:24:38 +02:00
regexowl
dfbabc1f47 Wizard: Add clarification to AWS and GCP environment steps
Fixes #770. This clarifies that the user is responsible for copying the AWS/GCP image to their account before the image expires.
2022-08-25 10:20:04 +02:00
regexowl
401229ee96 Wizard: Fix GCP step popover text
Fixes #771. This changes `e.g.` to `For example:` and `Google Workspace
domain/Cloud Identity domain` to `Google Workspace domain or Cloud
Identity domain` as per recent SPUR.
2022-08-19 15:28:17 +02:00
Jacob Kozol
4fa71cede8 update style across the project
The eslint updates require style changes in all components.
2022-05-23 12:47:20 +02: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
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
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
Gianluca Zuccarelli
9c9be31677 CreateImageWizard: fix gcp popover
Update the popover for the gcp step
in the CreateImageWizard. This commit
changes the default popover position
to the right of the modal.
2022-03-01 17:17:41 +01:00
Ondřej Budai
40b0cdaa45 CreateImageWizard: fix the description for google group
and and
2021-11-01 10:53:21 +01: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
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
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
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
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
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
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
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