Tobias Skarhed
a79c43420a
Add mocks
2018-08-13 10:57:32 +02:00
Tobias Skarhed
520aad819d
Replace element
2018-08-10 16:30:51 +02:00
Tobias Skarhed
076bfea362
Rewrite heatmap to class
2018-08-10 15:35:47 +02:00
Tobias Skarhed
9188f7423c
Begin conversion
2018-08-10 09:35:19 +02:00
Marcus Efraimsson
1bb3cf1c31
keep legend scroll position when series are toggled ( #12845 )
2018-08-09 16:04:56 +03:00
Marcus Efraimsson
4d3e435298
Merge pull request #12774 from grafana/12766-table-colored-cell-link
...
table link color fix
2018-08-02 16:32:09 +02:00
Patrick O'Carroll
ff0ca6b7e2
added two new classes for color, fixed so link has value color
2018-08-02 15:25:48 +02:00
Mitsuhiro Tanda
04fcd2a054
add series override option to hide tooltip ( #12378 )
...
* add series override option to hide tooltip
* fix test
* invert option
* fix test
* remove initialization
2018-08-02 02:49:40 -07:00
Patrick O'Carroll
36d981597e
removed table-panel-link class and add a class white to modify table-panel-cell-link class
2018-08-02 11:18:21 +02:00
Patrick O'Carroll
d4d896ade8
replaced style with class for links
2018-08-01 09:08:17 +02:00
Patrick O'Carroll
4b8ec4e323
removed a blank space in div
2018-07-31 13:07:43 +02:00
Patrick O'Carroll
7b5b94607b
fixed color for links in colored cells by adding a new variable that sets color: white when cell or row has background-color
2018-07-31 12:51:07 +02:00
Marcus Efraimsson
8188679951
Merge pull request #12745 from dehrax/12224-heatmap-ctrl
...
Karma to Jest: heatmap_ctrl
2018-07-27 17:18:15 +02:00
Tobias Skarhed
805dc3542f
Remove extra mock
2018-07-27 16:46:41 +02:00
Tobias Skarhed
26f709e87e
Karm to Jest
2018-07-27 16:45:03 +02:00
Tobias Skarhed
766c23a1eb
Fix emit errors
2018-07-27 15:16:19 +02:00
Tobias Skarhed
2db4a54f75
Fix test
2018-07-27 14:40:56 +02:00
Tobias Skarhed
55111c801f
Update test for local time
2018-07-27 13:41:07 +02:00
Tobias Skarhed
bff7a29356
Cleanup
2018-07-27 11:34:14 +02:00
Tobias Skarhed
3d21e42aac
Remove Karma file
2018-07-27 11:30:37 +02:00
Tobias Skarhed
47da3e3ae8
All tests passing
2018-07-27 11:28:16 +02:00
Tobias Skarhed
675a031b6c
All except one passing
2018-07-27 11:04:01 +02:00
Tobias Skarhed
fc06f8bfe7
Pass more tests
2018-07-26 17:22:15 +02:00
Tobias Skarhed
88e91b3f51
Begin conversion
2018-07-26 10:44:40 +02:00
Tobias Skarhed
47bec0fd91
Fix requested changes
2018-07-23 15:42:47 +02:00
Tobias Skarhed
529883b61d
Change to arrow functions
2018-07-23 13:39:32 +02:00
Tobias Skarhed
ed8568f0df
Add graph_ctrl jest
2018-07-23 13:38:16 +02:00
Tobias Skarhed
ae935bf08b
Add jest test file
2018-07-23 11:31:04 +02:00
Marcus Efraimsson
608303f4ce
Merge branch 'master' into jquery-flot-events-to-ts
2018-07-23 10:59:25 +02:00
Torkel Ödegaard
c6bcf13d78
Devenv testdata dashboards ( #12615 )
...
* devenv: working on dev env setup & dashboards
* devenv: refactored testdata app to a built in datasource instead, and moved dashboards to a devenv provisioned dashboards
2018-07-16 03:12:13 -07:00
Torkel Ödegaard
211e0f2199
wip: another baby step, another million to go
2018-07-11 12:11:21 -07:00
Torkel Ödegaard
902eba90d0
Merge branch 'master' into react-panels
2018-07-11 11:39:22 -07:00
Dominic Smith
5578097210
Add new sequential color scales
...
* Add new sequential color scales
* Simplify inversion logic
2018-07-10 12:17:55 +03:00
Torkel Ödegaard
761283231c
react panels: working on changing type
2018-07-09 18:17:51 +02:00
Torkel Ödegaard
e052e165e9
Merge branch 'react-panels' of github.com:grafana/grafana into react-panels
2018-07-09 15:35:31 +02:00
Torkel Ödegaard
4fd2107071
Merge branch 'master' of github.com:grafana/grafana into react-panels
2018-07-09 15:35:16 +02:00
Torkel Ödegaard
c86fc6fb47
react-panels: minor progress on data flow
2018-07-05 13:10:39 -07:00
Torkel Ödegaard
09ad8360ea
Merge branch 'master' into react-panels
2018-07-05 09:36:03 -07:00
Alexander Zobnin
36f08994cc
prometheus heatmap: fix unhandled error when some points are missing
2018-07-05 16:33:52 +03:00
Daniel Lee
8537f10285
Merge pull request #11892 from ApsOps/colorize-singlestat-prefix-postfix-option
...
Make colorization of prefix and postfix optional in singlestat
2018-06-28 14:42:48 +02:00
Tobias Skarhed
af0a4a6039
Karma to Jest: 3 test files ( #12414 )
...
* Karma to Jest: viewstate_srv
* Karma to Jest: annotations_srv
* Remove comments
* Karma to Jest: series_override_ctrl
* Remove unnecessary code
* Class to function and fix lint error
* Fix ngInject
2018-06-28 04:43:23 -07:00
Torkel Ödegaard
1420147ccb
Merge branch 'master' into react-panels
2018-06-26 15:18:54 +02:00
Aman
e11f6f5cdf
Make pre/postfix coloring checkboxes inactive when gauge is active
2018-06-26 13:06:26 +05:30
Aman
1dd65f7a39
Add options to colorize prefix and postfix in singlestat
2018-06-22 14:50:04 +05:30
Marcus Efraimsson
296a841685
Merge pull request #12123 from alexanderzobnin/fix-11792
...
graph: fix legend decimals precision calculation
2018-06-20 13:08:17 +02:00
Torkel Ödegaard
13bc9f6fb2
updated
2018-06-19 17:30:10 +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
Tobias Skarhed
155ff06cbe
Karma to Jest: threshold_manager
2018-06-14 13:22:17 +02:00
Marcus Efraimsson
71b0326769
Merge pull request #12237 from dehrax/12224-version-panel
...
Convert tests from Karma to Jest
2018-06-14 10:13:46 +02:00
Tobias Skarhed
d91e9ddd22
Convert tests from Karma to Jest
2018-06-12 13:54:07 +02:00
Tobias Skarhed
da9a28f37d
Karma to Jest: graph-tooltip
2018-06-11 15:59:20 +02:00
Alexander Zobnin
24f6d34abd
graph: fix legend decimals precision calculation
2018-06-07 16:02:44 +03:00
Patrick O'Carroll
d650dc94c9
fixed so default is all and general only show dashboards
2018-06-04 17:25:20 +02:00
Patrick O'Carroll
937b26f3fd
added s to folderId in params
2018-06-04 16:28:24 +02:00
Patrick O'Carroll
0c269d64d0
Alert panel filters ( #11712 )
...
alert list panel: filter alerts by name, dashboard, folder, tags
2018-06-01 14:36:40 +02:00
Patrick O'Carroll
b894b5e669
Fix singlestat threshold tooltip ( #12109 )
...
fix singlestat threshold tooltip
2018-05-30 18:09:57 +02:00
Ryan McKinley
17b9609209
Sparklines should scale to the data range ( #12010 )
...
* Add a full range option to sparklines
* line zero=false
2018-05-28 16:30:44 +02:00
Daniel Lee
b086981e15
Merge pull request #11954 from grafana/11830-firefox-legend
...
legend: fixes Firefox/baron scroll bug
2018-05-16 16:49:42 +02:00
Daniel Lee
50026fad2e
legend: fixes Firefox/baron scroll bug
...
Compensates for Firefox scrollbar calculation error in the baron framework.
Offsetwidth and clientwidth are used to find the width of the scrollbar. In
the legend these differ by 9px and cause the scroll div to grow by 9px for
every refresh. This fix compensates with a negative margin-right in that
case.
Fixes #11830
2018-05-16 15:08:22 +02:00
Patrick O'Carroll
b2027af4cb
wrote classes
2018-05-16 13:37:26 +02:00
Patrick O'Carroll
d83f886519
migrated jquery.flot.events to ts
2018-05-16 13:37:26 +02:00
Mitsuhiro Tanda
87c9c47579
use canMakeEditable
2018-05-16 11:58:51 +09:00
Mitsuhiro Tanda
fe301142ba
allow to add annotation for non editable dashboard
2018-05-16 11:51:28 +09:00
Marcus Efraimsson
ef0b7bda6f
singlestat: render time of last point based on dashboard timezone ( #11425 )
...
* singlestat: render time of last point based on dashboard timezone
* changelog: add note for #10338
2018-05-08 15:59:29 +02:00
Angrite
e52aceeaba
Fix for #10078 : symbol "&" is not escaped ( #10137 )
...
Fix for #10078 : Render value as link in Table panel: ampersand symbol "&" is not escaped in link URL, resulting URL is wrong.
2018-05-08 15:47:09 +02:00
Chris Rice
10f934d287
Add alpha color channel support for graph bars ( #10956 )
...
* Set fillColor in bars on load and on color change
* Change bar fill color on color override
* Added test for series overrides
* Moved bars fill color setting into time_series. Fixed issue with prev commit where you could not show bars because of series overrides.
2018-05-08 15:18:57 +02:00
David
1236b7b918
Merge pull request #11770 from grafana/davkal/explore-panel-link
...
Explore: Add entry to panel menu to jump to Explore
2018-05-07 16:31:19 +02:00
Marcus Efraimsson
da8f6c150b
Merge pull request #11751 from mtanda/11690
...
fix to match table column name and order
2018-05-03 18:33:46 +02:00
David Kaltschmidt
05b0bfafe4
Explore: Add entry to panel menu to jump to Explore
...
* panel container menu gets new Explore entry (between Edit and Share)
* entry only shows if datasource has `supportsExplore` set to true (set
for Prometheus only for now)
* click on Explore entry changes url to `/explore/state` via location provider
* `state` is a JSON representation of the panel queries
* datasources implement `getExploreState()` how to turn a panel config into explore initial
state
* Explore can parse the state and initialize its query expressions
* ReactContainer now forwards route parameters as props to component
* `pluginlist` and `singlestat` panel subclasses needed to be adapted because
`panel_ctrl` now has the location provider as a property already
2018-04-30 17:44:28 +02:00
Marcus Efraimsson
b0349bc795
Merge pull request #11575 from alexanderzobnin/fix-11498
...
Histogram: fix invisible highest value bucket
2018-04-30 16:32:21 +02:00
Daniel Lee
fc718b8a9a
table: fix for padding
...
The table-panel-wrapper class got removed when clicking on the panel
menu which resulted in extra padding for the .panel-content div. This
fixes that by setting the table-specific css class lower down in the
html.
2018-04-30 16:17:37 +02:00
Alexander Zobnin
b16626c3b5
graph histogram: fix invisible highest value bucket
2018-04-30 16:12:31 +02:00
Marcus Efraimsson
138c8c348e
revert renaming of unit key ppm
...
#11211 removed the unit key ppm in favor of conppm. A change which is not forward compatible.
This commit revert the unit key back to ppm.
Also adds some better error description if trying to use a unit which don't exists.
Fixes #11743
2018-04-27 13:41:20 +02:00
Mitsuhiro Tanda
c2b720835b
fix to match table column name and order
2018-04-27 19:34:10 +09:00
Carl Bergquist
2dfa576c76
Merge pull request #11504 from hahnjo/11476-influxdb-show-cardinality
...
influxdb: Check before assuming first column to be 'time'
2018-04-19 11:18:01 +02:00
Mario Trangoni
e5e6bc56c8
public: fix codespell issues
2018-04-13 20:31:29 +02:00
Alexander Zobnin
74c10515ad
fix right side legend rendering in phantomjs
2018-04-12 14:22:19 +03:00
Marcus Efraimsson
2956011b60
fix so that dash list panel are rendered correctly
...
This resolves issue with dash list panel getting scrollbars
attached to incorrect elements. Now the panel content are
rendered correctly and all content are displayed as
expected.
2018-04-11 17:44:51 +02:00
Alexander Zobnin
d3d64337b4
scrollbar: styles cleanup
2018-04-06 20:00:03 +03:00
Jonas Hahnfeld
dfccabab75
singlestat: Fix optimization in setTableColumnToSensibleDefault
...
tableColumnOptions is an associative array that has no property length.
Use tableData.columns as in the default case which works just fine.
2018-04-05 20:59:11 +02:00
Alexander Zobnin
d6233714d2
Merge remote-tracking branch 'upstream/master' into fix-11053
2018-04-05 16:30:46 +03:00
Alexander Zobnin
fa43782299
scrollbar: fix graph legend height
2018-04-05 16:28:12 +03:00
Daniel Lee
2d1f2f3636
Merge pull request #11480 from grafana/graph_tooltip_to_ts
...
Graph tooltip to ts
2018-04-04 23:03:31 +02:00
Jarno Tuovinen
90aab44558
Use curly brackets around hyperlink help text #11478 ( #11479 )
2018-04-04 20:07:22 +02:00
Alexander Zobnin
6b598f34cd
scrollbar: fix 'legendScrollbar.destroy is not a function' error
2018-04-04 19:00:28 +03:00
Alexander Zobnin
efaf267deb
scrollbar: fix legend rendering issues
2018-04-02 20:47:09 +03:00
Alexander Zobnin
77d2ee9add
Initially move to baron scrollbar
2018-04-02 14:59:49 +03:00
Patrick O'Carroll
7b9b34c6e1
migrated graph_tooltip to ts
2018-03-29 11:51:34 +02:00
Patrick O'Carroll
65f7c5f08f
started migration to ts
2018-03-29 10:40:45 +02:00
Patrick O'Carroll
a3f15ced68
fixed graphpanel editmode and custom width for right side legend for IE11
2018-03-28 14:19:17 +02:00
Marcus Efraimsson
f673ec16d1
table panel: additional fixes for value to text mapping
...
Make the value to text mapping more similar to singlestat solution.
Adds more tests.
Also, allows string to be mapped to other string besides numeric values.
2018-03-27 19:04:45 +02:00
aandrew
67f0382222
add value to text mapping
2018-03-27 19:00:22 +02:00
Daniel Lee
78d314a9c1
Merge pull request #11140 from grafana/11131_right_legend_responsive
...
added media breakpoint to legend-right
2018-03-23 12:49:35 +01:00
Daniel Lee
4f38d237cb
legend: small refactoring
2018-03-23 11:08:24 +01:00
Marcus Efraimsson
c672e44d35
graph: minor fixes to y-axes alignment feature
2018-03-22 18:30:23 +01:00
Patrick O'Carroll
4916826364
small screen legend right also work like legend under in render + set scrollbar to undefined in destroyScrollbar so it doesnt become disabled when toggeling between right and under
2018-03-22 14:39:13 +01:00
Patrick O'Carroll
f2f709989f
fixed so legend right works like legend under on small screens
2018-03-22 09:41:05 +01:00
ilgizar
0e159dada1
Allocated to a separate alignment block. Replaced the attribute of the second axis by the attribute of the axes.
2018-03-20 22:44:48 +05:00
ilgizar
e015047ed1
Fixed unit test.
2018-03-20 16:09:52 +05:00
ilgizar
1588295375
Changed the way this feature was activated. And changed tolltip.
2018-03-20 15:38:48 +05:00
ilgizar
230f018c78
Added validation of input parameters.
2018-03-20 15:37:18 +05:00
ilgizar
bd3d17ab8c
Merge remote-tracking branch 'upstream/master' into 1271_share_zero
2018-03-14 23:42:58 +05:00
ilgizar
9d7ab78d9f
Resolved conflict
2018-03-14 23:39:05 +05:00
Alexander Zobnin
560aec50b3
Merge PR #8613
2018-03-13 15:36:32 +03:00
Alexander Zobnin
30d077d1d1
graph: minor refactor of histogram mode PR #8613
2018-03-13 15:25:28 +03:00
Alexander Zobnin
38a19f7c90
Merge branch 'histogram_multi' of https://github.com/mtanda/grafana into mtanda-histogram_multi
2018-03-13 13:18:55 +03:00
Carl Bergquist
6df13252bf
Merge pull request #11143 from ApsOps/colorize-singlestat-prefix-postfix
...
Add color to prefix and postfix in singlestat panel
2018-03-13 10:41:40 +01:00
ilgizar
7dd66450ad
Corrected work for graphs created before this feature.
2018-03-12 23:43:13 +05:00
ilgizar
8c82e5701c
Replaced array values to variables yLeft and yRight for easy reading code.
2018-03-12 23:12:45 +05:00
ilgizar
11ae926388
Rename test file according module name.
2018-03-12 23:11:11 +05:00
Alexander Zobnin
94cf560304
Merge remote-tracking branch 'upstream/master' into prometheus-heatmap
2018-03-12 17:16:02 +03:00
ilgizar
8152b9d6fe
Refactoring
2018-03-12 10:54:03 +05:00
Alexander Zobnin
759e05d09e
heatmap: add explanation of Time series buckets mode
2018-03-07 17:08:34 +03:00
Aman
a94de51e5e
Add color to prefix and postfix in singlestat
2018-03-07 19:36:42 +05:30
Alexander Zobnin
5e452e445c
heatmap: able to set upper/lower bucket bound manually
2018-03-07 16:57:46 +03:00
Alexander Zobnin
18a90667ba
heatmap: refactor
2018-03-07 16:33:33 +03:00
Alexander Zobnin
a791a92d79
heatmap: fix Y axis and tooltip decimals and units issues
2018-03-07 13:28:44 +03:00
ilgizar
916539fad9
Append test to check not zero level.
2018-03-07 14:21:10 +05:00
ilgizar
7cddc54306
Add bs-tooltip to Y-Align element.
2018-03-07 12:12:39 +05:00
Carl Bergquist
08f587a0ef
Merge pull request #10838 from ilgizar/7107_right_y_axis
...
Thresholds for Right Y axis
2018-03-06 15:18:24 +01:00
Alexander Zobnin
0912f61ea3
heatmap: fix tooltip count and bucket bound format
2018-03-06 15:21:37 +03:00
Tony Dong
96504940a8
fix typo in heatmap rendering.ts ( #11101 )
2018-03-06 10:36:06 +01:00
Alexander Zobnin
5037f93a78
heatmap: sort series before converting to heatmap.
...
This allows to use histogram series from arbitrary datasource and display it properly.
2018-03-05 14:01:55 +03:00
Alexander Zobnin
d6087eb5f4
heatmap: hide unused Y axis controls for tsbuckets mode
2018-02-28 16:30:00 +03:00
Alexander Zobnin
76c684cc01
heatmap: format numeric tick labels in tsbuckets mode
2018-02-28 16:19:58 +03:00
Alexander Zobnin
dfe8b0a0d2
heatmap: add rendering tests for tsbuckets mode
2018-02-28 15:58:28 +03:00
Alexander Zobnin
5c73ed6ecd
heatmap: use series names as top or bottom bounds, depends of datasource
2018-02-27 15:14:40 +03:00
Alexander Zobnin
f21cebeefd
heatmap: refactor
2018-02-27 14:17:57 +03:00
Alexander Zobnin
7c78e8e383
heatmap: add few tests for histogram converter
2018-02-27 14:17:29 +03:00
Alexander Zobnin
26ddb9977f
heatmap: fix Y bucket size calculation for 'tsbuckets' mode
2018-02-26 16:26:54 +03:00
Alexander Zobnin
2a2675c1af
heatmap: fix bucket labels shift
2018-02-22 16:54:28 +03:00
Alexander Zobnin
e0a874f677
heatmap tooltip: fix bucket bounds for 'tsbuckets' mode
2018-02-22 16:33:45 +03:00
Alexander Zobnin
cc34c9a651
heatmap tooltip: fix count decimals
2018-02-22 16:12:42 +03:00
Alexander Zobnin
bc47380032
heatmap: fix tooltip histogram for 'tsbuckets' mode
2018-02-22 16:06:21 +03:00
Alexander Zobnin
97c54e6956
heatmap: use buckets from histogram with 'tsbuckets' mode
2018-02-22 15:43:08 +03:00
ilgizar
66590042a6
Add unit tests.
2018-02-22 15:41:11 +05:00
ilgizar
9e68cbea51
Refactoring code
2018-02-22 15:38:32 +05:00
Alexander Zobnin
ceb8223ddf
Fixes for heatmap panel in Grafana 5 ( #10973 )
...
* heatmap: fix chart height
* heatmap: fix font size
* heatmap: fix legend size
* heatmap: fix rendering tests
2018-02-21 09:16:56 +01:00
ilgizar
7eeb68b590
Refactoring code. Change Y-Zero to Y-Level.
2018-02-20 16:58:49 +05:00
Patrick O'Carroll
1293fcadd2
added an if to check for null to sort null as 0 ( #10961 )
...
* added an if to check for null to sort null as 0
* changed 0 to -Infinity
2018-02-20 09:45:30 +01:00
Torkel Ödegaard
ae20366b01
graph: added 0.5 point radius option
2018-02-19 11:37:42 +01:00
ilgizar
57013d2228
Share zero between Y axis.
2018-02-18 00:54:35 +05:00
Daniel Lee
6fa46d9539
plugins: update meta data for all core plugins
...
So that the readme's can be published on Grafana.com
2018-02-15 16:50:38 +01:00
Torkel Ödegaard
57103ec98a
fix: refactoring #10922
2018-02-15 12:42:17 +01:00
Alexander Zobnin
b4c51f8822
Fix phantomjs legend rendering issue, #10526
2018-02-15 12:59:14 +03:00
ilgizar
425586f67d
Set default threshold axis to 'left' for panels created before this feature.
2018-02-14 23:44:04 +05:00
ilgizar
57e31ca71b
Correct code style.
2018-02-09 10:06:50 +05:00
ilgizar
98e5815c97
append test to thresholds on right axis
2018-02-08 17:28:24 +05:00
ilgizar
578ee88ff3
Fix #7107
2018-02-08 12:53:02 +05:00