Dashboard: Improve static options editors on variables (#110831)
This commit is contained in:
@@ -500,24 +500,9 @@ export const versionedPages = {
|
||||
queryOptionsQueryInput: {
|
||||
'10.4.0': 'data-testid Variable editor Form Default Variable Query Editor textarea',
|
||||
},
|
||||
queryOptionsStaticOptionsRow: {
|
||||
[MIN_GRAFANA_VERSION]: 'Variable editor Form Query Static Options row',
|
||||
},
|
||||
queryOptionsStaticOptionsToggle: {
|
||||
[MIN_GRAFANA_VERSION]: 'Variable editor Form Query Static Options toggle',
|
||||
},
|
||||
queryOptionsStaticOptionsLabelInput: {
|
||||
[MIN_GRAFANA_VERSION]: 'Variable editor Form Query Static Options Label input',
|
||||
},
|
||||
queryOptionsStaticOptionsValueInput: {
|
||||
[MIN_GRAFANA_VERSION]: 'Variable editor Form Query Static Options Value input',
|
||||
},
|
||||
queryOptionsStaticOptionsDeleteButton: {
|
||||
[MIN_GRAFANA_VERSION]: 'Variable editor Form Query Static Options Delete button',
|
||||
},
|
||||
queryOptionsStaticOptionsAddButton: {
|
||||
[MIN_GRAFANA_VERSION]: 'Variable editor Form Query Static Options Add button',
|
||||
},
|
||||
queryOptionsStaticOptionsOrderDropdown: {
|
||||
[MIN_GRAFANA_VERSION]: 'Variable editor Form Query Static Options Order dropdown',
|
||||
},
|
||||
@@ -559,6 +544,12 @@ export const versionedPages = {
|
||||
customValueInput: {
|
||||
[MIN_GRAFANA_VERSION]: 'data-testid custom-variable-input',
|
||||
},
|
||||
optionsOpenButton: {
|
||||
[MIN_GRAFANA_VERSION]: 'data-testid custom-variable-options-open-button',
|
||||
},
|
||||
closeButton: {
|
||||
[MIN_GRAFANA_VERSION]: 'data-testid custom-variable-close-button',
|
||||
},
|
||||
},
|
||||
IntervalVariable: {
|
||||
intervalsValueInput: {
|
||||
@@ -607,6 +598,26 @@ export const versionedPages = {
|
||||
['12.3.0']: 'data-testid switch variable disabled value input',
|
||||
},
|
||||
},
|
||||
StaticOptionsEditor: {
|
||||
addButton: {
|
||||
[MIN_GRAFANA_VERSION]: 'data-testid Variable editor Form Static Options Add button',
|
||||
},
|
||||
labelInput: {
|
||||
[MIN_GRAFANA_VERSION]: 'data-testid Variable editor Form Static Options Label input',
|
||||
},
|
||||
valueInput: {
|
||||
[MIN_GRAFANA_VERSION]: 'data-testid Variable editor Form Static Options Value input',
|
||||
},
|
||||
moveButton: {
|
||||
[MIN_GRAFANA_VERSION]: 'data-testid Variable editor Form Static Options Move button',
|
||||
},
|
||||
deleteButton: {
|
||||
[MIN_GRAFANA_VERSION]: 'data-testid Variable editor Form Static Options Delete button',
|
||||
},
|
||||
row: {
|
||||
[MIN_GRAFANA_VERSION]: 'data-testid Variable editor Form Static Options Row',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user