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

[Discuss] Define standard visualization capabilities as contracts #2824

Open
joshuarrrr opened this issue Nov 8, 2022 · 0 comments
Open
Labels
unified visualization UX visualizations Issues and PRs related to visualizations

Comments

@joshuarrrr
Copy link
Member

To enable a consistent experience across all visualizations, we first need to catalog and document the "standard" behaviors and interactions that we expect all visualizations to provide, regardless of how they're implemented. A contract-based approach would provide several benefits:

  1. Apps which embed visualizations (e.g. dashboards) will be able to know which visualizations support global operations (e.g. filter updates), and which don't. This means that we can also provide standard user feedback and messaging for when they try an action on a visualization that doesn't support that capability (e.g. clicking on a chart that doesn't support data-based value filtering).
  2. Plugins which need to implement their own visualizations "from scratch" (e.g. large scale network diagrams, 3-D models), they will have a menu of standard interactions to target as best as possible, and a way of opting out of interactions they can't support.

As another example, we want visualizations to be responsive by default, and usable useful at a variety of sizes. But some visualizations may very well have a minimum embeddable size, below which they just don't make sense. By capturing the visualization size ranges as a capability, dashboards would be able to optimally size the embedded panel for visualizations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unified visualization UX visualizations Issues and PRs related to visualizations
Projects
None yet
Development

No branches or pull requests

1 participant