kay delaney
bad048b7ba
Performance: Standardize lodash imports to use destructured members ( #33040 )
...
* Performance: Standardize lodash imports to use destructured members
Changes lodash imports of the form `import x from 'lodash/x'` to
`import { x } from 'lodash'` to reduce bundle size.
* Remove unnecessary _ import from Graph component
* Enforce lodash import style
* Fix remaining lodash imports
2021-04-21 09:38:00 +02:00
Torkel Ödegaard
1d689888b0
Prettier: Upgrade to 2 ( #30387 )
...
* Updated package json but not updated source files
* Update eslint plugin
* updated files
2021-01-20 07:59:48 +01:00
Torkel Ödegaard
8f78b0e7bc
Chore: Fix all Typescript strict null errors ( #26204 )
...
* Chore: Fix typescript strict null errors
* Added new limit
* Fixed ts issue
* fixed tests
* trying to fix type inference
* Fixing more ts errors
* Revert tsconfig option
* Fix
* Fixed code
* More fixes
* fix tests
* Updated snapshot
* Chore: More ts strict null fixes
* More fixes in some really messed up azure config components
* More fixes, current count: 441
* 419
* More fixes
* Fixed invalid initial state in explore
* Fixing tests
* Fixed tests
* Explore fix
* More fixes
* Progress
* Sub 300
* Now at 218
* Progress
* Update
* Progress
* Updated tests
* at 159
* fixed tests
* Progress
* YAy blow 100! at 94
* 10,9,8,7,6,5,4,3,2,1... lift off
* Fixed tests
* Fixed more type errors
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2020-07-10 12:46:59 +02:00
Steven Vachon
f48169633c
TSLint → ESLint ( #21006 )
...
* Alphabetized tslint and tsconfig files
* Optimized tsconfig files
* Optimized editorconfig & prettier config files
… to reduce redundancy
* Switched to @grafana/tsconfig
… and:
* de-duped options
* removed options with default values
* Fixed nasty issue with types for nested slate-react
* Replaced TSLint with ESLint
* TSLint disables → ESLint disables
… also JSHint removals, which haven’t had an affect since it was replaced with TSLint.
* Compliances for ESLint, Prettier and TypeScript
* Updated lockfile
2020-02-08 02:40:04 +01:00
Torkel Ödegaard
0fd088c757
Graphite: Fixed issue with functions with multiple required params and no defaults caused params that could not be edited (groupByNodes groupByTags) ( #21814 )
...
* Graphite: Fixed issue functions with multiple required params and no defaults
* removed some prev changes
* Update public/app/plugins/datasource/graphite/func_editor.ts
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-01-30 09:06:23 +01:00
Torkel Ödegaard
e0b760e08e
Chore: No implict any fixes ( #17020 )
2019-05-13 09:38:19 +02:00
Hugo Häggmark
7eabc282e9
Chore: Adds typings to lodash ( #16590 )
2019-04-15 12:11:52 +02:00
Sven Klemm
3a25a0de83
Escape values in metric segment and sql part
2018-10-15 13:53:37 +02:00
Patrick O'Carroll
25f13bd3ad
added only-arrow-functions rule and changed files to follow new rule ( #13154 )
2018-09-05 15:28:30 +02:00
Sven Klemm
265d5daf57
Merge branch 'master' into postgres-query-builder
2018-08-31 19:02:46 +02:00
Sven Klemm
e84a1cbcc5
persist datatype information
2018-08-16 12:50:32 +02:00
Sven Klemm
6e824e81bf
fix rate special function when using group by
2018-07-15 15:14:12 +02:00
Sven Klemm
f85c9c012e
refactor adding sqlPart
2018-07-15 12:26:22 +02:00
Sven Klemm
f48060a1bb
remove render code from sql_part
2018-07-15 09:53:22 +02:00
Sven Klemm
5a307e80aa
fix enter in sql_part_editor
2018-07-09 22:43:50 +02:00
Sven Klemm
bfc751542c
fix editing expression parts
2018-07-09 22:38:29 +02:00
Sven Klemm
f140967423
rename inputBlur to switchToLink
2018-07-09 22:00:50 +02:00
Sven Klemm
02abda7d92
fix spelling
2018-07-09 14:47:59 +02:00
Sven Klemm
2d951ba611
add current value to dropdown if its not in resultset
2018-07-09 14:27:10 +02:00
Sven Klemm
6a981d39d8
Revert "show current value in dropdown when its not part of list"
...
This reverts commit 76275cae37
.
2018-07-09 13:04:55 +02:00
Sven Klemm
76275cae37
show current value in dropdown when its not part of list
2018-07-09 11:22:03 +02:00
Sven Klemm
d9db3d1402
put updateParam back in
2018-07-06 11:24:49 +02:00
Sven Klemm
8ed210c8d5
remove dead code, make label more flexible
2018-07-06 10:38:18 +02:00
Sven Klemm
7d30ca04de
remove dead code from sql_part
...
fix where clause query generation
2018-07-04 15:37:06 +02:00
Sven Klemm
d77f9b2e74
send param in callback for get-param-options
2018-05-27 17:25:20 +02:00
Sven Klemm
039e38d510
make separator configurable
2018-05-26 23:03:59 +02:00
Sven Klemm
291d732b36
fix error message
2018-05-26 20:53:01 +02:00
Sven Klemm
067bfa3f72
make param wrapper configurable
2018-05-21 12:52:14 +02:00
Sven Klemm
3af4e4e0d6
separate label in template from type
2018-05-21 11:44:37 +02:00
Sven Klemm
181dfdba04
add sql_part component
2018-05-21 09:37:04 +02:00