chronograf icon indicating copy to clipboard operation
chronograf copied to clipboard

As a user I can see system wide applications in the nav

Open nhaugo opened this issue 10 years ago • 11 comments

nhaugo avatar Nov 15 '16 17:11 nhaugo

One way we can do this is by adding an option like "system-wide": true to the layout definitions.

We can also just hardcode these things in on the front end. Depending on how many of these we want to have and if we expect this list to grow a lot over time, we could just know to search for the "kubernetes" definition and the others.

I think it makes sense to add a "System dashboards" link in the "Infrastructure" section of the navigation and then have a page on which we can show all of these things

willpiers avatar Dec 08 '16 22:12 willpiers

Couldn't any layout be used already as system-wide? Currently, we add WHERE host = "foo". Instead, couldn't we just add GROUP BY host?

goller avatar Dec 08 '16 22:12 goller

hmm. yeah, that is a good point.

You think we could just list out all of the layouts? And then when you click into one, we just add "\"host\"" to the groupbys list?

willpiers avatar Dec 08 '16 23:12 willpiers

@willpiers yes, I'm thinking that this logic becomes more sophisticated: https://github.com/influxdata/chronograf/blob/master/ui/src/shared/components/LayoutRenderer.js#L59-L81

goller avatar Dec 08 '16 23:12 goller

@willpiers In many ways, it would be a generalization of the approach of the k8s app: https://github.com/influxdata/chronograf/blob/master/ui/src/kubernetes/components/KubernetesDashboard.js

goller avatar Dec 08 '16 23:12 goller

Hm, yeah that all makes sense. I was under the assumption that we'd have a very small list of these. Now I'm realizing that was probably not a good assumption

willpiers avatar Dec 08 '16 23:12 willpiers

Agreed; I think that there will need to be UX around how we can present these nicely. The menu system would be too clunky.

goller avatar Dec 08 '16 23:12 goller

Yeah, IMO there should be a link in the navigation that takes you to a page to browse all of the system-level choices. You think that is clunky? or putting more things like "Kubernetes Dashboard" in the nav is clunky?

willpiers avatar Dec 08 '16 23:12 willpiers

@willpiers More things like the k8s dashboard nav...

I agree about a page that let's you browse all the system-level choices.

goller avatar Dec 08 '16 23:12 goller

I have changed this to the implementation story since the context is all here. I am closing #571

nhaugo avatar Jan 05 '17 00:01 nhaugo

This will get fixed by custom application views

nhaugo avatar Mar 27 '17 21:03 nhaugo