Commit Graph
18114 Commits
Author SHA1 Message Date
Erik Sundell e55a0cceff Merge branch 'panel-edit-in-react' of https://github.com/grafana/grafana into panel-edit-in-react 2018-11-30 12:50:16 +01:00
Erik Sundell c40bfb8eda make sure target obj is not destructured so that angular copy of objected can be mutated 2018-11-30 12:49:05 +01:00
Johannes Schill 58da6e8c26 react-panel: Add test for Input with validation on blur 2018-11-30 12:26:45 +01:00
Johannes Schill c722ea4f76 react-panel: Input validation should be optional 2018-11-30 11:04:56 +01:00
Torkel Ödegaard 6cbbffffb9 Merge pull request #14198 from grafana/panel-edit-in-react-query-inspector
Panel edit in react query inspector
2018-11-30 10:40:11 +01:00
Johannes Schill a8e184c025 react-panel: Clean up input validation and increase code readability 2018-11-30 10:21:55 +01:00
Johannes Schill 69ae3d2e6a react-panel: Time range options moved to "Queries" tab 2018-11-30 10:21:54 +01:00
Johannes Schill b7fcef3351 react-panel: Remove mock response button for now 2018-11-30 10:21:54 +01:00
Johannes Schill a03900e6cf react-panel: Remove comments and improve readability in render() 2018-11-30 10:21:54 +01:00
Johannes Schill 3908e64ef0 react-panel: Use correct type for children prop to avoid the use of fragments <></> 2018-11-30 10:21:54 +01:00
Johannes Schill 13d0a11798 react-panel: Remove json-formatter-js since we will continue with the "patched" version 2018-11-30 10:21:54 +01:00
Johannes Schill 23ae1c7184 react-panel: Move all query inspector logic into QueryInspector component and start with the "Mock response" 2018-11-30 10:21:54 +01:00
Johannes Schill 857bd3d8ad react-panel: Toggle Expand/Collapse json nodes in Query Inspector 2018-11-30 10:21:54 +01:00
Johannes Schill 8254086ecb react-panel: Add CopyToClipboard-component and separate QueryInspector to its own component from QueriesTab 2018-11-30 10:21:53 +01:00
Johannes Schill be67801e84 react-panel: Trigger panel refresh when opening inspector. Add loading-message 2018-11-30 10:21:53 +01:00
Johannes Schill 6242379915 react-panel: Replace JSONFormatter npm package with the current monkey patched JsonExplorer 2018-11-30 10:21:53 +01:00
Johannes Schill 5cca489acd react-panel: Clean up the JSONFormatter and make sure it updates both on mount and when props update 2018-11-30 10:21:53 +01:00
Johannes Schill 348f2e4ec4 react-panel: Get real datasource query for query inspector 2018-11-30 10:21:53 +01:00
Johannes Schill 82ce733e9e react-panel: Create component for JSON formatting and use it on query inspector 2018-11-30 10:21:53 +01:00
Erik Sundell 3d45b5ba73 make getAll return array instead of object 2018-11-30 09:48:59 +01:00
Erik Sundell df75fb0e6d remove obsolete test 2018-11-30 09:32:36 +01:00
Erik Sundell a4154fa925 Merge branch 'panel-edit-in-react' of https://github.com/grafana/grafana into panel-edit-in-react 2018-11-29 14:20:55 +01:00
Erik Sundell d1a2488392 pass data correctly to event handler 2018-11-29 14:20:15 +01:00
ijin08 46ec9bd6ad Merge branch 'panel-edit-in-react' of github.com:grafana/grafana into panel-edit-in-react 2018-11-29 10:51:56 +01:00
Erik Sundell 3162dda088 remove explore check - make it possible to load all datasources 2018-11-29 10:46:50 +01:00
Erik Sundell 58931c1316 add table support flag for stackdriver 2018-11-29 10:39:36 +01:00
Erik Sundell d9236c1081 add table support flag for prometheus 2018-11-29 10:39:24 +01:00
Erik Sundell e544f2bc74 add table support flag for postgres 2018-11-29 10:39:13 +01:00
Erik Sundell 699f6aecc6 add table support flag for opentsdb 2018-11-29 10:39:00 +01:00
Erik Sundell e635005626 add table support flag for mysql 2018-11-29 10:38:45 +01:00
Erik Sundell 00d8e1f221 add table support flag for mssql 2018-11-29 10:38:33 +01:00
Erik Sundell 71f6235a8c add table support flag for logging 2018-11-29 10:38:20 +01:00
Erik Sundell d66d2ae749 add table support flag for graphite 2018-11-29 10:38:04 +01:00
ijin08 2c943d9aec added new icons, fixed so different icons in different themes, added animation to hover on icons, styled choose visualization and datasource for both themes, made som styling adjustments to whole panel editor 2018-11-28 15:51:45 +01:00
Erik Sundell 6f85fa6b35 add new flag in order to be able to indicate whether the datasource has native support for tables 2018-11-28 15:06:22 +01:00
Erik Sundell 18abd987bb prevent explore from crashing when table is not present in response 2018-11-28 14:31:20 +01:00
Erik Sundell 4eebede9ef add current editor to panel targets 2018-11-27 16:50:09 +01:00
Erik Sundell 626a94be46 remove time srv initialization 2018-11-27 14:51:03 +01:00
Erik Sundell 7159b369a3 restructure imports 2018-11-27 14:49:03 +01:00
Erik Sundell 5e7d4beacf get intervals from explore function 2018-11-27 14:45:39 +01:00
Erik Sundell b36db6ac04 unregister all query editor event listeners 2018-11-27 14:27:33 +01:00
Erik Sundell c79d8b2a9b remove comments 2018-11-27 14:25:24 +01:00
Erik Sundell c567d75320 temp remove until stackdriver implements explore 2018-11-27 14:22:39 +01:00
Erik Sundell 1998c08df5 use default range from time picker 2018-11-27 13:13:26 +01:00
Erik Sundell 109ff1a3e1 includes ranges correctly in the options object 2018-11-26 17:09:50 +01:00
Erik Sundell 3395b1caf6 Merge branch 'panel-edit-in-react' of https://github.com/grafana/grafana into panel-edit-in-react 2018-11-26 13:44:32 +01:00
Erik Sundell 7209c7cd0a mock interval data 2018-11-23 15:37:49 +01:00
Erik Sundell 1e6ea8b124 rename variable 2018-11-23 15:15:41 +01:00
Erik Sundell 65c744c39f hide row specific buttons when query editor is rendered from explore 2018-11-23 15:14:13 +01:00
Erik Sundell ccddee4a4a add support for explore events 2018-11-23 15:12:20 +01:00