Hugo Häggmark
05b6d38374
Variables: breaks variable.ts into 2 separate files utils and types ( #22884 )
2020-03-24 05:46:31 +01:00
Hugo Häggmark
841cffbe9a
e2e: Migrates query variable CRUD tests to new framework ( #21146 )
...
* Refactor: Adds params to visit
* Refactor: Restructures exported Pages somewhat
* Refactor: Moves more into new framework but holdup because of bugs in digest
* Refactor: Finish migrating templating e2e tests to new framework
* Refactor: Changes after merge with master
* Refactor: Removes weird change
* Refactor: Adds duplication test
* Refactor: Adds move down and move up variable asserts
* Refactor: Adds some test to value select dropdown
2019-12-18 06:13:58 +01:00
Hugo Häggmark
483415ac7c
Templating: Fixes digest issues in Template Variable Editor ( #21079 )
...
* Fix: Adds extra digest after promises
* Feature: Adds promise to digest utility
2019-12-13 09:47:53 +01:00
kay delaney
ca3dff99e8
Chore: Bumps prettier version for new typescript syntax support ( #20463 )
...
* Chore: Bumps prettier version for new typescript syntax support
* Ran new version of prettier against the codebase
2019-11-19 13:59:39 +00:00
kay delaney
99411bf37a
Types: Adds type safety to appEvents ( #19418 )
...
* Types: Add type safety to appEvents
2019-10-14 09:27:47 +01:00
Tobias Skarhed
ec492e55dc
Refactor: EmptyListCTA ( #18516 )
...
* Rewrite EmptyListCTA props and start removing css classes
* Add watchDepth onClick
* EmptyListCTA with React in annotaitons/editor
* Begin conversion of DashLinks editor EmptyListCTA
* Use React component in DashLinks, Variables and TeamGroupSync
* Remove scss file and add emotion styles
* Update snapshot
* Remove style import
* Fix feedback
* Update snapshot
2019-08-20 17:19:21 +02:00
Tobias Skarhed
0ef4060b98
Chore: Fix about 200 noImplicitAny errors ( #18067 )
...
* Fix 200 ish errors
* Add interface
2019-07-16 11:35:42 +02:00
Roman Khavronenko
532abe2fc2
Templating: Do not copy hide option ( #16696 )
...
* Do not override default `hide` value of variables
Some variables like `constant` are configured to
be hidden by default and this setting must be
treated with respect.
* make textBox variable visible by default
Fixes #16695
2019-04-22 13:11:05 +02:00
Hugo Häggmark
7eabc282e9
Chore: Adds typings to lodash ( #16590 )
2019-04-15 12:11:52 +02:00
Torkel Ödegaard
8b68ba5cbb
Minor refactoring and adding some typing
2019-01-29 20:49:54 +01:00
Erik Sundell
588c5c045a
stackdriver: pass query definition from react, making it possible to use another definition than the query string only
2018-11-09 13:55:14 +01:00
Erik Sundell
4569527873
stackdriver: set currentdatasource when editview is enabled
2018-11-09 13:55:13 +01:00
Erik Sundell
3883643ea2
stackdriver: reset query value on datasource changed
2018-11-09 13:55:13 +01:00
Erik Sundell
7ccce76b80
stackdriver: return values for services and metric types
2018-11-09 13:55:08 +01:00
Erik Sundell
4f7d3fccb7
stackdriver: make sure default template query editor state is propagted to parent angular scope
2018-11-09 13:53:44 +01:00
Erik Sundell
94ac522109
stackdriver: make it possible to load react plugin components from template query page
2018-11-09 13:53:43 +01:00
Patrick O'Carroll
72ab24f300
Changed functions to arrow functions for only-arrow-functions rule. ( #13131 )
2018-09-05 07:47:30 +02:00
Patrick O'Carroll
abbb6f933c
added jsdoc-format rule and fixed files that didn't follow new rule ( #13107 )
2018-08-31 16:40:43 +02:00
Torkel Ödegaard
e1beaaa0f7
tslint: tslint to const fixes part3 ( #13036 )
2018-08-26 21:52:57 +02:00
Patrick O'Carroll
a40314022b
added pointer to show more, reset values on new query
2018-04-24 17:40:03 +02:00
Patrick O'Carroll
c2cc77fa08
added button to show more preview values for variables, button runs a function that increases options limit, fixes #11508
2018-04-23 13:00:24 +02:00
Chris Ross
4a93766143
Add case-insensitive sort for variables.
2018-04-03 22:24:21 +02:00
Daniel Lee
8aa55ee352
variables: fix when datasource returns error
2018-01-25 14:16:06 +01:00
Alexander Zobnin
e84b6d189a
fix move dashboard variables, #10347 ( #10375 )
2017-12-31 12:24:42 +01:00
Torkel Ödegaard
3a1f52d8a2
prettier: ran on all files again, sorry. now settings are defined in package.json
2017-12-21 08:39:31 +01:00
Torkel Ödegaard
85879a7014
prettier: change to single quoting
2017-12-20 12:33:33 +01:00
Torkel Ödegaard
fadfc665e4
tech: ran pretttier on all typescript files
2017-12-19 16:06:54 +01:00
Torkel Ödegaard
05ec7541c8
ux: dashboard settings progress
2017-12-11 13:04:06 +01:00
Torkel Ödegaard
7b42e13c79
typescript: stricter typescript option
2017-09-26 11:24:58 +02:00
Torkel Ödegaard
b8d9722b4f
tech: removing unused variables from typescript files, and making tslint rules more strict
2017-09-21 16:40:18 +02:00
Daniel Lee
59513ff963
tempvar: bug fix for duplicate template var
...
and a fix for when selecting the same value twice in
a template variable if it is not multi select. It threw an
exception on the second selection
2017-08-09 14:28:23 +02:00
Torkel Ödegaard
68c4ce34d5
fix: templating issue with data source variables, can now be used right away in other query variables and panels (without page reload), fixes #7510
2017-08-08 17:08:35 +02:00
Torkel Ödegaard
a5d5f3d82f
feat: add ad hoc filters directly from table panel cells, kibana 3 style, #8052
2017-08-02 16:15:22 +02:00
Denis Doria
89822acf38
More precise detection for self reference variable on templates ( #8814 )
...
This should close the bug #8773
2017-07-12 06:54:32 +02:00
Torkel Ödegaard
878121bb46
fix: templating variable name validation detecting global variable naming wrongly, fixes #8423
2017-05-19 11:14:11 +02:00
Torkel Ödegaard
8eb112d119
plugins: refactoring builtIn data source concept, now means data source plugins that you do not need to add via data sources page, that is automatically added as selectable data source, #8095
2017-04-12 08:23:44 +02:00
Daniel Lee
65910db991
template: tweak to warning message
2017-03-20 17:14:24 +01:00
thuck
555acacd6d
Validate query to avoid self-reference of variable #7614
2017-03-07 23:29:16 +01:00
bergquist
9b6571fab1
template: dont allow template variables to begin with '__'
...
closes #7678
2017-02-28 17:04:47 +01:00
Torkel Ödegaard
2a33594c02
fix(templating): fixed duplicate button bug, fixes #6652
2016-11-22 14:20:24 +01:00
Torkel Ödegaard
be99c3e20a
updates to dashboard edit mode
2016-10-28 16:26:53 +02:00
Torkel Ödegaard
7b0eb6d0bb
feat(dashboard): progress on dash edit mode
2016-10-25 16:36:40 +02:00
Torkel Ödegaard
d8df421b43
fix(build): fixed issues with optimized build, fixes #6096
2016-09-22 10:22:16 +02:00
Torkel Ödegaard
a01836e86d
feat(adhoc filters): basic implementation for ad hoc filters for elasticsearch, #6038
2016-09-21 08:48:49 +02:00
Torkel Ödegaard
15423e6e51
feat(adhoc filters): initial base mvp for adhoc filters are donecloses #6038
2016-09-20 17:34:38 +02:00
Torkel Ödegaard
7a6fb70026
feat(templating): progress on variable system refactoring, #6048
2016-09-19 18:32:09 +02:00
Torkel Ödegaard
9d6ecc6361
feat(templating): progress on variable system refactoring, #6048
2016-09-19 18:06:36 +02:00
Torkel Ödegaard
945b5ee3cf
feat(templating): progress on variable system refactoring, #6048
2016-09-19 17:03:36 +02:00