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

Snapshots: Prevent creation of snapshot of nonexistent dashboard #86806

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

lucychen-grafana
Copy link
Contributor

@lucychen-grafana lucychen-grafana commented Apr 23, 2024

What is this feature?

Snapshots can be created through API with a dashboard that does NOT exists in the current org. The created snapshot link does not since the dashboard does not exist. A validation check to make sure the dashboard exists is added before snapshot can be created

Why do we need this feature?

To prevent creation of broken snapshots through API

Who is this feature for?

Users who create snapshots through API

Which issue(s) does this PR fix?:

Fixes ##86705

Special notes for your reviewer:

Please check that:

  • It works as expected from a user's perspective.
  • If this is a pre-GA feature, it is behind a feature toggle.
  • The docs are updated, and if this is a notable improvement, it's added to our What's New doc.

@lucychen-grafana lucychen-grafana marked this pull request as ready for review April 24, 2024 15:06
@lucychen-grafana lucychen-grafana requested review from a team as code owners April 24, 2024 15:06
@lucychen-grafana lucychen-grafana requested review from juanicabanas and evictorero and removed request for a team April 24, 2024 15:06
@lucychen-grafana lucychen-grafana added no-backport Skip backport of PR no-changelog Skip including change in changelog/release notes labels Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Snapshots: Prevent creation of snapshot of nonexistent dashboard
1 participant