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

feat(exp): concept for composable visualizations #48

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sjungling
Copy link
Member

@sjungling sjungling commented Jul 12, 2024

The addition of a TextMatchTreeGrid visualization opens up an opportunity to create future visualizations that utilize this notebook in new ways by simply changing the input parameters.

For example, GitHub Secrets notebook could predefine the recipe and options used to find instances of secrets and then reference the existing TextMatchTreeGrid visualization to render the results (see: files changed)

With an addition to the visualization spec and the corresponding resolution by a service, we could avoid unnecessary duplication of notebooks, a pain point we already feel. To wit, we have five notebooks related to Dependency Usage and we must create new specs, images, and notebooks for each additional build tool/package manager we wish to add.

Proposal

Extend the visualization spec to support a visualization field that defines another visualization to use when generating a visualization. Resolve thumbnail images and notebooks from the visualization ID defined in the visualization field and use any predefined options.

@sjungling sjungling force-pushed the feat/composable-visualizations branch 5 times, most recently from 8036b3f to 80c98e6 Compare July 12, 2024 17:20
@sjungling sjungling force-pushed the feat/composable-visualizations branch from 80c98e6 to e32ef4b Compare July 12, 2024 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant