grafana / plugin-tools

Create Grafana plugins with ease.
https://grafana.com/developers/plugin-tools/
Apache License 2.0
57 stars 31 forks source link

Plugin-E2E: Allow setting custom visualization #853

Closed sunker closed 6 months ago

sunker commented 6 months ago

What this PR does / why we need it:

The panel edit page api allows you to select a panel visualization. Currently, you're only allowed to specify a viz name defined in this type (the most common panel plugin names). However, users need to be able to specify any viz name so they can set custom visualizations. This PR changes signature of the setVisualization method so that it also accepts strings too.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

github-actions[bot] commented 6 months ago

Hello! 👋 This repository uses Auto for releasing packages using PR labels.

✨ This PR can be merged and will trigger a new minor release. NOTE: When merging a PR with the release label please avoid merging another PR. For further information see here.

grafana-plugins-platform-bot[bot] commented 6 months ago

:rocket: PR was released in @grafana/plugin-e2e@0.27.0 :rocket: