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

Add option to import raw json config directly when creating new dashboards. #31

Closed
christabor opened this issue Aug 24, 2016 · 0 comments

Comments

@christabor
Copy link
Owner

christabor commented Aug 24, 2016

When building a new dashboard, it would be nice to be able to drop in an entire config with the raw config directly, instead of creating modules one at a time.

For example, this one is a fairly involved: https://github.com/christabor/flask_jsondash/blob/master/examples/config/kitchensink.json

Certain elements would need to be stripped out, and would not get written directly as-is to the database, for security and safety (or relevance: e.g. postgresql will not store the data exactly the same).

Another useful reason for this is that since the project is meant to encourage "decentralized dashboards" by housing data elsewhere, in an open-ended fashion, this means sharing configurations would be easy and promote a community of dashboarding (in the same sense as ipython notebooks), while being open source and self-hosted.

Requirements:

  • Strip out guid on all modules and regenerate
  • Strip out ID entirely
  • Strip out date, and regenerate based on import time.

These should all happen server-side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant