-
Notifications
You must be signed in to change notification settings - Fork 91
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
Added custom buttons to VM details page #750
Conversation
Checked commits https://github.com/chalettu/manageiq-ui-service/compare/f2569a62ae850128a352bc41f07daaec61a1cec1~...f2c6f137c530b15b2acee92ce95906b64e4e8fed with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
@ManageIQ/core-ux for your review. |
@chalettu the mock is showing custom button and button groups without icons, which looks great! Does the code support displaying an icon if there is one as well? @chriskacerguis do we have a separate issue or PV for adding custom buttons for VMs on the service details page? |
@serenamarie125 yes, there is a separate PT for that (and the custom icons) Custom images: https://www.pivotaltracker.com/story/show/143798905 Service details: https://www.pivotaltracker.com/story/show/142773333 [edit]: added links |
@@ -46,6 +46,8 @@ export function VmsService(CollectionsApi, RBAC) { | |||
'compliances', | |||
'cpu_affinity', | |||
'created_on', | |||
'custom_actions', |
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.
I belieeeeeeve adding these new attributes will break mock api get requests... probably should update that 😬
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.
Yeah, they will. I have an update for mock api that I will submit that should fix these
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.
👍
@serenamarie125 can you approve it quickly, thanks |
Added custom buttons to VM details page (cherry picked from commit 4918c1a) https://bugzilla.redhat.com/show_bug.cgi?id=1450502
Fine backport details:
|
@chalettu @chriskacerguis please take a look at Travis failure for
|
Not sure what do on this one @chriskacerguis. I double checked the code and we are defining lodash. This seems like something going wrong with Travis. |
I restarted the job...let's see what we see |
|
No. Basically, it's saying it can't find lodash but, it is installed, and injected...so not sure the issue. |
Figured it out. Its missing one small thing in that file that probably due to some other changes for vm details not being in fine. @simaishi how do you want me to go about fixing it? |
Can you please create a Fine PR, referencing this? |
Depends on: ManageIQ/manageiq#14817 |
PV https://www.pivotaltracker.com/story/show/142774757
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1450473