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
Dominik Prokop
6da57d4c08
Make clear that variable scss files are generated from templates
2019-02-18 11:03:52 +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
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
Torkel Ödegaard
61e9148eed
added way to test action called from react component
2019-02-07 12:02:01 +01:00
Torkel Ödegaard
baeec495a2
Fixed some remaining issues
2019-02-06 21:32:48 +01:00
Torkel Ödegaard
961695a61f
Improved dashboard page test
2019-02-06 21:08:15 +01:00
Torkel Ödegaard
a4841a72d9
Improved dashboard page test
2019-02-06 21:04:18 +01:00
Torkel Ödegaard
dd0afd0a0b
Big refactoring for dashboard init redux actions
2019-02-06 19:42:04 +01:00
Torkel Ödegaard
08a86250be
Merge branch 'dashboard-react-page' of github.com:grafana/grafana into dashboard-react-page
2019-02-06 11:34:08 +01:00
Torkel Ödegaard
865d1567fc
Added DashboardPage tests that tests view mode transition logic
2019-02-06 11:30:42 +01:00
Torkel Ödegaard
1fbdd02464
wip: tests
2019-02-06 09:04:38 +01:00
Torkel Ödegaard
4d2cff41ff
Minor code simplification
2019-02-05 19:38:51 +01:00
Torkel Ödegaard
a624c9713a
Removed unused controllers and services
2019-02-05 15:09:56 +01:00
Torkel Ödegaard
da53103281
Prevent viewers from going into edit mode
2019-02-05 14:18:35 +01:00
Torkel Ödegaard
aa2bf07c71
Expand rows for panels in collapsed rows
2019-02-05 14:12:32 +01:00
Torkel Ödegaard
08925ffad8
Basic loading state for slow dashboards
2019-02-05 13:53:11 +01:00
Torkel Ödegaard
bbc5dff7bd
Fixed add panel should scroll to top
2019-02-05 12:56:03 +01:00
Torkel Ödegaard
fd1ef0a2be
Added custom scrollbar and remember scroll pos to jump back to same scroll pos when going back to dashboard from edit mode
2019-02-05 12:10:42 +01:00
Torkel Ödegaard
d29e1278dc
render after leaving fullscreen
2019-02-04 21:39:48 +01:00
Torkel Ödegaard
70974c01f2
Added playlist controls to new react DashNav
2019-02-04 21:08:30 +01:00
Torkel Ödegaard
d978a66ef6
Fixed lots of loading flow issues and updated solo route page
2019-02-04 18:24:56 +01:00
Torkel Ödegaard
23ac9405c1
Set page title on dashboard load
2019-02-04 17:39:29 +01:00
Torkel Ödegaard
7162583396
Made dashboard view state srv panel view state obsolete
2019-02-04 15:44:08 +01:00
Torkel Ödegaard
ae768193e3
Now handles all dashbord routes
2019-02-04 13:49:14 +01:00
Torkel Ödegaard
217468074f
added submenu, made sure submenu visibility is always up to date
2019-02-04 11:19:45 +01:00
Torkel Ödegaard
883f7a164b
added time picker
2019-02-03 21:06:07 +01:00
Torkel Ödegaard
09efa24f28
Added more buttons in dashboard nav
2019-02-03 15:29:14 +01:00
Torkel Ödegaard
2cb1733c59
wip: progress
2019-02-03 14:53:42 +01:00
Torkel Ödegaard
cba2ca5531
Url state -> dashboard model state sync starting to work
2019-02-03 12:29:47 +01:00
Torkel Ödegaard
8dec74689d
Dashboard settings starting to work
2019-02-03 10:55:58 +01:00
Torkel Ödegaard
83937f59c0
wip: dashboard in react starting to work
2019-02-02 23:01:48 +01:00
Torkel Ödegaard
d86e773c75
wip: minor progress
2019-02-02 22:43:19 +01:00
Torkel Ödegaard
60f700a1d2
wip: dashboard react
2019-02-02 19:23:19 +01:00
Torkel Ödegaard
aeaac7480b
New solo panel route working in all scenarios I can test
2019-02-01 08:15:21 +01:00
Torkel Ödegaard
6a4777eafc
wip: New react container route for solo panels that supports both angular and react panels
2019-01-31 09:44:37 +01:00
Torkel Ödegaard
aafd4a339a
Moved dashboard state components to state folder
2019-01-31 08:56:17 +01:00
Torkel Ödegaard
474185c977
Moved a few things around
2019-01-31 08:37:15 +01:00