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

[ENHANCEMENT] Allow empty value for non-constant TextVariables (= textbox use case) #1850

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

AntoineThebaud
Copy link
Contributor

@AntoineThebaud AntoineThebaud commented Mar 21, 2024

Description

Allow empty value for non-constant TextVariables. This is especially useful for the Grafana migrate use case, for which the non-empty value constraint is currently preventing to migrate dashboards that define Textbox variables without default value.
The constraint is kept for constants, as empty constants don't really make sense.

Checklist

  • Pull request has a descriptive title and context useful to a reviewer.
  • Pull request title follows the [<catalog_entry>] <commit message> naming convention using one of the
    following catalog_entry values: FEATURE, ENHANCEMENT, BUGFIX, BREAKINGCHANGE, DOC,IGNORE.
  • All commits have DCO signoffs.

…tbox use case)

Signed-off-by: Antoine THEBAUD <antoine.thebaud@yahoo.fr>
Copy link
Member

@celian-garcia celian-garcia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I trust you on the functional part :)

@AntoineThebaud AntoineThebaud marked this pull request as ready for review March 22, 2024 09:17
@AntoineThebaud AntoineThebaud added this pull request to the merge queue Mar 22, 2024
Merged via the queue into main with commit 6deb9f0 Mar 22, 2024
19 checks passed
@AntoineThebaud AntoineThebaud deleted the antoinethebaud/fix-textbox-migration branch March 22, 2024 09:26
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.

2 participants