hawtio / hawtio-kubernetes

hawtio plugin for working with kubernetes
Apache License 2.0
24 stars 14 forks source link

provide a 'configure' button on Deployments page #127

Closed jstrachan closed 7 years ago

jstrachan commented 7 years ago

we now have lots of nice little UIs for editing the ConfigMap for an app. e.g. for a Deployment / DeploymentConfig "gogs", there's a nice UI for editing the ConfigMap for "gogs".

So it might be nice to have a configure button on Deployments when there's a ConfigMap of the same name; which would then link to the configmap edit page for that name

gashcrumb commented 7 years ago

On this page, right? Maybe a button in the table when a configmap for that particular deployment is there? Wonder, should we group 'scale' and this 'config' button into a single 'Actions' column?

screenshot-localhost 9000 2016-09-08 13-45-16

jstrachan commented 7 years ago

Yeah, thats the page!

I do kinda like the Pods + Scale being clear (otherwise folks might wonder what the 2 numbers on a row was. I wonder if we right align the Configure button on the Name column? Or add the configure icon after the name?

jstrachan commented 7 years ago

Mind you I guess on the pods page we put all the 'Action' buttons for details / logs / console etc in a column called 'Status' :) So maybe a separate column is required for Actions?

gashcrumb commented 7 years ago

Yeah, pods already has a lot of columns, in my particular monitor layout I have to scroll sideways to see 'em all. But there's already a status column at least for pods that we've currently used to sneak the terminal/log link. Kinda thinking having a typical column actions might be the way to go to help all these views be consistent, can start with single links/icons and move to a menu if a view starts getting a lot of actions per row?

jstrachan commented 7 years ago

sounds good!

gashcrumb commented 7 years ago

Actually decided I didn't like how the button looked in the table there, so opted for your suggestion there, how's this:

screenshot-localhost 9000 2016-09-08 16-30-31

jstrachan commented 7 years ago

Lovely!!!