Torkel Ödegaard
912dc0f2a9
Merge pull request #14392 from grafana/14377-develop-graph-options
...
Removed graph side menu
2018-12-08 13:03:42 +01:00
ijin08
bd589b61bd
removed side menu from display options, kept overrides in display options, moved thresholds and time regions to its own section in visualization
2018-12-07 15:18:43 +01:00
Torkel Ödegaard
eb6d0e9f51
Merge branch 'master' into develop
2018-12-07 14:59:38 +01:00
Johannes Schill
a516ff81c9
Add prop key to panelPropsString to avoid a bug when changing another value and the render doesnt trigger
2018-12-06 09:39:17 +01:00
Johannes Schill
ed034b4288
Trigger panel.render on title, description, links change #14333
2018-12-05 14:56:29 +01:00
Mario Trangoni
ab9f65a4cf
public/app/features/*: Fix some misspell issues
2018-12-05 13:08:00 +01:00
Torkel Ödegaard
e31490ac68
fix for panel embedding. Solo panel height was not correctly set. Made panel--solo into panel-solo class. in develop branch we have remove the need for the panel class
2018-12-04 12:36:43 -08: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
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
fae3ae2580
use plugin_loader directly instead of using the wrapper
2018-11-23 14:32:56 +01:00
Erik Sundell
eaf9a0b39a
initial commit
2018-11-22 18:22:15 +01:00
Torkel Ödegaard
9a2b2863fb
styling progress
2018-11-22 08:46:54 +01:00
Torkel Ödegaard
7f46b75330
Merge branch 'develop' into panel-edit-in-react
2018-11-20 09:51:06 +01:00
Torkel Ödegaard
649d727805
Merge branch 'master' into develop
2018-11-20 09:47:23 +01:00
Torkel Ödegaard
571cfab923
added chekbox and other tweaks
2018-11-19 17:41:48 +01:00
Torkel Ödegaard
c67b55776c
Merge pull request #14123 from grafana/switch-back-from-mixed
...
fixed issue switching back from mixed data source
2018-11-19 14:40:37 +01:00
Johannes Schill
00596f0afc
react-panel: Finish the data source search on query tab and start moving switch-data-source-logic from angular
2018-11-19 14:35:16 +01:00
Torkel Ödegaard
1157a62375
fixed issue switching back from mixed data source, introduced by react panels changes
2018-11-19 14:20:19 +01:00
Torkel Ödegaard
d81d2f00f6
fixed issue with panel size when going into edit mode
2018-11-19 12:26:15 +01:00
Carl Bergquist
6049855dc7
Merge pull request #13947 from bergquist/alerting_for
...
Introduce alert debouncing
2018-11-19 10:38:02 +01:00
Torkel Ödegaard
dac02d3d73
React edit mode for angular panels progress
2018-11-16 08:31:29 +01:00
bergquist
7ba04466a2
alerting: improve annotations for pending state
2018-11-15 14:30:36 +01:00
Torkel Ödegaard
911646f913
poc: handling panel edit mode in react even for angular panels poc
2018-11-15 09:46:21 +01:00
Torkel Ödegaard
487fd12d66
wip: minor update
2018-11-15 07:33:59 +01:00
Torkel Ödegaard
159c5cdb63
wip: adding general tab for react panel edit mode
2018-11-14 17:57:37 +01:00
Torkel Ödegaard
c0197bcb15
fix: added events to MetricsTabCtrl to closer mimic MetricsPanelCtrl
2018-11-14 16:04:34 +01:00
Torkel Ödegaard
1eecda48f8
Moved query manipulations from metrics controller to metrics tab so they are more easily shared between angular and react panels
2018-11-14 14:40:03 +01:00
Torkel Ödegaard
888eb9d94c
fixed panel focus for react panels
2018-11-14 13:31:40 +01:00
Torkel Ödegaard
080d611004
minor changes to react panels
2018-11-14 13:20:19 +01:00
Torkel Ödegaard
6d91e06f4d
refactoring back the interval calculation, needs to be different for react panels
2018-11-13 16:01:52 +01:00
Torkel Ödegaard
81a9a3a3c1
Merge branch 'develop' into 12759-timeshift
2018-11-13 08:51:48 +01:00
Johannes Schill
a3f1a1c6b3
wip: panel-header: Remove the TimeData type
2018-11-12 11:31:33 +01:00
Johannes Schill
8117a7559f
wip: panel-header: Add proper typings to maxDataPoints and interval + remove code in comment
2018-11-12 11:31:33 +01:00
Johannes Schill
e55f3f883f
wip: panel-header: Move getResolution and calculateInterval into utils-functions and use the same code from react and angular
2018-11-12 11:31:33 +01:00
Johannes Schill
9fd62b80d9
wip: panel-header: Start implementing the applyPanelTimeOverrides in the react panels by moving it to a util, make it pure and call it from angular and react.
2018-11-12 11:31:33 +01:00
Torkel Ödegaard
a0620ac8f6
minor style fixes & polish
2018-11-11 17:46:40 +01:00
Torkel Ödegaard
c4ad069083
refactoring & cleaning up css
2018-11-10 17:28:28 +01:00
Torkel Ödegaard
a7daf58bb9
wip: progress on edit mode ux with tabs
2018-11-09 13:17:41 +01:00
Torkel Ödegaard
93b4cb562d
Fixed issues introduced by changing to PureComponent
2018-11-07 16:03:33 +01:00
Johannes Schill
5375ce5ffd
wip: panel-header: Refactor so "Share" use the same code in angular+react
2018-11-06 15:25:46 +01:00
Johannes Schill
f9dd516578
wip: panel-header: Add "Edit JSON" functionality + make sure everyone using the json editor pass in the model property instead of the scope property when triggering the json modal
2018-11-06 15:25:36 +01:00
Johannes Schill
edceb204e7
wip: panel-header: Add "Copy" functionality
2018-11-06 15:25:13 +01:00
Johannes Schill
b296d724e5
wip: panel-header: Add "Duplicate"
2018-11-06 15:25:07 +01:00
Torkel Ödegaard
dfb9419f86
Merge branch 'graph-legend-to-react'
2018-10-31 04:26:44 -07:00
Torkel Ödegaard
36cd73819a
fixed memory leaks and minor refactoring
2018-10-31 03:40:03 -07:00
Torkel Ödegaard
be6f68f341
fix for annotation promise clearing, bug introduced last week when merging react panels step1
2018-10-25 11:35:32 +02:00
Torkel Ödegaard
11f66bb909
fixed issue with template refresh
2018-10-19 09:43:54 +02:00
Torkel Ödegaard
2fb721d3c6
various fixes to to queries tab (in react mode)
2018-10-14 21:14:11 +02:00
Torkel Ödegaard
543c67a297
react panels: got data
2018-10-14 16:31:20 +02:00
Torkel Ödegaard
cd4619dad1
working on react data / query exectution
2018-10-14 15:39:34 +02:00
Torkel Ödegaard
8ba865bf57
Merge branch 'master' into react-panels-step1
2018-10-12 13:31:20 +02:00
Torkel Ödegaard
d2bdf8cff1
wip: fixed issues now things are starting to work as before for angular panels
2018-10-09 17:07:13 +02:00
Torkel Ödegaard
2f84101fe7
wip: restoring old angular panel tabs / edit mode
2018-10-07 10:39:47 -07:00
Torkel Ödegaard
dcb7f0d492
Merge branch 'master' into react-panels-ux-idea2
2018-10-04 09:08:19 +02:00
David Kaltschmidt
54c9beb146
Explore: jump to explore from panels with mixed datasources
...
- extends handlers for panel menu and keypress 'x'
- in a mixed-datasource panel finds first datasource that supports
explore and collects its targets
- passes those targets to the found datasource to be serialized for
explore state
- removed `supportMetrics` and `supportsExplore`
- use datasource metadata instead (set in plugin.json)
- Use angular timeout to wrap url change for explore jump
- Extract getExploreUrl into core/utils/explore
2018-10-01 12:03:57 +02:00
David Kaltschmidt
200784ea4a
Explore: Store UI state in URL
...
Storing queries, split state, and time range in URL.
- harmonize query serialization when generating Explore URLs in
dashboards (use of `renderUrl`)
- move URL parse/serialization to Wrapper
- keep UI states under two keys, one for left and one for right Explore
- add option to angular router to not reload page on search change
- add lots of types
- fix time service function that gets triggered by URL change
2018-09-28 16:44:07 +02:00
Torkel Ödegaard
5b52225450
wip: panel options idea2
2018-09-20 09:01:06 +02:00
Torkel Ödegaard
3ceab9484d
wip: moving option tabs into viz tab
2018-09-10 19:04:56 +02:00
Torkel Ödegaard
df822a660b
initial render/refresh timing issues
2018-09-10 16:19:28 +02:00
Torkel Ödegaard
100ab0ba23
Merge branch 'master' into react-panels
2018-09-10 15:42:36 +02:00
Patrick O'Carroll
2b74b1c4d6
added radix rule and changed files to follow rule ( #13153 )
2018-09-05 16:51:31 +02:00
Torkel Ödegaard
00c0b71f3d
Merge branch '12918-only-arrow-functions4'
2018-09-05 11:46:54 +02: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
dc4f547a40
Changed functions to arrow functions for only-arrow-functions rule.
2018-09-04 17:02:32 +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
Patrick O'Carroll
552a61b6ae
changed var to let in 50 files ( #13075 )
2018-08-30 09:03:11 +02:00
Patrick O'Carroll
b494a29e02
changed var to let in last files ( #13087 )
2018-08-30 08:58:43 +02:00
Patrick O'Carroll
5e0d0c5816
changed var to const ( #13061 )
2018-08-29 14:26:50 +02:00
Torkel Ödegaard
35c00891e7
tslint: more const fixes ( #13035 )
2018-08-26 20:19:23 +02:00
Torkel Ödegaard
9b978b7203
tslint: autofix of let -> const ( #13033 )
2018-08-26 17:14:40 +02:00
Torkel Ödegaard
fd81f89509
wip: angular panels now have similar edit mode and panel type selection enabling quick changing between panel react and angular panel types
2018-08-25 12:22:50 -07:00
Torkel Ödegaard
6ba8f6c5ab
wip: major change for refresh and render events flow
2018-08-25 08:49:39 -07:00
Torkel Ödegaard
1c97816275
wip: trying to align react & angular edit modes
2018-08-24 18:46:17 +02:00
Torkel Ödegaard
0b794ff685
Merge branch 'master' into react-panels
2018-08-24 17:29:10 +02:00
Tobias Skarhed
a65589a5fb
Rename test files
2018-08-14 10:52:41 +02:00
David
bfd05ba6ec
Merge pull request #12617 from grafana/davkal/prometheus-value-formatting
...
Make prometheus value formatting more robust
2018-07-18 17:11:16 +02:00
David Kaltschmidt
c6e9ffb168
Use url params for explore state
...
- putting state in the path components led to 400 on reload
- use `/explore?state=JSON` instead
2018-07-17 12:56:05 +02:00
Torkel Ödegaard
4e089229fb
minor fix for legacy panels
2018-07-16 14:56:40 +02:00
David Kaltschmidt
1f74b298c4
Remove string casting for template variables in prometheus
2018-07-16 13:02:36 +02:00
Torkel Ödegaard
902eba90d0
Merge branch 'master' into react-panels
2018-07-11 11:39:22 -07:00
Mitsuhiro Tanda
18a8290c65
(prometheus) prevent error to use $__interval_ms in query ( #12533 )
...
* prevent error to use $__interval_ms in query
* add test
* prevent error to use $__interval_ms in query
2018-07-11 11:13:47 -07:00
Torkel Ödegaard
50f24c98f7
wip: minor progres on react panels edit mode
2018-07-08 07:39:25 -07:00
Torkel Ödegaard
c86fc6fb47
react-panels: minor progress on data flow
2018-07-05 13:10:39 -07:00
Torkel Ödegaard
447bc3a6e0
Merge branch 'react-panels' of github.com:grafana/grafana into react-panels
2018-07-05 09:37:42 -07:00
Torkel Ödegaard
ab9e1b35cd
wip: minor progress on DataPanel
2018-07-01 17:34:42 +02:00
Torkel Ödegaard
70c808130f
react panels wip
2018-06-28 04:31:55 -07:00
Torkel Ödegaard
cec70c1ed8
feat: panels v2, metrics-tab loading
2018-06-26 16:32:01 +02:00
Torkel Ödegaard
1099daec38
wip: react panels, query editor loading from react PanelEditor view
2018-06-20 12:05:03 +02:00
Torkel Ödegaard
db52ea66bd
react panels minor progress
2018-06-19 16:57:55 +02:00
Torkel Ödegaard
542da8dc45
Merge branch 'master' into react-panels
2018-06-18 15:08:06 +02:00
ryan
0a3ec93347
use ng-if
2018-06-08 15:49:30 +02:00
David Kaltschmidt
3bd58446d6
Fix metrics panel test by adding config mock
2018-06-06 11:15:24 +02:00
David Kaltschmidt
661503f828
Respect explore settings in config ini
...
Previous explore restrictions only took permissions into consideration.
* add `exploreEnabled` to global settings
* only bind `x` if enabled
* only show explore in panel menu if enabled
2018-06-06 10:50:47 +02:00
David Kaltschmidt
827fb7e8de
Fix karma tests that rely on MetricsPanelCtrl
2018-05-30 15:24:47 +02:00
David Kaltschmidt
7224ca6c62
Fix panel menu test
2018-05-30 13:24:09 +02:00
David Kaltschmidt
f69654fcd5
Restrict Explore UI to Editor and Admin roles
...
Access is restricted via not showing in the following places:
* hide from sidemenu
* hide from panel header menu
* disable keybinding `x`
Also adds a `roles` property to reactContainer routes that will be
checked if `roles` is set, and on failure redirects to `/`.
2018-05-30 13:13:29 +02:00
David Kaltschmidt
0d3f24ce54
Explore: time selector
...
* time selector for explore section
* mostly ported the angular time selector, but left out the timepicker
(3rd-party angular component)
* can be initialised via url parameters (jump from panels to explore)
* refreshing not implemented for now
* moved the forward/backward nav buttons around the time selector
2018-05-24 10:55:00 +02:00
Daniel Lee
f15919555b
explore: fixes #11953
2018-05-17 14:56:15 +02:00
Alexander Zobnin
00454b32f5
fix XSS vulnerabilities in dashboard links ( #11813 )
...
fix XSS vulnerabilities in dashboard links
2018-05-08 11:28:16 +02:00