superset icon indicating copy to clipboard operation
superset copied to clipboard

Dashboard tabs

Open vibinsv09 opened this issue 9 years ago • 4 comments

I would be interested in a feature to add tabs to dashboards. This would help in easy grouping of similar views in a dashboard to separate groups and also reduce the number of queries triggered on the backend. Any quick pointers to add this feature would be really helpful.

vibinsv09 avatar Aug 04 '17 20:08 vibinsv09

This should be easy after we refactor the dashboard to be 100% React

mistercrunch avatar Aug 04 '17 22:08 mistercrunch

Refactor https://github.com/apache/incubator-superset/pull/3581 has landed, which unblocks this.

I'm thinking the way to model this in the Redux store is to add a tabs array to the dashboard object. The shape of the element in the array should include a list of slice ids and their positions, a tab title and rich optional tooltip (markdown). The slice objects themselves can stay where they are (normalize) and not fall under the tabs object hierarchy.

mistercrunch avatar Nov 16 '17 06:11 mistercrunch

I like the idea of using tabs for structuring large dashboards, but there might be some pitfalls:

How would filter slices be treated in a way that is transparent to the user? Technically, I would expect them to affect all tabs. However, on a different tab the filter slices may/will not be visible any more and users may forget about the applied filters or even expect the filters to only work on a per-tab basis.

Maybe there would also be a need to limit a filter's scope to the current tab, e.g., in a similar manner as it currently is done for individual slices.

rumbin avatar Dec 05 '17 22:12 rumbin

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

stale[bot] avatar Apr 11 '19 05:04 stale[bot]