Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to configure dashboards in code that lives in source control #34

Open
simonw opened this issue Mar 15, 2021 · 2 comments
Open
Labels
enhancement New feature or request research

Comments

@simonw
Copy link
Owner

simonw commented Mar 15, 2021

Dashboard configurations that live in the database could get out of sync with the database design - especially if it is being actively iterated on.

An option where you can define your dashboards in source code - probably YAML - would enable people to keep the dashboards synchronized with changes made to their models, enforced by code review.

Could even have a testing mechanism which can attempt to render every configured dashboard and check that no SQL errors (e.g. from missing columns) are returned during the renders.

Given this mechanism, users could opt-out entirely of database-driven dashboards - or they could use both.

@simonw simonw added enhancement New feature or request research labels Mar 15, 2021
@jefftriplett
Copy link

YAML or even a Django setting would be nice.

A Django fixture isn't a terrible idea though either.

@simonw
Copy link
Owner Author

simonw commented May 12, 2021

I've been resisting adding a JSON API for the data in a dashboard mainly because I get very nervous about API definitions that don't live in source control... but if I implement this feature that nervousness evaporates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request research
Projects
None yet
Development

No branches or pull requests

2 participants