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
Steven Vachon
9005b484f0
Replace ts-loader with Babel ( #21587 )
...
* Applied prettier to relevant webpack configs
* Replaced ng-annotate with babel-plugin-angularjs-annotate
… and replaced ts-loader with @preset/typescript
* Removed redundant import
… that is problematic with Babel's module resolver
* Updated lockfile
* Traspile debug package to es5 for PhantomJS support
* Update babel to latest version
* Remove @babel/poolyfill and url search params polyfill
* Add ts-loader to grafana-ui dependencies
* Update prod webpack build to use cor-js 3
* Applied prettier to relevant webpack configs
* Replaced ng-annotate with babel-plugin-angularjs-annotate
… and replaced ts-loader with @preset/typescript
* Updated lockfile
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-01-30 10:54:11 +01:00
Dominik Prokop
1ef91e3fc4
Fix digest issue with query part editor's actions menu ( #21834 )
2020-01-30 09:13:22 +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
Evgeny Bibko
7638156666
TimePicker: Should display in kiosk mode ( #21816 )
...
* Timepicker class fixed
* Missed arrow in dashboard title
2020-01-30 08:07:50 +01:00
Dominik Prokop
9882464505
Table: Make the height of the table include header cells ( #21824 )
...
* Mak table panel with padding
* Make table have a correct height
2020-01-30 07:47:20 +01:00
Torkel Ödegaard
13948c0b76
StatPanels: Fixed migration from old singlestat and default min & max being copied even when gauge was disbled ( #21820 )
2020-01-29 19:42:07 +00:00
Peter Holmberg
5203376bc5
Inspect: Add error tab ( #21565 )
...
* add error tab
* conditional tabs
* feedback from review
* expose lastResult via function
* remove todo and weird char
* fixing overflow states and height of tabcontent
* style fixes
* more changes to scroll handling
* fixing null checks
* Change drawer content padding
* Add scroll in the story
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-01-29 15:41:25 +01:00
michael-az
427629b4d5
TablePanel: display multi-line text ( #20210 )
...
* TablePanel: display multi-line text
* Fix tests
2020-01-29 13:18:34 +00:00
Marcus Andersson
ffe0a1f975
Fixed strict errors ( #21823 )
2020-01-29 14:18:06 +01:00
Marcus Andersson
cab082438e
Fix: prevents the BarGauge from exploding when the datasource returns empty result. ( #21791 )
...
* Fixed issue where gauge throw error on empty result.
* Some refactorings to improve the code.
* Added some tests to make sure this doesn't happen again.
2020-01-29 11:40:30 +01:00
Hugo Häggmark
08d330b406
Fix: Fixes user logout for datasourceRequests with 401 from datasource ( #21800 )
2020-01-29 06:24:15 +01:00
Shavonn Brown
0fa20cb231
Azure Monitor: Fix Application Insights API key field to allow input ( #21738 )
...
* Fix update api key input
* update snapshot
2020-01-28 23:47:34 -05:00
Andrej Ocenas
85dad73e9d
Influxdb: Fix cascader when doing log query in explore ( #21787 )
...
* Fix cascader options and add tests
* Add comment
* Fix typo
2020-01-28 18:12:15 +01:00
Marcus Efraimsson
b75412d6ae
OpenTSDB: Add back missing ngInject ( #21796 )
...
Adds back missing ngInject on datasource constructor
to make it work again.
Fixes #21770
2020-01-28 16:17:27 +01:00
sv5d
ae3d25986d
Heatmap: Legend color range is incorrect when using custom min/max ( #21748 )
...
Fix opacity and color scales initializations which took wrong range
arguments (current data min/max instead of custom range min/max).
Fixes #18139
2020-01-28 13:58:28 +01:00
Ivana Huckova
b3bcbcccce
Logs panel: Rename labels to unique labels ( #21783 )
2020-01-28 11:23:22 +01:00
Hugo Häggmark
2acfbdb768
Annotations: Fixes this.templateSrv.replace is not a function error for Grafana datasource ( #21778 )
2020-01-28 09:41:19 +01:00
Hugo Häggmark
044bea0935
Chore: Fixes various strict null errors ( #21763 )
...
* Chore: Removes strict null checks in ReducerTester
* Chore: Fixes strict null errors in ConfigureStore
* Chore: Fixes strict null errors in reducer tests
* Chore: Fixes strict null errors in reducers tests
* Chore: Fixes strict null errors in reducers tests
* Chore: Fixes strict null errors in toggleLogActionsMiddleware
* Chore: Fixes strict null errors in navModelReducer
* Core: Fixes strict null errors in public/app/features/admin/state
* Chore: Fixes strict null errors in public/app/features/dashboard/state/reducers.test.ts
* Chore: Fixes strict null errors in public/app/features/explore/state/reducers.test.ts
* Chore: Fixes strict null errors in public/app/features/datasources/state/reducers.test.ts
* Chore: Fixes strict null errors in public/e2e-test/scenarios/templating/templatevariables-crud.test.ts
* Chore: Fixes strict null errors in public/app/features/dashboard/containers/DashboardPage.test.tsx
2020-01-28 09:13:56 +01:00
Tobias Skarhed
1ad569c470
Chore: bump react-select to 3.0.8 ( #21638 )
...
* Update imports
* Solve compability issues with react-select
* Fix frozen lockfile
* Update snapshots
* Change name to something less general
* Fix proposed changes
* Fix imports
* Fix changes
2020-01-28 07:43:18 +01:00
Andrej Ocenas
c3a19c6d98
Influxdb: Fix issues with request creation and parsing ( #21743 )
2020-01-27 18:21:41 +01:00
kay delaney
7569a8608a
Explore/Loki: Fix handling of legacy log row context request ( #21767 )
...
Closes #21695
2020-01-27 15:45:01 +00:00
Marcus Andersson
1c0d022ac2
Dashboard: fixes issue with UI not being re-rendered after moving dashboard
2020-01-27 11:30:16 +01:00
Marcus Andersson
4e3ff19689
Dashboard: fixed issues with re-rendering of UI when importing dashboard ( #21723 )
...
* Fixed issues with angular digest and new backendSrv.
* Fixed failing tests.
2020-01-27 11:29:46 +01:00
Emil Tullstedt
3fabbbff4d
Footer: Display Grafana edition ( #21717 )
...
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-01-27 09:24:44 +01:00
Hugo Häggmark
84ef0ebb17
BackendSrv: Fixes POST body for form data ( #21714 )
...
* BackendSrv: Fixes POST body for form data
Fixes #21688
* Tests: Changes to POST examples
2020-01-27 08:47:27 +01:00
Hugo Häggmark
18788727f4
BackendSrv: Adds missing props back to response object in datasourceRequest ( #21727 )
...
* BackendSrv: Adds status, headers, statusText, redirect, type and url back to response
Fixes #21662
* BackendSrv: Adds request object back to datasourceRequest response
Fixes #21662
2020-01-27 07:25:24 +01:00
Andrej Ocenas
0fda3c4f44
Explore: Fix context view in logs, where some rows may have been filtered out. ( #21729 )
...
* Fix timestamp formats and use uid to filter context rows
* Remove timestamps from tests
2020-01-26 23:13:56 +01:00
Tobias Skarhed
751eb2c8bb
TablePabel: Sanitize column link ( #21735 )
2020-01-25 16:59:58 +01:00
Tobias Skarhed
4c41d7e7fb
Template vars: Add error message for failed query var ( #21731 )
2020-01-24 15:55:36 +01:00
Andrej Ocenas
39f7cff7c7
Loki: Refactor editor and syntax hooks ( #21687 )
2020-01-24 15:07:45 +01:00
Torkel Ödegaard
198f561541
Footer: added back missing footer to login page ( #21720 )
2020-01-24 12:35:54 +01:00
Dominik Prokop
d9e1cb44c8
Annotations: Fix issue with annotation queries editors ( #21712 )
2020-01-24 10:55:54 +01:00
Ivana Huckova
e75840737e
Loki: Fix Loki with repeated panels and interpolation for Explore ( #21685 )
2020-01-24 09:50:09 +01:00
Shavonn Brown
b3d5e678f4
Make importDataSourcePlugin cancelable ( #21430 )
...
* make importDataSourcePlugin cancelable
* fix imported plugin assignment
* init datasource plugin to redux
* remove commented
* testDataSource to redux
* add err console log
* isTesting is never used
* tests, loadError type
* more tests, testingStatus obj
2020-01-23 20:37:20 -05:00
Dominik Prokop
cdfac32dfd
PhantomJS: Fix rendering of panels using Prometheus datasource
...
In 043bb59
a URLSearchParams usage was introduced which is not supported by PhantomJS. @babel/polyfill(deprecated) does not contain polyfill for URLSearchParams, hence the code (and Prometheus graphs rendering) was failing in PhantomJS environment.
The solution is to add https://www.npmjs.com/package/url-search-params-polyfill that takes care of the URLSearchParams
2020-01-23 13:10:38 +01:00
kay delaney
87af7d9987
backendSrv: Only stringifies request body if payload isn't already a string ( #21639 )
...
* backendSrv: Only stringifies request body if payload isn't already a string
* Add test cases to verify behaviour
2020-01-23 08:54:20 +00:00
Erik Sundell
296af36a6f
Run query when region, namespace and metric changes ( #21633 )
2020-01-22 21:37:40 +01:00
Dominik Prokop
5afcf79c59
Migrations: migrate admin user create page ( #21506 )
...
* Create basic react page for AdminUserCreate
* Forms.Field - render asterisk when field is marked as required
* Add validation to user create form wih react-hook-form
* Remove Angular code for UserCreatePage
* Remove commented route for admin settings
* Remove unused import
* Hide react-hooks-form behind Form component
* Fix webkit autofill
* Webkit autofill on inpiuts - bring back focus shadow
* Temporarily fix story (before 21635 is merged)
* Form: docs and minor updates to new form elements (#21635 )
* Allow Switch, checkbox to be uncontrolled, forward refs, styles update
* Add Form docs
* User create page update
* Remove unused import
* Apply review notes
2020-01-22 15:26:03 +01:00
Torkel Ödegaard
36aab3a738
Docs: Whats new updates ( #21664 )
...
* Docs: Whats new updates
* Add cloudwatch and stackdriver paragraphs
* Minor changes
* Add link helper to render gif
* Docs: what's new updates
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com>
2020-01-22 14:02:47 +01:00
Torkel Ödegaard
741e1bb7e9
Login: Better auto sizing of login logo ( #21645 )
2020-01-22 11:06:12 +01:00
Hugo Häggmark
5dddc91ba5
Chore: Fixes PhantomJs by adding polyfills for fetch and AbortController ( #21655 )
...
* Chore: Fixes PhantomJs rendering
* Docs: Updated docs
* Update contribute/style-guides/e2e.md
Co-Authored-By: Dominik Prokop <dominik.prokop@grafana.com>
* Docs: Updates docs according to PR comments
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-01-22 08:15:31 +01:00