rclement / datasette-dashboards

Datasette plugin providing data dashboards from metadata
https://datasette-dashboards-demo.vercel.app
Apache License 2.0
137 stars 7 forks source link

best practice of workflow #137

Closed HaveF closed 1 year ago

HaveF commented 1 year ago

Hi, Romain,

I love you repo! ❤️ very useful!

I'm curious about your workflow. Could you please give me an overview? When I'm debugging, I find myself manually closing the server with ctrl+c every time I adjust the metadata.yml file. Then I have to restart it and refresh the page to see if the configuration is appropriate. If it's not, I have to repeat the previous steps. I'm not sure if there's a way to automate this entire process, such as automatically refreshing the page. I'm wondering how you handle it. Thanks again!

HaveF commented 1 year ago

In general, when using vega lite, the default format is JSON. Do we have a way to use the Vega-lite specification directly? If the specification is complex, converting it to YAML can feel a bit cumbersome -- while many times you can find tools to convert from YAML to JSON, there will be a lot of manual YAML <<-->> JSON conversion process if you consider that debugging is required