-
Notifications
You must be signed in to change notification settings - Fork 667
kubevirt: VMWizard - redesign and import the first step (General) #2452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kubevirt: VMWizard - redesign and import the first step (General) #2452
Conversation
|
/hold |
|
The wizard is not complete yet, but the features and steps will be added incrementally in the future |
f022fd9 to
8649190
Compare
e12144b to
22fe8bd
Compare
|
@rawagner this is looking great! Thank you for doing this :) |
22fe8bd to
aaf0438
Compare
There will be in the future, but I put
We are doing real-time validation of input, so the user doesn't have click on the button to see the error messages. This way it is more natural to keep in disabled until all required fields are valid.
All done!
User will see these alerts when they open the dialog. These are alerts for the resources which could not load correctly. And these might be used by multiple fields or none.
switched to text area
np, thanks for the comments :) current version: |
|
@suomiy
Is this a real scenario or just a placeholder? I'm assuming in this scenario they've tried to create this VM and ran into this error and are now back in the wizard trying to correct it? If that's the case wouldn't they be on the results page? From there they would go to the storage step to correct the issue with the storage class so they could see this error on the page. What have I missed :) ? |
I agree, you have good points. I am not tackling the VMWizard navigation & logic much in this PR.
Real scenario. No, they just opened the dialog without filling anything and are presented with these errors; usually permission issues which result in an inability of using the whole wizard. |
aaf0438 to
02754a6
Compare
|
rebased |
fc310a1 to
5aa2118
Compare
5aa2118 to
8ead321
Compare
Not sure, because there are some errors which will disable the dialog only partially (e.g. datavolumes). You can still create some configurations without them. |
|
/retest |
1 similar comment
|
/retest |
8ead321 to
1d32e73
Compare
|
fixed issues mentioned in offline review |
41de66a to
f590bfc
Compare
|
/hold cancel |
|
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed unnecessary prop
note: the full feature footer is implemented in the followup #2565
|
lgtm |
f590bfc to
b21cb13
Compare
- adds form helpers like FormFieldRow - uses immutables and memoization for performance - adds EnhancedK8sMethods - move wizard logic to actions
b21cb13 to
d73e6c4
Compare
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rawagner, suomiy The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |



depends on:
shared: PopoverStatus - support active icon and showing popover without header #2453
bump patternfly/react-core #2677
adds form helpers like FormFieldRow
uses immutables and memoization for performance
adds EnhancedK8sMethods
move wizard logic to actions
@mareklibra @rawagner please review
according to the new design
http://openshift.github.io/openshift-origin-design/web-console/knikubevirt/knikubevirt
@matthewcarleton