Torkel Ödegaard
2333cf3fd1
Improved error handling when rendering dashboard panels, fixes #15913
2019-03-13 11:43:16 +01:00
Torkel Ödegaard
9e7d1f4275
Merge pull request #15466 from grafana/bar-gauge-poc
...
New Bar Gauge panel
2019-03-13 11:12:33 +01:00
ijin08
c96b3995e4
moved delete button from sidebar to general tab and renamed it
2019-03-13 10:24:26 +01:00
Torkel Ödegaard
71159fb606
Merge remote-tracking branch 'origin/master' into bar-gauge-poc
2019-03-13 08:26:06 +01:00
ryan
8cca611727
comment cleanup
2019-03-12 21:25:35 -07:00
ryan
09ba8cd5d3
make sure the validator is called before setState
2019-03-12 16:35:22 -07:00
ryan
7311b14da1
API to fix/update properties before load
2019-03-12 16:10:14 -07:00
ijin08
dc98fb5e82
added two new variables in default theme for panel padding, replaced panelhorizontalpadding and variables.panelverticalpadding with new variables
2019-03-12 14:24:48 +01:00
Torkel Ödegaard
51c06a8c46
Merge pull request #15901 from grafana/8px-system-margins
...
8px system margins
2019-03-12 12:31:31 +01:00
ijin08
a418697453
s -> sm, m -> md, l -> lg
2019-03-12 08:10:31 +01:00
Torkel Ödegaard
aeb3553491
Added scopedVars argument in datasourceSrv.get in DataPanel
2019-03-11 18:36:49 +01:00
ijin08
d55f189749
added new space variables to margins in AddPanelWidget, add_data_source, dashboard_settings and sidemenu
2019-03-11 11:33:15 +01:00
ryan
6617a382a3
Merge remote-tracking branch 'grafana/master' into all-data-as-table
...
* grafana/master: (23 commits)
@grafana/ui - release docs v1 (#15835 )
Minor refactoring of copy tags when saving feature, #15446
Simple implementation for preserve tags, closes #11627
Updated prettierignore
Refactoring of PR #14772
fix typo in pr template
add nil/length check when delete old login attempts
Minor refactoring of new react text panel
fix allow anonymous server bind for ldap search
Update README.md
use pure component
use replaceVariables
Catch bad regex exception at controller level
11780: invalid reg value can cause unexpected behaviour
update
Add string quote func
Remove option used to control within browser
Add pic into actionCard message
Add new option to set where to open the message url
Optimize the Dingding match values format
...
2019-03-08 08:25:30 -08:00
Torkel Ödegaard
04c88a226b
Minor refactoring of copy tags when saving feature, #15446
2019-03-08 14:24:45 +01:00
Torkel Ödegaard
60272d8a77
Simple implementation for preserve tags, closes #11627
2019-03-08 14:00:44 +01:00
ryan
439b044204
move toTableData to grafana/ui
2019-03-07 13:09:53 -08:00
ryan
8bf57359ab
don't require x & y columns for timeSeries
2019-03-07 12:47:21 -08:00
ryan
abf015ace2
use TableData for timeseries in react
2019-03-07 12:13:38 -08:00
Torkel Ödegaard
a826c117e2
Merge pull request #15834 from grafana/revert-15791-fix/leave-playlist
...
Revert "Fix for leaving playlist mode"
2019-03-07 08:46:14 +01:00
ryan
82326fed42
return the same panelData unless it changes
2019-03-06 15:18:24 -08:00
Torkel Ödegaard
2604e9e433
Minor refactoring of PR #15770
2019-03-06 17:53:14 +01:00
Torkel Ödegaard
18d5c04ae4
Merge branch 'toggle-all-legends' of https://github.com/jsferrei/grafana into jsferrei-toggle-all-legends
2019-03-06 17:48:59 +01:00
Torkel Ödegaard
3895294f97
Revert "Fix for leaving playlist mode"
2019-03-06 17:39:18 +01:00
Torkel Ödegaard
878b41d666
Merge pull request #15822 from grafana/copy-panel-retain-size
...
Keep size from copied panel
2019-03-06 17:06:19 +01:00
Peter Holmberg
2c1be2c37e
position from add panel, dimensions from copied panel
2019-03-06 15:19:58 +01:00
Marcus Efraimsson
1323043bd4
Merge pull request #15805 from grafana/15667_fix
...
fix only users that can edit a dashboard should be able to update panel json
2019-03-06 13:56:49 +01:00
Peter Holmberg
db2b8ea602
keep size from copied panel and not from add panel widget
2019-03-06 13:23:11 +01:00
Peter Holmberg
4e57ead38d
Prevent search in VizPicker from stealing focus ( #15802 )
...
Fixes #15569 focus issue in viz picker search
* added state to not set focus on search every render
* move to new component to handle focus
2019-03-06 13:07:08 +01:00
Marcus Efraimsson
1a588dadbe
fix only users that can edit a dashboard should be able to update panel json
2019-03-06 12:57:19 +01:00
ryan
3dd7d40718
fix comments
2019-03-05 22:18:42 -08:00
ryan
948729e951
remove console.log
2019-03-05 22:00:12 -08:00
ryan
f5aba36814
add ScopedVars to replace function
2019-03-05 21:56:52 -08:00
Jon Ferreira
46fa09fdad
Add a keybinding that toggles all legends in a dashboard
2019-03-05 13:19:40 -05:00
Torkel Ödegaard
cd78f0bef2
Fixed scrollbar not visible due to content being added a bit after mount, fixes #15711
2019-03-05 14:32:33 +01:00
Torkel Ödegaard
be8f60b0bf
Merge pull request #15791 from grafana/fix/leave-playlist
...
Fix for leaving playlist mode
2019-03-05 12:38:14 +01:00
Peter Holmberg
a158a19272
reordered import
2019-03-05 12:10:20 +01:00
Peter Holmberg
978cdfba00
Wrapperd playlist controls in clickoutsidewrapper
2019-03-05 12:08:57 +01:00
Torkel Ödegaard
a5455691b3
Hide time info switch when no time options are specified
2019-03-05 11:43:25 +01:00
Hugo Häggmark
48570c6272
Made sure that DataSourceOption displays value and fires onChange/onBlur events ( #15757 )
...
* Fixed #15682
* fix: Add hideTimeOverride to state since we need to control the Switch
* fix: Back the maxDataPoints change, we need to keep it as a string
Co-authored-by:johannes.schill@polyester.se
2019-03-05 10:49:45 +01:00
Torkel Ödegaard
0016ad2cb3
Merge pull request #15774 from ryantxu/set-options
...
Rename PanelEditorProps.onChange to onOptionsChange
2019-03-05 09:11:56 +01:00
ryan
3d16528459
use onOptionsChange
2019-03-04 12:35:24 -08:00
ryan
251008f590
use replaceVariables rather than onInterpolate
2019-03-04 11:44:38 -08:00
ryan
77d709d9df
use updateOptions rather than onChange
2019-03-04 11:21:05 -08:00
Marcus Efraimsson
646ca90b10
Merge pull request #15767 from grafana/15650-autofitpanel-kiosktvmode
...
No scroll in autofitpanel-mode
2019-03-04 08:44:28 -08:00
Johannes Schill
cc40a515be
fix: When in tv-mode, autofitpanel should not take space from the navbar #15650
2019-03-04 13:46:10 +01:00
Hugo Häggmark
3a65e27e83
Fixes #15739
2019-03-04 10:42:59 +01:00
Torkel Ödegaard
84b2c0447e
Fixed right side scrollbar margin on dashboard page
2019-02-28 08:29:18 -08:00
Torkel Ödegaard
f768808b6e
Fixed value dropdown not updating when it's current value updates, fixes #15566
2019-02-23 08:59:00 +01:00
Peter Holmberg
73b4d817e4
prettier fix
2019-02-21 16:07:07 +01:00
Peter Holmberg
362829d7ad
Merge branch 'master' into bar-gauge-poc
2019-02-21 15:08:49 +01:00
Peter Holmberg
f3ff3c1aec
fixed tests
2019-02-21 14:44:21 +01:00
Peter Holmberg
89883c2cf6
copying options between visualizations
2019-02-21 13:43:36 +01:00
Torkel Ödegaard
b21eb36909
Merge branch 'master' of github.com:grafana/grafana
2019-02-21 12:18:34 +01:00
Torkel Ödegaard
31511ee3cc
fixed snapshots failing in master
2019-02-21 12:10:01 +01:00
Peter Holmberg
58f194b483
Merge branch 'master' into bar-gauge-poc
2019-02-21 10:38:26 +01:00
Torkel Ödegaard
44af31585f
Merge branch 'master' into cli/watch-sass-var
2019-02-20 11:15:30 +01:00
Daniel Lee
c5a70e9b97
Pass dashboardModel to PanelCtrl class. Fixes #15541
2019-02-19 18:53:07 +01:00
Dominik Prokop
d19616a16b
Merge branch 'master' into cli/watch-sass-var
2019-02-19 17:27:25 +01:00
Peter Holmberg
5f56a07a23
Merge branch 'master' into bar-gauge-poc
2019-02-19 15:43:08 +01:00
Dominik Prokop
88a46e6dd4
Bump Prettier version ( #15532 )
...
* Fix prettier version to 1.16.4
2019-02-19 15:41:35 +01:00
Johannes Schill
891b2ca1a2
fix: Have the tab param removed from the url when leaving edit mode #15485
2019-02-19 09:43:35 +01:00
Peter Holmberg
93e8edfddd
Fixing array direction, adding simple render test, fixes #15478
...
Fixed unit test and updated gauge
Added migration for threshold order
2019-02-18 16:46:32 +01:00
Torkel Ödegaard
2afd3cf5aa
Merge pull request #15499 from grafana/hugoh/bug-thresholds-and-infinity
...
Fixes #15477
2019-02-18 15:07:24 +01:00
Hugo Häggmark
92972eed7b
Fixes #15477
2019-02-18 13:56:48 +01:00
Torkel Ödegaard
35253cb7f7
Merge pull request #15498 from grafana/fix/15463
...
Remove maxDataPoints and interval props from props to remember in panel model
2019-02-18 12:37:07 +01:00
Torkel Ödegaard
26d02180e5
Merge branch 'bar-gauge-poc' of github.com:grafana/grafana into bar-gauge-poc
2019-02-18 12:01:15 +01:00
Torkel Ödegaard
711e4e926b
Merge branch 'master' into bar-gauge-poc
2019-02-18 11:55:37 +01:00
Torkel Ödegaard
abddb442a1
Changed how react panels store their options ( #15468 )
...
Changed how react panels store their options
* Added a ReactPanelPlugin as the interface that react panels export, this way react panels have clearer api, and gives us hooks to handle migrations and a way for panel to handle panel changes in the future
* Moved gauge value options into a sub oject and made editor more generic, will be moved out of gauge pane later and shared between singlestat, gauge, bargauge, honecomb
* Also remove nested options prop that was there due to bug
* Added missing Gauge props
* Fixed gauge issue that will require migration later and also value options editor did not handle null decimals or 0 decimals
* Fixed unit tests
* More fixes for react panels
2019-02-18 11:41:14 +01:00
Torkel Ödegaard
a6cae5b2b8
Merge pull request #15494 from grafana/minor-tweaks-panel-edit
...
Removed primary class from Add Query button, and changed name of panel options tab
2019-02-18 11:36:19 +01:00
Dominik Prokop
8e035676e1
Remove maxDataPoints and interval props from props to remember in panel model
2019-02-18 11:33:16 +01:00
Dominik Prokop
75dd7d0036
Fix typo in view mode cykle button
2019-02-18 11:08:42 +01:00
Dominik Prokop
6da57d4c08
Make clear that variable scss files are generated from templates
2019-02-18 11:03:52 +01:00
Torkel Ödegaard
bf826d7c81
Removed primary class from Add Query button, and changed name of Panel Options tab o General Options
2019-02-18 10:49:14 +01:00
Torkel Ödegaard
89ad525986
Fixed issue with PanelHeader and grid-drag-handle class still being applied in fullscreen, fixes #15480
2019-02-17 08:11:57 +01:00
Torkel Ödegaard
dede40d459
Began work on handling panel type switching and keep setting
2019-02-17 07:03:42 +01:00
Torkel Ödegaard
1d4dae7aa8
Merge branch 'react-panel-options' into bar-gauge-poc
2019-02-16 16:34:56 +01:00
Torkel Ödegaard
22b7864d72
Fixed unit tests
2019-02-16 16:33:29 +01:00
Torkel Ödegaard
42d90fdb7a
Merge branch 'react-panel-options' into bar-gauge-poc
2019-02-16 16:02:31 +01:00
Torkel Ödegaard
83d1eb87e5
Began experimenting with a bar gauge
2019-02-16 15:47:33 +01:00
Torkel Ödegaard
4c59a91651
Also remove nested options prop that was there due to bug
2019-02-16 15:46:30 +01:00
Torkel Ödegaard
43e0ad3f93
Moved gauge value options into a sub oject and made editor more generic, will be moved out of gauge pane later and shared between singlestat, gauge, bargauge, honecomb
2019-02-16 15:46:30 +01:00
Torkel Ödegaard
074073787d
Added a ReactPanelPlugin as the interface that react panels export, this way react panels have clearer api, and gives us hooks to handle migrations and a way for panel to handle panel changes in the future
2019-02-16 15:46:30 +01:00
Torkel Ödegaard
9035ce4d18
Changed how react panels store their options
2019-02-16 15:46:29 +01:00
Torkel Ödegaard
843f8b04d4
Began experimenting with a bar gauge
2019-02-15 12:55:35 +01:00
Torkel Ödegaard
7699706e65
fixed handling of alert urls with true flags, fixes #15454
2019-02-15 11:23:31 +01:00
Torkel Ödegaard
19a080a4d4
Restored loading spinner to DataPanel
2019-02-14 15:29:36 +01:00
Torkel Ödegaard
79008a7acd
added another error message scenario
2019-02-14 15:23:34 +01:00
Torkel Ödegaard
2bc26a01f9
Fixes to error handling and clearing, also publishing of legacy events so old query editors work with react panels fully
2019-02-14 15:18:55 +01:00
Torkel Ödegaard
cc61d9c5cc
Merge branch 'master' into move-error-boundry
2019-02-14 13:10:49 +01:00
Peter Holmberg
0c72fb3be1
Merge branch 'master' into move-error-boundry
2019-02-13 16:52:52 +01:00
Torkel Ödegaard
ef9e74fabb
Fixed issue with sass variables used from typescript, the prettier lowercases export variables
2019-02-13 16:36:59 +01:00
Peter Holmberg
aad558ce9c
using error callback from datapanel instead
2019-02-13 15:54:10 +01:00
Torkel Ödegaard
124b3486eb
Merge branch 'master' into 15330-vizpicker-red-when-0-hits
2019-02-13 14:49:11 +01:00
Torkel Ödegaard
cfea8bdcae
Prettier had not been running as a precommit hook for some time so had to run in on all files again
2019-02-13 11:14:53 +01:00
Johannes Schill
27bbadce1d
feat: Add EmptySearchResult ui component and use it in VizTypePicker
2019-02-13 09:22:09 +01:00
Torkel Ödegaard
3b0ae4bd0a
Merge pull request #15368 from grafana/15217-panels-without-queries
...
POC: Panels without queries can skip DataPanel
2019-02-13 08:06:25 +01:00
Torkel Ödegaard
6be50c952c
Merge pull request #15400 from grafana/removed-icons-in-buttons
...
Removed some icons in action button
2019-02-13 08:05:11 +01:00
Johannes Schill
44eaa3eaa8
Revert "feat: Highlight vizpicker input when there are no panels matching the search query"
...
This reverts commit 11db48e76e
.
2019-02-13 07:46:14 +01:00
Torkel Ödegaard
f195459b01
Removed some icons in action button
...
Trying to align some title case issues
2019-02-12 17:51:08 +01:00
Dominik Prokop
0a66d8afc7
Merge branch 'master' into cli/watch-sass-var
2019-02-12 17:20:14 +01:00