Lukas Siatka
bb436e7447
Chore: fixes PermissionListItem strict-null-error ( #24389 )
2020-05-07 15:06:48 +02:00
Lukas Siatka
dbd77e0ab5
Explore: fixes log entries sorting - changes milliseconds to nanoseconds ( #24303 )
...
* Chore: adds timeEpochNs to LogRowModel in @grafana/data
* Chore: updates explore utils ResultProcessor getLogsResult and explore utils tests
* Chore: updates core/logs_model to include nanoseconds
* Chore: updates LogRowModel sorting key from milliseconds to nanoseconds and adds timeEpochNs to tests
* Chore: adds timeEpochNs to LogRowModel mock in Explore LiveLogs test
* Chore: fixes logs model timeEpochNs padding
* Chore: updates timeEpochNs padding in tests
* Chore: updates LogRowModel mocks
* Chore: changes isLoki to datasourceId
* Chore: adds hasFieldWithNameAndType method to FieldCache in grafana-data dataframe
* Chore: changes timeEpochNs from number to string as it can overflow Number.MAX_SAFE_INTEGER
* Chore: updates LogRowModel sorting to use milliseconds and nanoseconds
* Chore: removes datasourceId from logSeriesToLogsModel method
* Chore: updates ResultProcessor tests to include nanosecond-level precision log rows sorting
2020-05-07 13:53:24 +02:00
Lukas Siatka
2c9eed360d
Chore: fixes few strict-null errors ( #23775 )
...
* Chore: fixes strict-null-error in Login > ChangePassword component
* Chore: fixes strict-null-error in Login > LoginForm component
* Chore: fixes strict-null-errors in OrgActionBar component and components that render it
* Chore: fixes strict-null-errors in PageHeader component
* Chore: fixes strict-null-errors in PermissionList components
* Chore: fixes strict-null-errors in loki language provider
* Chore: fixes strict-null-errors in loki datasource
* Chore: fixes strict-null-errors in panel_editor > EditorTabBody component
* Chore: fixes strict-null-errors in flatten utility
* Chore: fixes strict-null-errors in search component
* Chore: fixes strict-null-errors in SharedPreferences component
* Chore: fixes strict-null-errors in MetricSelect component
* Chore: updates type on a param to type on argument
* Chore: updates strict-null errors count from 791 to 757
* Chore: updates PageHeader - adds null checks
* Chore: updates PageHeader - updates null checks
* Chore: updates PageHeader null checks to longer format
* Chore: updates strict-null fixes
* Chore: updates error count limit in ci-frontend-metrics
2020-05-07 13:53:05 +02:00
Lukas Siatka
fa260fec87
Chore: fixes Loki annotation tags deduplication ( #24275 )
2020-05-06 19:05:00 +02:00
Lukas Siatka
36896f5077
Explore/Loki: Removes old query syntax support for regex filter ( #24281 )
...
* Chore: removed regex from LokiQuery
* Chore: removes parseQuery from Loki datasource
* Chore: removes regex param from format query in lokiStreamsToDataframes in Loki result transformer
* Chore: updates formatQuery and removes parseQuery from Loki query utils
* Chore: removes highlighter test with unsupported syntax from Loki query utils
2020-05-06 11:21:25 +02:00
Lukas Siatka
8a88632791
Chore: changes elastic terms min_doc_count default from 1 to 0 ( #24204 )
2020-05-04 11:31:52 +02:00
Lukas Siatka
ba70b59f4c
DevEnv: update frontend dependencies - redux ( #22143 )
...
* DevEnv: updates @types/react-redux 7.1.2. -> 7.1.7
* DevEnv: updates react-redux 7.1.1 -> 7.1.3
* DevEnv: updates redux 4.0.4 -> 4.0.5
* DevEnv: updates @reduxjs/toolkit 1.2.1 -> 1.2.3
* DevEnv: updates @types/redux-mock-store 1.0.1 -> 1.0.2
* DevEvn: updates redux-mock-store 1.5.3 -> 1.5.4
* DevEnv: updates react-redux 7.1.3 -> 7.2.0
* DevEnv: updates @reduxjs/toolkit 1.2.3 -> 1.3.4
* DevEnv: updates redux middleware
2020-04-10 01:53:33 +02:00
Lukas Siatka
51e485e26b
DevEnv: updates react-hook-form 5.0.3 -> 5.1.3 in grafana-ui package ( #23005 )
2020-04-02 07:42:22 +02:00
Lukas Siatka
13ab84f201
DevEnv: update frontend dependencies - react-transition-group ( #22998 )
...
* DevEnv: updates @types/react-transition-group 2.0.16 -> 4.2.4
* DevEnv: updates @types/react-transition-group 2.0.16 -> 4.2.4 in grafana-ui package
* DevEnv: updates react-transition-group 2.6.1 -> 4.3.0 in grafana-ui package
* DevEnv: updates react-transition-group 2.6.1 -> 4.3.0
2020-03-26 16:04:14 +01:00
Lukas Siatka
107a0d86f9
Bugfix: updates highlighter passed style prop from string to object ( #23112 )
2020-03-26 15:18:39 +01:00
Lukas Siatka
01d4cb9e37
DevEnv: update frontend dependencies - mixed 3/4 ( #22995 )
...
* DevEnv: updates pixelmatch 4.0.2 -> 5.1.0
* DevEnv: updates pixelmatch 5.0.2 -> 5.1.0 in grafana-toolkit package
* DevEnv: updates postcss-flexbugs-fixes 4.1.0 -> 4.2.0 in grafana-toolkit package
* DevEnv: updates postcss-preset-env 6.6.0 -> 6.7.0 in grafana-toolkit package
* DevEnv: updates less 3.10.3 -> 3.11.1 in grafana-toolkit package
* DevEnv: updates ora 3.4.0 -> 4.0.3 in grafana-toolkit package
* DevEnv: updates semver 6.1.1 -> 7.1.3 in grafana-toolkit package
* DevEnv: updates simple-git 1.112.0 -> 1.132.0 in grafana-toolkit package
* DevEnv: updates ora import to commonjs after its update
2020-03-26 12:46:46 +01:00
Lukas Siatka
6a9480e3b4
DevEnv: updates react-docgen-typescript-loader 3.3.0 -> 3.7.1 ( #23003 )
2020-03-26 12:46:09 +01:00
Lukas Siatka
4c2b191a83
Revert "DevEnv: update frontend dependencies - react-table ( #23006 )" ( #23075 )
...
This reverts commit d6b6b0f25c .
2020-03-25 17:11:14 +01:00
Lukas Siatka
b8018fad34
DevEnv: update frontend dependencies - react-test-renderer ( #23004 )
...
* DevEnv: updates @types/react-test-renderer 16.9.0 -> 16.9.2 in grafana-ui package
* DevEnv: updates react-test-renderer 16.9.0 -> 16.13.1 in grafana-ui package
2020-03-25 14:24:34 +01:00
Lukas Siatka
05fd583938
DevEnv: update frontend dependencies - react-highlight-words ( #23009 )
...
* DevEnv: updates react-highlight-words 0.11.0 -> 0.16.0
* DevEnv: updates react-highlight-words 0.11.0 -> 0.16.0 in grafana-ui package
2020-03-25 14:23:58 +01:00
Lukas Siatka and Torkel Ödegaard
d6b6b0f25c
DevEnv: update frontend dependencies - react-table ( #23006 )
...
* DevEnv: updates @types/react-table 7.0.2 -> 7.0.12 in grafana-ui package
* DevEnv: updates react-table 7.0.0-rc.15 -> 7.0.0 in grafana-ui package
* Updated yarn.lock
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2020-03-25 13:09:44 +01:00
Lukas Siatka
3f08a789d7
DevEnv: update frontend dependencies - apache arrow, bizcharts, commander ( #22994 )
...
* DevEnv: updates bizcharts 3.5.5 -> 3.5.8 in grafana-ui package
* DevEnv: updates apache-arrow 0.15.1 -> 0.16.0 in grafana-data package
* DevEnv: updates commander 2.20.0 -> 5.0.0 in grafana-toolkit package
* DevEnv: updates commander 4.1.1 -> 5.0.0 in grafana-e2e package
2020-03-25 11:01:02 +01:00
bcad3fbda1
DevEnv: update frontend dependencies - rc ( #22977 )
...
* DevEnv: updates rc-cascader 0.17.5 -> 1.0.1
* DevEnv: updates rc-cascader 0.17.5 -> 1.0.1 in grafana-ui package
* DevEnv: updates rc-drawer 3.0.2 -> 3.1.3 in grafana-ui package
* DevEnv: updates rc-time-picker 3.7.2 -> 3.7.3 in grafana-ui package
* DevEnv: updates rc-slider 8.7.1 -> 9.2.3 in grafana-ui package
* Fix option mappings
* Some clean up of the code.
* removed unused function.
Co-authored-by: Tobias Skarhed <tobias.skarhed@gmail.com >
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
2020-03-25 10:10:26 +01:00
Lukas Siatka and Torkel Ödegaard
98420c63d1
DevEnv: update frontend dependencies - react-window ( #23010 )
...
* DevEnv: updates react-window 1.7.1 -> 1.8.5
* DevEnv: updates @types/react-window 1.7.0 -> 1.8.1
* DevEnv: updates lockfile - removes merge conflicts
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2020-03-24 17:01:54 +01:00
Lukas Siatka
54bf9cc9ea
DevEnv: updates react-use 12.8.0 -> 13.27.0 ( #23001 )
2020-03-24 10:50:10 +01:00
Lukas Siatka
e2f7f85222
DevEnv: update frontend dependencies - eslint ( #22990 )
...
* DevEnv: updates eslint-plugin-jsdoc 21.0.0 -> 22.1.0
* DevEnv: updates @typescript-eslint/eslint-plugin 2.19.2 -> 2.24.0 in grafana-toolkit package
* DevEnv: updates @typescript-eslint/parser 2.19.2 -> 2.24.0 in grafana-toolkit package
* DevEnv: updates eslint 6.7.2 -> 6.8.0 in grafana-toolkit package
* DevEnv: updates eslint-config-prettier 6.7.0 -> 6.10.0 in grafana-toolkit package
* DevEnv: updates eslint-plugin-prettier 3.1.1 -> 3.1.2 in grafana-toolkit package
* DevEnv: updates eslint-plugin-jsdoc 18.4.1 -> 22.1.0 in grafana-toolkit package
2020-03-24 08:25:57 +01:00
Lukas Siatka
d4d3874a38
DevEnv: update frontend dependencies - react-dev-utils ( #23007 )
...
* DevEnv: updates @types/react-dev-utils 9.0.1 -> 9.0.4 in grafana-toolkit package
* DevEnv: updates react-dev-utils 9.0.1 -> 10.2.1 in grafana-toolkit package
2020-03-24 08:25:12 +01:00
Lukas Siatka
01ebaf9260
DevEnv: update frontend dependencies - storybook ( #22976 )
...
* DevEnv: updates storybook-dark-mode 0.3.0 -> 0.3.1 in grafana-ui package
* DevEnv: updates @storybook/addon-actions 5.3.9 -> 5.3.17 in grafana-ui package
* DevEnv: updates @storybook/addon-docs 5.3.9 -> 5.3.17 in grafana-ui package
* DevEnv: updates @storybook/addon-info 5.3.9 -> 5.3.17 in grafana-ui package
* DevEnv: updates @storybook/addon-knobs 5.3.9 -> 5.3.17 in grafana-ui package
* DevEnv: updates @storybook/addon-storysource 5.3.14 -> 5.3.17 in grafana-ui package
* DevEnv: updates @storybook/theming 5.3.9 -> 5.3.17 in grafana-ui package
* DevEnv: updates @storybook/react 5.3.9 -> 5.3.17 in grafana-ui package
2020-03-24 08:23:52 +01:00
Lukas Siatka
18f4e3ce47
DevEnv: update frontend dependencies - ts-node & node-sass ( #22988 )
...
* DevEnv: updates ts-node 8.6.2 -> 8.8.1
* DevEnv: updates ts-node 8.5.0 -> 8.8.1 in grafana-e2e package
* DevEnv: updates node-sass 4.12.0 -> 4.13.1 in grafana-toolkit package
* DevEnv: updates ts-node 8.5.0 -> 8.8.1 in grafana-toolkit package
2020-03-24 06:56:58 +01:00
Lukas Siatka
f83e91a2a4
DevEnv: updates react-sizeme 2.5.2 -> 2.6.12 ( #23002 )
2020-03-24 05:54:48 +01:00
Lukas Siatka
7e8b1d2866
DevEnv: update frontend dependencies - react-color ( #23008 )
...
* DevEnv: updates react-color 2.17.0 -> 2.18.0
* DevEnv: updates @types/react-color 2.17.0 -> 3.0.1
2020-03-24 05:49:00 +01:00
Lukas Siatka
ef7b2e3974
DevEnv: update frontend dependencies - pretty-format ( #22987 )
...
* DevEnv: updates pretty-format 24.9.0 -> 25.1.0 in grafana-data package
* DevEnv: updates pretty-format 24.9.0 -> 25.1.0 in grafana-ui package
* DevEnv: updates pretty-format 24.9.0 -> 25.1.0 in grafana-runtime package
2020-03-24 05:47:32 +01:00
Lukas Siatka
2bed1bc2e7
DevEnv: updates lockfile to fix breaking builds on CI ( #22811 )
...
* DevEnv: updates lockfile
* DevEnv: updates lockfile
2020-03-16 15:52:25 +01:00
Lukas Siatka
935ec07cfd
DevEnv: updates build-ci-deploy dockerfile and CI config to include yarn ( #22809 )
...
* DevEnv: updates build-ci-deploy dockerfile
* DevEnv: updates build-ci-deploy dockerfile version in circleci config
2020-03-16 15:37:44 +01:00
Lukas Siatka
a3037e363f
DevEnv: update frontend dependencies - npm, nodemon, typescript ( #22145 )
...
* DevEnv: updates npm 6.13.4 -> 6.13.7
* DevEnv: updates nodemon 1.18.10 -> 2.0.2
* DevEnv: updates typescript 3.7.2 -> 3.7.5
* DevEnv: removes npm from dev dependencies
* DevEnv: updates typescript 3.7.2 -> 3.7.5 in grafana-data package
* DevEnv: updates typescript 3.7.2 -> 3.7.5 in grafana-e2e package
* DevEnv: updates typescript 3.7.2 -> 3.7.5 in grafana-toolkit package
* DevEnv: updates typescript 3.7.2 -> 3.7.5 in grafana-ui package
* DevEnv: updates typescript 3.7.2 -> 3.7.5 in grafana-runtime package
2020-03-16 15:04:02 +01:00
Lukas Siatka
fd99bfab1d
DevEnv: update frontend dependencies - mixed 2/2 ( #22148 )
...
* DevEnv: updates sinon 1.17.6 -> 8.1.1
* DevEnv: updates zone.js 0.7.8 -> 0.10.2
* DevEnv: updates brace 0.10.0 -> 0.11.1
* DevEnv: updates eventemitter3 2.0.3 -> 4.0.0
* DevEnv: updates file-saver 1.3.8 -> 2.0.2
* DevEnv: updates is-hotkey 0.1.4 -> 0.1.6
* DevEnv: updates mousetrap 1.6.3 -> 1.6.5
* DevEnv: updates prismjs 1.16.0 -> 1.19.0
* DevEnv: updates search-query-parser 1.5.2 -> 1.5.4
* DevEnv: updates tether 1.4.5 -> 1.4.7
* DevEnv: updates xss 1.0.3 -> 1.0.6
* Revert "DevEnv: updates zone.js 0.7.8 -> 0.10.2"
* DevEnv: updates sinon 1.17.6 -> 8.1.1 in grafana-data package
* DevEnv: updates @types/sinon 7.0.11 -> 7.5.2 in grafana-data package
* DevEnv: updates eventemitter import
* DevEnv: updates lockfile
2020-03-16 13:14:57 +01:00
Lukas Siatka
f44399abdb
DevEnv: update frontend dependencies - mixed 1/2 ( #22147 )
...
* DevEnv: updates @emotion/core 10.0.10 -> 10.0.27
* DevEnv: updates autoprefixer 9.5.0 -> 9.7.4
* DevEnv: updates axios 0.19.0 -> 0.19.2
* DevEnv: updates es6-promise 3.3.1 -> 4.2.8
* DevEnv: updates glob 7.1.3 -> 7.1.6
* DevEnv: updates husky 1.3.1 -> 4.2.1
* DevEnv: updates lerna 3.15.0 -> 3.20.2
* DevEnv: updates lint-staged 8.1.5 -> 10.0.7
* DevEnv: updates module-alias 2.2.0 -> 2.2.2
* DevEnv: updates monaco-editor 0.15.6 -> 0.19.3
* DevEnv: updates postcss-browser-reporter 0.5.0 -> 0.6.0
* DevEnv: updates rimraf 2.6.3 -> 3.0.1
* Revert "DevEnv: updates monaco-editor 0.15.6 -> 0.19.3"
* DevEnv: updates axios 0.19.0 -> 0.19.2 in grafana-toolkit package
* DevEnv: updates lockfile
2020-03-16 13:10:42 +01:00
Lukas Siatka
6065b1b91d
DevEnv: updates import of CleanWebpackPlugin to named import ( #22800 )
2020-03-16 10:52:30 +01:00
Lukas Siatka
d1837ea132
DevEnv: update frontend dependencies - webpack ( #22144 )
...
* DevEnv: updates webpack 4.29.6 -> 4.41.5
* DevEnv: updates webpack-cli 3.2.3 -> 3.3.10
* DevEnv: updates webpack-dev-server 3.2.1 -> 3.10.3
* DevEnv: updates terser-webpack-plugin 1.2.3 -> 2.3.4
* DevEnv: updates webpack-bundle-analyzer 3.3.2 -> 3.6.0
* DevEnv updates webpack-merge 4.2.1 -> 4.2.2
* DevEnv: updates clean-webpack-plugin 2.0.0 -> 3.0.0
* DevEnv: updates file-loader 3.0.1 -> 5.0.2
* DevEnv: updates css-loader 2.1.1 -> 3.4.2
* DevEnv: updates sass-loader 7.1.0 -> 8.0.2
* DevEnv: updates style-loader 0.23.1 -> 1.1.3
* DevEnv: updates fork-ts-checker-webpack-plugin 1.0.0 -> 4.0.3
* DevEnv: updates optimize-css-assets-webpack-plugin 5.0.1 -> 5.0.3
* DevEnv: updates mini-css-extract-plugin 0.5.0 -> 0.9.0
* DevEnv: updates @cypress/webpack-preprocessor 4.1.1 -> 4.1.3 in grafana-e2e package
* DevEnv: updates @types/webpack 4.4.34 -> 4.41.7 in grafana-toolkit package
* DevEnv: updates copy-webpack-plugin 5.0.3 -> 5.1.1 in grafana-toolkit package
* DevEnv: updates terser-webpack-plugin 1.3.0 -> 2.3.4 in grafana-toolkit package
* DevEnv: updates webpack 4.35.0 -> 4.41.5 in grafana-toolkit package
2020-03-16 09:57:35 +01:00
Lukas Siatka
d51e2221a4
DevEnv: update frontend dependencies - rollup ( #22794 )
...
* DevEnv: updates rollup 1.6.0 -> 2.0.6 in grafana-data package
* DevEnv: updates rollup 1.6.0 -> 2.0.6 in grafana-e2e package
* DevEnv: updates rollup 1.6.0 -> 2.0.6 in grafana-runtime package
* DevEnv: updates rollup 1.6.0 -> 2.0.6 in grafana-ui package
* DevEnv: updates rollup-plugin-sourcemaps 0.4.2 -> 0.5.0 in grafana-data package
* DevEnv: updates rollup-plugin-sourcemaps 0.4.2 -> 0.5.0 in grafana-e2e package
* DevEnv: updates rollup-plugin-sourcemaps 0.4.2 -> 0.5.0 in grafana-runtime package
* DevEnv: updates rollup-plugin-sourcemaps 0.4.2 -> 0.5.0 in grafana-ui package
* DevEnv: updates rollup-plugin-terser 4.0.4 -> 5.3.0 in grafana-data package
* DevEnv: updates rollup-plugin-terser 4.0.4 -> 5.3.0 in grafana-e2e package
* DevEnv: updates rollup-plugin-terser 4.0.4 -> 5.3.0 in grafana-runtime package
* DevEnv: updates rollup-plugin-terser 4.0.4 -> 5.3.0 in grafana-ui package
* DevEnv: updates rollup-plugin-typescript2 0.19.3 -> 0.26.0 in grafana-data package
* DevEnv: updates rollup-plugin-typescript2 0.19.3 -> 0.26.0 in grafana-e2e package
* DevEnv: updates rollup-plugin-typescript2 0.19.3 -> 0.26.0 in grafana-runtime package
* DevEnv: updates rollup-plugin-typescript2 0.19.3 -> 0.26.0 in grafana-ui package
* DevEnv: updates @rollup/plugin-commonjs 9.2.1 -> 11.0.2 in grafana-data package
* DevEnv: updates @rollup/plugin-commonjs 9.2.1 -> 11.0.2 in grafana-e2e package
* DevEnv: updates @rollup/plugin-commonjs 9.2.1 -> 11.0.2 in grafana-runtime package
* DevEnv: updates @rollup/plugin-commonjs 9.2.1 -> 11.0.2 in grafana-ui package
* DevEnv: updates rollup config import in grafana-data package
* DevEnv: updates rollup config import in grafana-e2e package
* DevEnv: updates rollup config import in grafana-ui package
* DevEnv: updates rollup config import in grafana-runtime package
* DevEnv: updates @rollup/plugin-node-resolve 4.0.1 -> 7.1.1 in grafana-data package
* DevEnv: updates @rollup/plugin-node-resolve 4.0.1 -> 7.1.1 in grafana-e2e package
* DevEnv: updates @rollup/plugin-node-resolve 4.0.1 -> 7.1.1 in grafana-runtime package
* DevEnv: updates @rollup/plugin-node-resolve 4.0.1 -> 7.1.1 in grafana-ui package
* DevEnv: updates lockfile
* DevEnv: updates rollup config plugin-node-resolve import in grafana-data package
* DevEnv: updates rollup config plugin-node-resolve import in grafana-ui package
* DevEnv: updates rollup config plugin-node-resolve import in grafana-e2e package
* DevEnv: updates rollup config plugin-node-resolve import in grafana-runtime package
* DevEnv: updates rollup-plugin-visualizer 0.9.2 -> 3.3.1 in grafana-data package
* DevEnv: updates rollup-plugin-visualizer 0.9.2 -> 3.3.1 in grafana-e2e package
* DevEnv: updates rollup-plugin-visualizer 0.9.2 -> 3.3.1 in grafana-runtime package
* DevEnv: updates rollup-plugin-visualizer 0.9.2 -> 3.3.1 in grafana-ui package
2020-03-15 16:39:40 +01:00
Lukas Siatka
2693f44a03
Explore: removes handling onBlur action in Explore for Loki and Prometheus ( #22768 )
...
* Explore: turns off actions execution on blur for Loki
* Explore: turns off actions execution on blur for Prometheus
* Explore: updates snapshots for Loki & Prometheus after turning off onBlur
2020-03-13 12:00:02 +01:00
Lukas Siatka
688283a5cc
Explore: adds QueryRowErrors component, moves error display to QueryRow ( #22438 )
...
* Explore: adds QueryRowErrors component
* Explore: updates QueryRow to use QueryRowErrors component
* Explore: updates PromQueryField to remove error render
* Explore: updates Elastic query field to remove error render
* Explore: updates LokiQueryFieldForm to remove error render
* Explore: updates QueryRow component - brings back passing errors down
* Explore: removes QueryRowErrors component
* Explore: updates ErrorContainer component - moves out data filtering
* Explore: updates QueryRow component - changes QueryRowErrors to ErrorContainer
* Explore: updates Explore component - adds error filtering for ErrorContainer
* Explore: updates ErrorContainer and adds a basic test for it
* Explore: updates Explore component props name and adds a basic render test
* Explore: adds snapshots for Explore and ErrorContainer
* Explore: adds a test for error render
* Explore: adds a comment to Explore component explaining the way we filter non-query-row-specific errors
* Explore: adds getFirstNonQueryRowSpecificError method to explore utilities
* Explore: extracts getFirstNonQueryRowSpecificError method and slightly refactors Explore component
* Explore: updates Explore component tests to cover non-query-row-specific errors
2020-03-11 10:01:58 +01:00
Lukas Siatka
99daa4454b
Alerting: Fix state age test failures ( #22606 )
...
- use output from relative time instead of static string to prevent
clock issues
2020-03-06 00:28:20 +01:00
Lukas Siatka
fd44abd177
DevEnv: update frontend dependencies - tests ( #22140 )
...
* DevEnv: updates @types/testing-library__react-hooks 3.1.0 -> 3.2.0
* DevEnv: updates @types/enzyme-adapter-react-16 1.0.5 -> 1.0.6
* DevEnv: updates @types/react-test-renderer 16.9.0 -> 16.9.2
* DevEnv: updates react-test-renderer 16.9.0 -> 16.12.0
* DevEnv: updates @types/enzyme 3.9.0 -> 3.10.5
* DevEnv: updates enzyme-adapter-react-16 1.0.6 -> 1.15.2
* DevEnv: updates enzyme 3.9.0 -> 3.11.0
* Fix: updates snapshots
* Fix: updates tests
* DevEnv: updates enzyme-to-json 3.3.5 -> 3.4.4
* DevEnv: updates expect.js 0.2.0 -> 0.3.1
* DevEnv: updates @types/puppeteer-core 1.9.0 -> 2.0.0
* DevEnv: updates puppeteer-core 1.15.0 -> 2.1.1
* DevEnv: updates @types/expect-puppeteer 3.3.1 -> 4.4.0
* DevEnv: updates expect-puppeteer 4.1.1 -> 4.4.0
* DevEnv: updates mocha 4.1.0 -> 7.0.1
2020-02-14 15:16:07 +01:00
Lukas Siatka
c433a1513f
DevEnv: update frontend dependencies - type definitions ( #22141 )
...
* DevEnv: updates @types/classnames 2.2.7 -> 2.2.9
* DevEnv: updates @types/jquery 1.10.35 -> 3.3.32
* DevEnv: updates @types/lodash 4.14.123 -> 4.14.149
* DevEnv: updates @types/pngjs 3.3.2 -> 3.4.1
2020-02-14 15:15:51 +01:00
Lukas Siatka
565387a42e
DevEnv: update frontend dependencies - node ( #22139 )
...
* DevEnv: updates node-sass 4.12.0 -> 4.13.1
* DevEnv: updates ts-node 8.5.0 -> 8.6.2
* DevEnv: updates @types/node 11.13.4 -> 13.7.0
* DevEnv: updates lockfile
2020-02-14 14:53:06 +01:00
Lukas Siatka
ceca067d4f
DevEnv: update frontend dependencies - grunt ( #22136 )
...
* DevEnv: updates grunt 1.0.1 -> 1.0.4
* DevEnv: updates grunt-cli 1.2.0 -> 1.3.2
* DevEnv: updates grunt-contrib-clean 1.0.0 -> 2.0.0
* DevEnv: updates grunt-exec 1.0.1 -> 3.0.0
* DevEnv: updates grunt-postcss 0.8.0 -> 0.9.0
* DevEnv: updates load-grunt-tasks 3.5.2 -> 5.1.0
2020-02-13 09:10:17 +01:00
Lukas Siatka
9ed08d1903
Bugfix: updates cloudwatch query editor test async render to prevent it from throwing error ( #22150 )
2020-02-13 09:07:33 +01:00
Lukas Siatka
a0464c1239
DevEnv: update frontend dependencies - babel ( #22135 )
...
* DevEnv: updates @babel/core 7.8.3 -> 7.8.4
* DevEnv: updates @babel/preset-env 7.8.3 -> 7.8.4
* DevEnv: updates babel-loader 8.0.5 -> 8.0.6
2020-02-13 06:26:52 +01:00
Lukas Siatka
2d3c5064e1
Datasource: updates PromExploreQueryEditor to prevent it from throwing error on edit ( #21605 )
...
* Datasource: updates PromExploreQueryEditor - rewrite to functional component
* Datasource: updates PromQueryField - moves an extra field from children to the separate prop
* Datasource: adds PromExploreExtraField
* Datasource: updates PromExploreQueryEditor - fixes typo
* Datasource: updates prometheus explore editor snapshots
* Datasource: updates PromExploreExtraField export
* Datasource: removes unnecessary div from PromExploreQueryEditor
* Datasource: adds basic PromExploreExtraField snapshot test
* Datasource: adds basic PromExploreQueryEditor test
* Datasource: updates PromExploreQueryEditor snapshot to fix timezone issues
* Datasource: updates PromExploreQueryEditor - onChangeQueryStep cleanup
* Datasource: updates PromExploreQueryEditor test to check ExtraFieldElement render
* Datasource: simplified PromExploreQueryEditor onStepChange method
* Datasource: updates Prometheus module import
* Datasource: updates PromExploreQueryEditor test
* Datasource: updates PromExploreQueryEditor tests
* Datasource: fixes PromExploreQueryEditor error on empty interval init
* Datasource: adds a tooltip to PromExploreExtraField mounted in PromExploreQueryEditor
* Datasource: updates PromExploreQueryEditor snapshots
2020-02-06 12:37:30 +00:00
Lukas Siatka
df48d1c19f
Explore: Adds Loki explore query editor ( #21497 )
...
* Explore: updates grafana-data explore query field props with explore mode
* Explore: updates query row to pass down explore mode to query fields
* Explore: adds LokiExploreQueryEditor
* Explore: updates loki query field form to render children
* Explore: adds loki explore extra field component
* Explore: adds extra field element to loki query field form
* Explore: updates loki explore query editor to use extra field element
* Explore: moves ExploreMode to grafana-data
* Explore: updates query row limit string
* Explore: adds maxLines to DataQuery
* Explore: adds maxLines to loki datasource runRangeQueryWithFallback
* Explore: adds onChangeQueryLimit to LokiExploreQueryEditor
* Explore: updates loki explore query editor to render extra field only in logs mode
* Explore: fixes query limits for live and legacy queries
* Explore: fixes result processor max lines limit in get logs result
* Explore: fixes Loki datasource limit test
* Explore: removes unnecessary ExploreMode from Loki language provider
* Explore: fixes formatting
* Explore: updates grafana-data datasource types - replaces strings with explore mode enum
* Explore: updates loki explore query field props to take ReactNode
* Explore: updates the way we calculate loki query lines limit to fall back to 0 lines on negative or invalid input instead of datasource maxLines
* Explore: updates result processor get logs result method to avoid counting invalid/negative line limits
* Explore: updates loki result transformer to process only an appropriate slice of a result instead of an entire one
* Explore: adds a method for query limit preprocessing/mapping
* Explore: updates loki datasource run range query with fallback method to use options.maxDataPoints in dashboards
* Explore: removes unnecessary maxlineslimt from getLogsResult in resultProcessor
* Explore: moves line limit to metadata
* Explore: adds an ability to specify input type of extra field
* Explore: updates LokiExploreQueryEditor - adds an input type
* Explore: updates LokiExploreQueryEditor to run queries when maxLines is positive
* Explore: fixes failing import of ExploreMode
* Explore: fixes reducers test imports formatting
* Explore: updates Loki extra field with min value set to 0
* Explore: exports LokiExploreExtraFieldProps
* Explore: adds render test of LokiExploreQueryEditor
* Explore: adds LokiExploreQueryEditor snapshot
* Explore: updates LokiExploreQueryEditor onChangeQueryLimit method to prevent it from running when query input is empty - fixes cheatsheet display issue
* Explore: updates Loki editor snapshots
* Explore: fixes typo in test set name in LokiExploreQueryEditor
* Explore: adds a render test of LokiExploreExtraField
* Explore: fixes typo in LokiExploreQueryEditor
* Explore: updates LokiExploreQueryEditor snapshot due to timezone issues
* Explore: updates LokiExploreExtraField to export both functional component and a version using memo
* Explore: updates LokiExploreQueryEditor to export both functional component and memoized function
* Explore: updates LokiExploreQueryEditor - removes unnecessary react fragment
* Explore: updates LokiExploreQueryEditor snapshot
* Explore: adds LokiExploreQueryEditor tests for different explore mode cases
* Explore: fixes Loki datasource and result transformer
* Explore: updates LokiExploreQueryEditor snapshot
* Explore: updates LokiExploreQueryEditor tests and test setup
* Explore: updates LokiExploreQueryEditor - refactors component
* Explore: updates LokiExploreQueryEditor to use default import from LokiExploreExtraField
* Explore: updates LokiExploreQueryEditor snapshot
* Explore: fixes formatting
* Explore: updates LokiExploreQueryEditor max lines change
* Explore: updates LokiExploreQueryEditor tests checking ExtraFieldElement
* Explore: adds mock loki datasource to LokiExploreQueryEditor
* Explore: updates LokiExploreQueryEditor test mock - adds language provider
* Explore: updates LokiExploreQueryEditor snapshot
* Explore: updates Loki ResultTransformer to filter out rows on limit - logic to be moved into a component with new form styles
* Explore: updates LokiExploreQueryEditor tests
2020-02-06 12:34:52 +00:00
Lukas Siatka
c425a837a9
Explore: adds basic tests to TableContainer checking the render and output on 0 series returned
2020-01-30 12:02:50 +00:00
Lukas Siatka
f7fe4d4865
Explore: adds MetaInfoText tests
2020-01-30 12:02:50 +00:00
Lukas Siatka
61b5471ed8
Explore: adds export of MetaItem and its props
2020-01-30 12:02:50 +00:00
Lukas Siatka
865a8dd355
Explore: updates TableContainer to use MetaInfoText component
2020-01-30 12:02:50 +00:00
Lukas Siatka
d99121d6fa
Explore: updates Logs component to use MetaInfoText component
2020-01-30 12:02:50 +00:00
Lukas Siatka
a5ca5dffa4
Explore: adds MetaInfoText component
2020-01-30 12:02:50 +00:00
Lukas Siatka
db3797c1d2
Explore: removes unnecessary styles for panel logs
2020-01-30 12:02:50 +00:00
Lukas Siatka
e230e1df96
Explore: updates Table container render to avoid rendering table on empty result
2020-01-30 12:02:50 +00:00
Lukas Siatka
2bdbdd6930
Explore: updates explore table container to show a span on 0 series returned
2020-01-30 12:02:50 +00:00
Lukas Siatka
34d9274c4c
Datasource: fixes prometheus datasource tests - adds align range
2020-01-07 15:41:01 +01:00
Lukas Siatka and David
74924c8284
Explore: moves add query row button below query rows ( #20522 )
...
* Explore: updates Query Row component, moves latency to query row actions
* Explore: updates query row actions - adds latency and removes add row button
* Explore: updates explore toolbar props, adds index of the last query row
* Explore: updates toolbar, adds add new row button
* Explore: updates add new query row toolbar button title to add query
* Explore: updates query row actions - adds disabled property on latency button
* Explore: updates query row actions snapshot
* Explore: updates styles
* Explore: updates query row, removes latency
* Explore: updates query row actions, removed latency
* Explore: updates query row actions test and snapshot
* Explore: updates toolbar, moves add new query row button below query rows
* Explore: updates add query row button color and adds transparent background to latency div
* Explore: updates styles for add query row button responsiveness
* Explore: updates query row with latency button, fixes alignment of overall latency
* Explore: updates query row actions snapshot
* Explore: removes overall latency
* Explore: updates query row latency - removes mouseover-triggered style changes
* Explore: updates query row actions snapshot
* Explore: moves styles from scss to emotion
* Add row button: Removed responsiveness, reused query row styles
Co-authored-by: David <david.kaltschmidt@gmail.com >
2019-12-23 12:29:00 +01:00
Lukas Siatka
1de24cc929
Explore: adds PrometheusExploreQueryEditor ( #20195 )
...
* Explore: updates prom query field styles with flex-grow
* Explore: adds prometheus explore query editor
* Explore: updates step input width in prom explore query editor
* Explore: updates prom explore query editor step field input placeholder to auto
* Explore: updates prom explore query editor to include history
* Explore: updates prom explore query editor, removes unused lodash import
* Explore: updates step spacing in prom explore query editor
* Explore: updates prom explore query editor - moves logic to query field
* Explore: updates prom query field - adds step field with conditional rendering
* Explore: updates promql cheat sheet with step description
* Explore: updates prom cheat sheet step description
* Explore: updates styles - adds query row break class
* Explore: moves back step markup to PromExploreQueryEditor
2019-12-23 11:42:31 +01:00
Lukas Siatka
0a080beffa
DevEnv: updates nodejs from 10.x to 12.x and golang to 1.13 in ci-deploy dockerfile. ( #20405 )
...
* DevEnv: updates nodejs to 12.x and golang to 1.13
* Updates CI-build and CI-deploy image versions
* DevEnv: updates update repo readme
* DevEnv: updates build container version
2019-11-21 15:16:32 +01:00
Lukas Siatka
4ddb113b79
Explore: updates responsive button to pass all the div element props
2019-11-21 15:06:16 +01:00
Łukasz Siatka
013179eebc
Explore: fixes explore responsive button ref
2019-11-21 15:06:16 +01:00
Łukasz Siatka
1cc1e545a0
Explore: adds a ref to responsive button
2019-11-21 15:06:16 +01:00
Łukasz Siatka
231e620f95
Explore: updates responsive button to forward ref
2019-11-21 15:06:16 +01:00
Lukas Siatka
adc84c6ac5
Explore: updates breakpoint used to collapse datasource picker
2019-11-13 12:01:19 +01:00
Lukas Siatka
26c030667a
Datasource: fixes prometheus metrics query query field definition ( #20273 )
...
* Datasource: fixes prometheus metrics query query field definition
* Fix query editor for panels
2019-11-08 11:12:34 +00:00
Lukas Siatka
0a7fcb1a37
DevEnv: updates prometheus random data golang image to 1.13.0
2019-11-07 10:51:18 +01:00
Lukas Siatka
a79f5980d3
Explore: fixes toolbars datasource selector and date picker responsiveness ( #19718 )
...
* Explore: fixes toolbars datasource selector and date picker responsiveness
* Explore: updates grafana UI time picker component - adds a class on long date
* Explore: updates styles for responsive long date without split
* Explore: adds styles for responsive time picker with long date during split
* Explore: updates long datetime detector to isDateTime, renames isAbsolute to hasAbsolute
* Explore: updates datasource responsiveness
* Explore: moves time picker styles
* Explore: updates datasource picker and select component responsiveness
* Explore: updates data source picker
* Explore: updates explore toolbar to use container width
* Explore: updates styles for datasource picker
* Explore: updates Grafana UI elements - select and single value with an ability to hide text
* Explore: updates time picker styles
* Explore: updates datasource select and date picker
* Explore: updates toolbar elements margin
* Explore: updates toolbar elements split breakpoints
* Explore: updates datasource picker label length with substrings
* Explore: updates the datasource picker label length
* Explore: removes refresh picker hide media query
* Explore: updates refresh picker style query to use xs breakpoint
2019-11-06 19:19:50 +00:00
Łukasz Siatka
f0264ebe43
Explore: updates live button to responsive button
2019-10-11 19:49:56 +02:00
Łukasz Siatka
8d9197bed2
Explore: fixes live button margin
2019-10-11 19:49:56 +02:00
Łukasz Siatka
deaddef090
Explore: fixes a responsive fold of live tailing button
2019-10-11 19:49:56 +02:00
Łukasz Siatka
e2ea2d3050
updated live tailing text
2019-10-11 19:49:56 +02:00
Łukasz Siatka
f8cef9b900
updated live tail button - responsive fold
2019-10-11 19:49:56 +02:00
Łukasz Siatka
33f8b36b44
updated toolbar - added media query for tail buttons
2019-10-11 19:49:56 +02:00
Lukas Siatka
4bd00491bd
Explore: updates clear all button to responsive button ( #19719 )
...
* Explore: updates clear all button to responsive button
* Explore: update toolbar icons alignment
* Explore: adds responsive styles for explore icon alignment
2019-10-10 21:53:02 +02:00