-
Notifications
You must be signed in to change notification settings - Fork 143
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 custom action support for models already exposed in api that need it #163
Add custom action support for models already exposed in api that need it #163
Conversation
5b3afc9
to
47587e3
Compare
@d-m-u needs specs for those, maybe enhance custom_actions_spec.rb to handle all these updated collections in a common way for custom actions ? |
@d-m-u see the tests I wrote here for availability_zones custom actions: You can use that file and extend it similarly for all other collections we're exposing the custom actions for in this PR. Thanks, /cc'ing @jntullo & @gtanzillo |
00a99de
to
e0e089e
Compare
9aa769a
to
1e50c80
Compare
@miq-bot assign @gmcculloug |
@miq-bot unassign @gmcculloug |
@d-m-u unrecognized command 'unassign', ignoring... Accepted commands are: add_label, assign, close_issue, move_issue, remove_label, rm_label, set_milestone |
@gtanzillo @abellotti Who should this be assigned to? (Hint: not me 🙏 ) |
Aside from @abellotti's performance concern, the custom actions being supported on all the new objects looks good to me. |
Thanks @eclarizio for testing them out 🙇 |
@d-m-u I need to bother you to create a second PR 🙇 As per ManageIQ/manageiq#16467 not all of the collections targeted here are meant for the G-release, so the separate PR needs to be created for the collections meant to have custom_actions for the G-release. these include:
Thank you. /cc @gmcculloug |
215292f
to
7cbdf7d
Compare
@jntullo or @abellotti can you give this and the counterpart #213 a 👀 just to make sure I didn't done goof on something silly once more please? |
This pull request is not mergeable. Please rebase and repush. |
Can't seem to find the custom_actions tests for these 8 collections. |
61cb77a
to
3daaf6a
Compare
This pull request is not mergeable. Please rebase and repush. |
49834b9
to
68b3b35
Compare
68b3b35
to
08f7b28
Compare
Checked commits d-m-u/manageiq-api@a9aa00d~...08f7b28 with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0 **
|
@abellotti before hitting the button on this (custom button?), have we considered the particularly thorny performance issues surrounding custom actions currently, i.e. #146 ? |
LGTM!! Thanks @d-m-u for updating this PR. 👍 |
Adds model custom action for models that support custom buttons.
In wip because it requires UI components to be added to all these as well
Related to
Host:
eclarizio/manageiq@8ca5858
eclarizio/manageiq-ui-classic@f7d05b4
eclarizio@e637616
Everything else:
ManageIQ/manageiq#16369