Skip to content
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 button classes #2371

Merged
merged 7 commits into from
Nov 3, 2017
Merged

Conversation

ZitaNemeckova
Copy link
Contributor

@ZitaNemeckova ZitaNemeckova commented Oct 12, 2017

Adding custom buttons to Container Node, Group, Tenant and User.

Create custom button without dialog:

Automation -> Automate -> Customization -> Buttons -> create a custom button without a dialog

Created buttons should show at:

Compute -> Containers -> Container Nodes
Configuration (right upper corner) -> Access Control -> Users/Groups/Tenants

https://www.pivotaltracker.com/story/show/147778977

Backend PR: ManageIQ/manageiq#16181 MERGED

After:
screen shot 2017-10-31 at 1 26 06 pm

@miq-bot add_label wip, enhancement, euwe/no, automation/automate, pending core

https://bugzilla.redhat.com/show_bug.cgi?id=1508770

Issue with button that has a dialog will be solved in separate PR #2593.

@miq-bot miq-bot changed the title Add button classes [WIP] Add button classes Oct 12, 2017
@ZitaNemeckova ZitaNemeckova force-pushed the add_button_classes branch 3 times, most recently from 321bd65 to a9789b3 Compare October 13, 2017 13:05
@ZitaNemeckova
Copy link
Contributor Author

@miq-bot add_label fine/no

@ZitaNemeckova
Copy link
Contributor Author

@miq-bot remove_label pending core

@miq-bot
Copy link
Member

miq-bot commented Oct 18, 2017

This pull request is not mergeable. Please rebase and repush.

@@ -13,6 +13,8 @@ def custom_toolbar_explorer
Mixins::CustomButtons::Result.new(:single)
elsif @lastaction == "show_list"
Mixins::CustomButtons::Result.new(:list)
elsif x_tree[:tree] == :rbac_tree
@lastaction == "show_list" ? Mixins::CustomButtons::Result.new(:list) : Mixins::CustomButtons::Result.new(:single)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is just Mixins::CustomButtons::Result.new(:single)

(the show_list branch will never happen because it will match on line 14)

@ZitaNemeckova
Copy link
Contributor Author

@miq-bot add_label gaprindashvili/yes

@miq-bot
Copy link
Member

miq-bot commented Oct 31, 2017

Checked commits ZitaNemeckova/manageiq-ui-classic@525fda8~...c924fff with ruby 2.3.3, rubocop 0.47.1, and haml-lint 0.20.0
9 files checked, 1 offense detected

config/routes.rb

  • ❗ - Line 2747, Col 4 - Style/IndentHash - Indent the right brace the same as the start of the line where the left brace is.

@ZitaNemeckova
Copy link
Contributor Author

@miq-bot remove_label wip

@miq-bot miq-bot changed the title [WIP] Add button classes Add button classes Oct 31, 2017
@miq-bot miq-bot removed the wip label Oct 31, 2017
@ZitaNemeckova
Copy link
Contributor Author

@mzazrivec please have a look. Issues with dialog will be resolved in separate PR. Thanks :)

@ZitaNemeckova
Copy link
Contributor Author

@miq-bot add_label bug

@miq-bot miq-bot added the bug label Nov 2, 2017
@h-kataria h-kataria self-assigned this Nov 3, 2017
@h-kataria h-kataria added this to the Sprint 73 Ending Nov 13, 2017 milestone Nov 3, 2017
@h-kataria h-kataria merged commit 0697177 into ManageIQ:master Nov 3, 2017
simaishi pushed a commit that referenced this pull request Nov 7, 2017
Add button classes
(cherry picked from commit 0697177)
@simaishi
Copy link
Contributor

simaishi commented Nov 7, 2017

Gaprindashvili backport details:

$ git log -1
commit 4e2ca64e73457d4930d0d5e15701dc29a8815a12
Author: Harpreet Kataria <[email protected]>
Date:   Fri Nov 3 09:27:23 2017 -0400

    Merge pull request #2371 from ZitaNemeckova/add_button_classes
    
    Add button classes
    (cherry picked from commit 0697177b8393f42237705aebf97e159b93f1215b)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants