datopian / carbondoomsday

Carbon dashboard on datahub
https://carbon.datahub.io/
41 stars 5 forks source link

View config should be local in dashboard not in dataset #12

Open rufuspollock opened 5 years ago

rufuspollock commented 5 years ago

For a dashboard like this we want the view local and we just load the data package and then apply our view part (we can discard the view in the original data package).

anuveyatsu commented 5 years ago

@rufuspollock that sounds possible with our current setup. We will have view.json somewhere in the root dir of the dashboard.

rufuspollock commented 5 years ago

@anuveyatsu great. Keep it as KISS as possible - we can refactor as we go along. I imagine you have a set up where each graph panel is a standard react component and then you are binding into it (via redux??) the data (config) and the view and then the data gets loaded via a call out.