Pavel Zavora
20e0d97ea0
feat(fluxWizard): test fluxPeriodFromRangeSeconds fn
2022-01-26 14:07:25 +01:00
Pavel Zavora
2aaf8ac4e1
feat(ui): support flux in hydrateTemplates
2021-03-11 21:04:40 +01:00
Pavel Zavora
d73ab2c50c
chore(ui): remove url state from TemplateQueryFetcher
2021-03-11 21:04:40 +01:00
Pavel Zavora
8caa39f0d4
feat(ui): introduce TemplateType.FluxQuery
2021-03-11 21:04:40 +01:00
Bucky Schwarz
fff7836818
feat(ui): Template variables can now select their source database
2020-02-06 13:10:41 -08:00
Delmer
d9c46c6d28
fix(ui/mapVarsToCSV): double quote map template values ( #5118 )
2019-03-18 15:50:31 -04:00
Brandon Farmer
d8f1b42501
Be less aggressive on windowInterval
...
- backport logic from v2 line
2019-02-12 13:27:46 -08:00
Christopher Henn
e664d26053
Refactor auto group by logic
2018-10-26 08:45:10 -07:00
Christopher Henn
176c0ab07f
Add support for interval template variable in Flux
2018-10-18 13:43:57 -07:00
Christopher Henn
85f222b62e
Fix template variable replacement within regexes
...
Template variables used within regexes would not replace when the query
contained a '/' before the regex in the query (see test).
This commit rewrites the logic for replacing template variables within
regexes.
2018-07-23 10:08:45 -07:00
Christopher Henn
cf7f44715b
Add tests for Text template value resolution
2018-07-20 15:16:20 -07:00
Christopher Henn
eb258cf314
Refactor template variable resolution
...
Now handles the `Text` case properly.
2018-07-20 15:16:20 -07:00
Christopher Henn
25b3a3d89c
Ensure Map templates track selections
2018-07-18 16:55:20 -07:00
Christopher Henn
7e20617d17
Fix failing replacement tests
...
Since all tests shared the same `emptyTemplate` fixture, the `id` used
for each template in the graph construction was being clobbered.
2018-07-17 15:53:36 -07:00
Christopher Henn
a02712942a
Rename module
2018-07-17 15:53:36 -07:00
Christopher Henn
6a413070f9
Render templates in topologically sorted order
2018-07-17 15:53:36 -07:00
Christopher Henn
366b345641
Use template values when constructing dependency graph
2018-07-17 15:53:36 -07:00
Christopher Henn
a022147177
Add tests
2018-07-16 12:24:31 -07:00
Christopher Henn
cc2de563dd
Support multi-level template dependencies
2018-07-16 12:24:31 -07:00
Christopher Henn
6b1e38e377
Use sorted templates in query template replacement
...
This ensures that CSV and Map templates whose values contain other
templates are rendered approriately in the replaced query. For more
context, see #3853 .
2018-07-13 17:38:54 -07:00
Iris Scholten
6b85d7e936
Fix viewers getting logged out when changing text temp var
2018-07-13 17:00:07 -07:00
Christopher Henn
4aa30e92b1
Add tests
2018-07-11 15:10:56 -07:00
Christopher Henn
22ee0e911f
Rename TemplateControlDropdown to TemplateControl
2018-07-11 15:10:56 -07:00
Christopher Henn
983550cb9e
Support nested template variables
2018-07-06 15:04:49 -07:00
Delmer Reed
225f91e998
Rename TemplateValue picked to localSelected
...
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-07-02 17:01:03 -04:00
ebb-tide
de546b7894
Fix replace tempvars to work with selected and picked template vars
2018-06-29 15:50:44 -07:00
Delmer Reed
1c7ad016fa
Merge remote-tracking branch 'origin' into tempvars/select-default
2018-06-29 13:03:19 -04:00
Andrew Watkins
36bda0b0f8
Fix spelling errors
2018-06-28 13:44:49 -07:00
ebb-tide
614d2c6e64
WIP pick instead of select tempvars
...
Co-authored-by: Delmer Reed <delmer814@gmail.com>
2018-06-28 11:27:52 -07:00
Andrew Watkins
6c4f74cbcf
First pass at tempVar frontent plumbing
2018-06-27 17:06:18 -07:00
Andrew Watkins
e82539d88c
Refine replacement of Regex
2018-06-27 17:05:35 -07:00
Andrew Watkins
7db0ae74b9
Move replate replacement functions to the frontend
2018-06-27 17:05:35 -07:00
Andrew Watkins
905dce7140
Calc auto group by on the frontend
2018-06-27 17:05:35 -07:00
Andrew Watkins
5cc0ef0050
WIP template variable replacement frontend
2018-06-27 17:05:35 -07:00
ebb-tide
169a4dbf46
Merge branch 'master' into tempvars/select-default
2018-06-27 15:30:12 -07:00
Delmer Reed
b1932352c9
Rename default to selected and use picked as an ephemeral ui value
...
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-06-27 17:17:09 -04:00
Alex P
ddc0781a9f
Move overlay related components to new "Reusable UI" directory
2018-06-26 17:45:52 -07:00
Alex P
8c8fcbb3b3
Fix failing test
2018-06-26 17:36:20 -07:00
Christopher Henn
80b3f84b16
Tweak OverlayTechnology lifecycle and fix test
2018-06-26 16:53:05 -07:00
Delmer Reed
67c0cc470b
Merge remote-tracking branch 'origin/feature/upload-template-var-csv' into tempvars/select-default
2018-06-26 16:34:42 -04:00
ebb-tide
7cd3e79904
Merge branch 'master' into feature/upload-template-var-csv
2018-06-26 11:25:09 -07:00
Alirie Gray
8909b2e4a5
Enable selection of default values for tempvars
...
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-06-22 19:26:38 -07:00
Alirie Gray
db3cca42fd
Replace separate CSV manual and file entry dropdowns with one builder type that accepts both
...
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-06-22 12:50:16 -07:00
ebb-tide
c86904f071
Convert CSV TemplateType to CSVManual
...
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-06-20 17:15:40 -07:00
Christopher Henn
e365966d4c
Add TemplateControlBar test
2018-06-20 12:48:20 -07:00
Christopher Henn
5a30e4a202
Add TemplateControlDropdown test
2018-06-20 12:47:46 -07:00
Christopher Henn
2a2d172ed3
Refactor TemplateControlBar test
2018-06-20 11:26:51 -07:00
Christopher Henn
2d3871e682
Introduce new template variables UI
...
PR: #3683
2018-06-18 07:16:08 -07:00