As a user I can see system wide applications in the nav
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
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?
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 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
@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
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
Agreed; I think that there will need to be UX around how we can present these nicely. The menu system would be too clunky.
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 More things like the k8s dashboard nav...
I agree about a page that let's you browse all the system-level choices.
I have changed this to the implementation story since the context is all here. I am closing #571
This will get fixed by custom application views