[time_table] adding support for URLs / links (#3600)

Using Mustache templating and providing {{ metric }} as well as
{{ ...formData }} as context.
This commit is contained in:
Maxime Beauchemin
2017-10-10 11:54:21 -07:00
committed by GitHub
parent 80eb9c2c64
commit d7f8a7fde3
3 changed files with 17 additions and 6 deletions

View File

@@ -379,6 +379,7 @@ export const visTypes = {
controlSetRows: [
['groupby', 'metrics'],
['column_collection'],
['url'],
],
},
],
@@ -386,6 +387,11 @@ export const visTypes = {
groupby: {
multiple: false,
},
url: {
label: t(
"Templated link, it's possible to include {{ metric }} " +
'or other values coming from the controls.'),
},
},
},