-
Notifications
You must be signed in to change notification settings - Fork 357
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
Playbook automate method changes #2114
Playbook automate method changes #2114
Conversation
1051660
to
2b09d53
Compare
@h-kataria Changes look good. I was able to add/update new playbook type method. |
@h-kataria From the sceenshot it looks like the "Escalate Privilege" option is missing. |
@gmcculloug, on one of the calls @tinaafitz @syncrou had suggested to only keep Verbosity option on that screen and remove TTL, Escalate Privileges options. |
b2c5e2d
to
c66c22b
Compare
@gmcculloug Escalate Privilege checkbox has been added to Playbook method editor. |
@martinpovolny addressed your comments above |
3ef1466
to
f9c8bda
Compare
Added angular form to be displayed when user selects to add/edit "playbook" type Automate method, all other types are still using old haml form https://www.pivotaltracker.com/story/show/149747321
And some other minor cleanup/changes
Moved couple of common methods to application controller. Removed some unrequired/leftover code https://www.pivotaltracker.com/story/show/149747321
Fixed minor bug found during testing with validation of input parameter name. https://www.pivotaltracker.com/story/show/149747321
Added 'playbookReusableCodeMixin' for playbook related common methods. https://www.pivotaltracker.com/story/show/149747321
Needed to add checks if @angular_form is set to handle screens differently for Playbook type method add/edit. https://www.pivotaltracker.com/story/show/149747321
- removed a leftover debugging statement from view - moved methods that should be private to private area https://www.pivotaltracker.com/n/projects/1613907/stories/149747321
- Made changes to store all API.get promises and resolve them all at once and set afterGet flag to load the form - Fixed a repositoryChanged method call https://www.pivotaltracker.com/story/show/149747321
Hoping to fix code climate warning for "Avoid using a variable and instead use chaining with the getter syntax." https://www.pivotaltracker.com/story/show/149747321
- Addressed more PR review comments - Fixed broken spec test https://www.pivotaltracker.com/story/show/149747321
f9c8bda
to
d24f423
Compare
Checked commits h-kataria/manageiq-ui-classic@a23f61d~...d24f423 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 app/controllers/application_controller.rb
app/helpers/view_formatting_helper.rb
app/views/layouts/angular/_ansible_form_options_angular.html.haml
app/views/miq_ae_class/_angular_inputs_form.html.haml
app/views/miq_ae_class/_class_instances.html.haml
|
@martinpovolny please re-review, spec test failures are unrelated to changes in this PR |
https://www.pivotaltracker.com/story/show/149747321
core PR: ManageIQ/manageiq#15939