I want to be able to specify which dashboards are listed on the “Example” tab of the landing page
See original GitHub issueProblem
I would like to curate my own Superset example dashboards (that would use “real” data and be user-specific), and that these dashboards appear in the “Example” tab in Superset landing page.
Describe the solution you’d like
I would like to be able to define in a given dashboard settings, whether this dashboard is an Example dashboard or not — e.g. via a toggle switch.
One might want to protect this feature with a specific privilege (so that only a few people can define the Examples of all users of the Superset instance).
Alternatives considered
As discussed on Slack, an “Example” dashboard is a dashboard which created_by_fk
is NULL
. My current workaround is to UPDATE dashboards SET created_by_fk = NULL WHERE id = <my_dashboard_id>;
on the back-end database… but it’s not exactly a good practice and I don’t always have admin access to back-end dbs.
Additional context
This question is related to (yet distinct from) #17408 : we’re here talking about the end result, not the back-end implementation.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top GitHub Comments
I think the idea of expanding this concept and providing a way to categorize dashboards is the way to go. https://github.com/apache/superset/issues/17408#issuecomment-967008981
I can understand that being able to set a Dashboard as an example might be useful to some, but the level of abstraction that categorization would bring is a big big plus. The only downside is that it might come with some complexity and design considerations.
I believe the best approach to get attention and consensus is to write a SIP https://github.com/apache/superset/issues/5602. I can help with that @EBoisseauSierra
Hey @Bottlecapps why not creating a new issue with more information about the feature and how you envision that?