-
Notifications
You must be signed in to change notification settings - Fork 985
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
Hostgroup bulk actions : Reassign hostgroups #10202
Conversation
sjha4
commented
Jun 10, 2024
•
edited
Loading
edited
- Build select dropdown for hostgroups for reassignment
f819ec7
to
68d093a
Compare
468dcf1
to
f5374b6
Compare
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.
;)
webpack/assets/javascripts/react_app/components/HostsIndex/index.js
Outdated
Show resolved
Hide resolved
b917a2c
to
369ba65
Compare
.../assets/javascripts/react_app/components/HostsIndex/BulkActions/reassignHostGroup/actions.js
Show resolved
Hide resolved
369ba65
to
f77c8b9
Compare
.../react_app/components/HostsIndex/BulkActions/reassignHostGroup/BulkReassignHostgroupModal.js
Outdated
Show resolved
Hide resolved
f77c8b9
to
325e095
Compare
.../react_app/components/HostsIndex/BulkActions/reassignHostGroup/BulkReassignHostgroupModal.js
Outdated
Show resolved
Hide resolved
.../react_app/components/HostsIndex/BulkActions/reassignHostGroup/BulkReassignHostgroupModal.js
Outdated
Show resolved
Hide resolved
.../react_app/components/HostsIndex/BulkActions/reassignHostGroup/BulkReassignHostgroupModal.js
Outdated
Show resolved
Hide resolved
...ck/assets/javascripts/react_app/components/HostsIndex/BulkActions/reassignHostGroup/index.js
Outdated
Show resolved
Hide resolved
325e095
to
3b0971e
Compare
Updated to add typeahead to select dropdown and address other reviews. |
fca9a7c
to
9ea0843
Compare
94e15e9
to
2e138a4
Compare
2e138a4
to
5e4f7bf
Compare
5e4f7bf
to
630e681
Compare
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.
Tested with both old and new page. Hostgroups are assigned as expected.
also translations look good now 👍
Thanks @sjha4! ACK
@@ -63,6 +63,21 @@ def build | |||
end | |||
end | |||
|
|||
api :PUT, "/hosts/bulk/reassign_hostgroups", N_("Reassign hostgroups") |
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.
REST API wise I think POST /hostgroups/:id/hosts
would be cleaner but I see the bulk pattern is already established so I'm not going to block on this.