-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Add feature to edit instance group #7864
Add feature to edit instance group #7864
Conversation
Build succeeded.
|
type="text" | ||
validate={required(null, i18n)} | ||
isRequired | ||
isDisabled={instanceGroupNameField.value === 'tower'} |
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.
Thanks for your review @jakemcdermott. Updating now.
@@ -1,6 +1,6 @@ | |||
import React from 'react'; |
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.
@nixocio Since IGs don't have an add subscreen, this component isn't actually shared. I think we should move this file to InstanceGroup/InstanceGroupEdit
and delete the shared
folder (for now, that is. Container Groups may actually have a shared form but I presume you'll do that in a different PR)
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.
InstanceGroupForm
is shared between the InstanceGroupAdd
and InstanceGroupEdit
even in this case, is your suggestion still valid? I was trying to follow the same pattern that already in code basis. But it seems to be valid just in cases we have a shared subscreen
. I will evaluate this change.
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.
@nixocio Whoops, you're right. IGs do have an add form. Never mind! It is fine as is.
Add feature to edit instance group. See: ansible#7767
Build succeeded.
|
Build succeeded (gate pipeline).
|
Add feature to edit instance group.
See: #7767