Variables: Add deprecation warning for value group tags (#30160)

* Variables: Add deprecation warning for value group tags

* Removed style changes, moving to seprate PR

* Update docs/sources/variables/variable-value-tags.md

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Update docs/sources/variables/variable-value-tags.md

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
This commit is contained in:
Torkel Ödegaard 2021-01-12 10:23:58 +01:00 committed by GitHub
parent ed69edbb94
commit 94783cfe99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 5 deletions

View File

@ -1,9 +1,9 @@
+++
title = "Enter variable Selection Options"
title = "Variable selection options"
weight = 400
+++
# Enter variable selection options
# Configure variable selection options
**Selection Options** are a feature you can use to manage variable option selections. All selection options are optional, and they are off by default.

View File

@ -1,9 +1,11 @@
+++
title = "Enter Value tags"
title = "Variable value group tags"
weight = 500
+++
# Enter variable value groups/tags (experimental feature)
# Configure variable value group tags
> **Note:** This is an experimental feature that will be deprecated in Grafana v8.
Value groups/tags are a feature you can use to organize variable options. If you have many options in the dropdown for a multi-value variable, then you can use this feature to group the values into selectable tags.

View File

@ -231,7 +231,9 @@ export class QueryVariableEditorUnConnected extends PureComponent<Props, State>
/>
<VerticalGroup spacing="none">
<h5>Value groups/tags (Experimental feature)</h5>
<h5>Value group tags</h5>
<em className="muted p-b-1">Experimental feature, will be deprecated in Grafana v8.</em>
<VariableSwitchField
value={this.props.variable.useTags}
name="Enabled"