grafana/public/app/features
gotjosh b424e12a5a
Fix: Avoid glob of single-value array variables (#18420)
* Fix: Avoid glob of single-value array variables

Based on our current implementation of templates, when multi-select
variables are part of a dashboard query the default/fallback formatting option is `glob`.

Some data sources do not support glob (e.g. metrics.{a}.* instead of
metrics.a.*) for single variable queries. This behaviour breaks dashboards.

This commit introduces an alternative formatting option where globing is avoided if it's there is only one value as part of the query variable.

This means, queries previously formatted as `query=metrics.{a}.*.*`, are
now formatted as `query=metrics.a.*.*`. However, queries formatted as
`query=metrics.{a,b}.*.*` continue to be as is.
2019-08-07 14:50:06 +01:00
..
admin Chore: noImplictAny no errors left (#18303) 2019-08-01 14:38:34 +02:00
alerting Chore: noImplictAny no errors left (#18303) 2019-08-01 14:38:34 +02:00
annotations Chore: noImplictAny no errors left (#18303) 2019-08-01 14:38:34 +02:00
api-keys Chore: noImplictAny no errors left (#18303) 2019-08-01 14:38:34 +02:00
dashboard Panels: Fixed crashing dashboards with panel links (#18430) 2019-08-07 10:45:32 +02:00
datasources Chore: noImplicitAny Sub 500 errors (#18287) 2019-07-30 15:49:32 +02:00
explore Explore: Fixes incorrect handling of utc in timeEpic (#18386) 2019-08-06 10:43:53 +02:00
folders noImplicitAny: Down approx 200 errors (#18143) 2019-07-18 08:03:04 +02:00
manage-dashboards noImplicitAny: Down approx 200 errors (#18143) 2019-07-18 08:03:04 +02:00
org noImplicitAny: Down approx 200 errors (#18143) 2019-07-18 08:03:04 +02:00
panel PanelLinks: Fix render issue when there is no panel description (#18408) 2019-08-06 14:30:09 +02:00
playlist noImplicitAny: Down approx 200 errors (#18143) 2019-07-18 08:03:04 +02:00
plugins Chore: Upgrades typescript to version 3.5 (#18263) 2019-07-26 15:14:06 +01:00
profile Chore: Fix about 200 noImplicitAny errors (#18067) 2019-07-16 11:35:42 +02:00
teams Registry: add a reusable function registry (#17047) 2019-07-16 11:40:23 -07:00
templating Fix: Avoid glob of single-value array variables (#18420) 2019-08-07 14:50:06 +01:00
users noImplicitAny: 1670 errors (#18035) 2019-07-11 17:05:45 +02:00
all.ts extract tls auth settings directive from datasource http settings directive 2019-01-28 19:37:19 +01:00