Hugo Häggmark
d9578bc485
Merge with master
2019-02-04 08:17:18 +01:00
Hugo Häggmark
1f5bb76718
Refactor of action, actionTypes and reducer
2019-02-04 07:50:17 +01:00
Hugo Häggmark
2d0fd96621
More types and some refactoring
2019-02-04 07:50:17 +01:00
Hugo Häggmark
acea1d7f00
Alignment of interfaces and components
2019-02-04 07:50:17 +01:00
Hugo Häggmark
43f8098981
Removed the on every key change event
2019-02-04 07:48:25 +01:00
Torkel Ödegaard
883f7a164b
added time picker
2019-02-03 21:06:07 +01:00
Torkel Ödegaard
0324de37d2
refactorings and cleanup
2019-02-03 20:38:13 +01:00
Paresh
1f3fafb198
mssql: pass timerange for template variable queries
2019-02-03 13:07:33 -06:00
Torkel Ödegaard
d7151e5c88
improving dash nav react comp
2019-02-03 18:25:13 +01:00
Torkel Ödegaard
4a8effddf5
fixed panel removal
2019-02-03 17:15:23 +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
Jon Ferreira
e2c958eb43
Legend toggle should only trigger a re-render, not a refresh
2019-02-01 14:16:27 -05:00
Torkel Ödegaard
35693d3b23
Merge pull request #15199 from grafana/fix/label-margin-datasource-list
...
setting margin on label in datasourcelist
2019-02-01 15:43:28 +01:00
Torkel Ödegaard
116e70740c
Merge pull request #15012 from grafana/loki-query-editor
...
WIP: Loki query editor for dashboard panels
2019-02-01 15:33:23 +01:00
Dominik Prokop
1a0b21b8d1
Minor post review changes
2019-02-01 15:27:02 +01:00
Peter Holmberg
4b03e7c31f
setting margin on label
2019-02-01 15:03:19 +01:00
Dominik Prokop
3c358e406e
Make runQueries action independent from datasource loading
2019-02-01 14:56:54 +01:00
Torkel Ödegaard
d1d5bbf697
Merge pull request #15188 from grafana/fix/table-data-to-component
...
React panel table data fix
2019-02-01 13:57:26 +01:00
Torkel Ödegaard
2a4b10a5c8
minor fix
2019-02-01 13:40:46 +01:00
Torkel Ödegaard
740e1a0540
Made really good progress on loki support in dashboards
2019-02-01 13:30:15 +01:00
Dominik Prokop
2ddccb4a21
Temporarily run queries independently from UI state of explore panels
2019-02-01 12:57:09 +01:00
Dominik Prokop
6ab9355146
Restoring explore panels state from URL
2019-02-01 12:33:15 +01:00
Torkel Ödegaard
6e0b873739
Merge branch 'master' into loki-query-editor
2019-02-01 11:17:22 +01:00
Peter Holmberg
57596462a4
sending paneldata to component, gauge can handle table data
2019-02-01 10:53:58 +01:00
Torkel Ödegaard
68ae17e4a4
Merge pull request #15155 from grafana/solo-panel-rewrite
...
New react container route for solo panels
2019-02-01 09:55:00 +01:00
Torkel Ödegaard
3d78cb4f8c
Merge pull request #15158 from grafana/hugoh/redux-poc
...
WIP: Reducing boilerplate code for Redux
2019-02-01 09:41:40 +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
c4f55fecbe
Merge branch 'master' into solo-panel-rewrite
2019-02-01 07:09:45 +01:00
Hugo Häggmark
efec897fd4
Removed unused factory and fixed index based mapper lookup
2019-02-01 06:52:25 +01:00
Torkel Ödegaard
ac0140d596
Fixed dashboard row title not updating when variable changed, fixes #15133
2019-02-01 06:38:59 +01:00
Torkel Ödegaard
e54689a964
Removed comment from panel editor
2019-02-01 06:20:54 +01:00
Marcus Efraimsson
bd83078025
signout user if /api/login/ping returns 401 unauthorized
2019-02-01 01:22:56 +01:00
Dominik Prokop
f9bab9585a
wip
2019-01-31 19:38:49 +01:00
Torkel Ödegaard
1e0de188b0
Merge pull request #15172 from grafana/15171_fix
...
add missing ngInject annotation
2019-01-31 18:38:05 +01:00
Marcus Efraimsson
c7b5fca885
add missing ngInject annotation
2019-01-31 16:45:32 +01:00
Peter Holmberg
ed0f5b71c7
Merge branch 'master' into table-data-support
2019-01-31 14:16:06 +01:00
Peter Holmberg
7def403018
typing data
2019-01-31 13:59:25 +01:00
Torkel Ödegaard
06a9c7bacc
Merge pull request #15160 from grafana/fix/time-region-missing-colors
...
Do not render time region line or fill if colors not provided
2019-01-31 13:23:12 +01:00
Dominik Prokop
a2cba6685c
Do not render time region line or fill if colors not provided
2019-01-31 12:20:55 +01:00
Torkel Ödegaard
6c1f8a9cfe
Merge pull request #15159 from grafana/row-options-fix
...
Fixed row options html template location,
2019-01-31 12:13:35 +01:00
Torkel Ödegaard
a43c00ce70
Fixed row options html template location, fixes #15157
2019-01-31 11:37:34 +01:00
Peter Holmberg
88cb38adde
creating table data type
2019-01-31 09:59: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
Hugo Häggmark
7e64ee8225
Fixed another type of fluent reducerFactory
2019-01-31 09:18:40 +01:00
Torkel Ödegaard
aafd4a339a
Moved dashboard state components to state folder
2019-01-31 08:56:17 +01:00
Torkel Ödegaard
6663b2fab9
Moved time_srv to services folder, this should not belong to dashboard feature but it is too dependant on dashboard to move it out now, needs a bigger refactoring to isolate from dashboard
2019-01-31 08:44:46 +01:00
Torkel Ödegaard
474185c977
Moved a few things around
2019-01-31 08:37:15 +01:00
Hugo Häggmark
6a84a85a80
Added reducerTester, reducer tests and tests
2019-01-31 07:37:36 +01:00
Torkel Ödegaard
36a2b9c015
Merge pull request #15136 from grafana/react-snapshots
...
React snapshots
2019-01-31 07:24:25 +01:00
Hugo Häggmark
2f47b225a0
Removed ActionTypes and fixed a noPayloadActionCreatorFactory
2019-01-31 06:38:40 +01:00
Jeff Hage
f13018ce05
Replace usages of kbn.valueFormats with ui/getValueFormat
2019-01-30 18:57:33 -05:00
Hugo Häggmark
d3815beb1c
Refactored Datasources as POC
2019-01-30 20:07:14 +01:00
Torkel Ödegaard
bd688449f8
Merge pull request #15119 from grafana/explore/queries-import-changes
...
Fix queries being imported incorrectly on datasource change
2019-01-30 16:11:36 +01:00
Torkel Ödegaard
c33e94f438
Merge pull request #15141 from grafana/14946-panel-menu-on-move
...
Don't show panel menu on move
2019-01-30 16:11:10 +01:00
Johannes Schill
1afc590c70
fix: Don't open panel menu when dragging (react-)panel in dashboard #14946
2019-01-30 15:38:59 +01:00
Johannes Schill
ef4611eb56
chore: Add missing typings in PanelResizer
2019-01-30 15:32:29 +01:00
Johannes Schill
1230f3e48d
chore: Fix typings and remove bindings for arrow functions in DashboardGrid
2019-01-30 15:28:41 +01:00
Peter Holmberg
4b47e857f2
adjusting types to match
2019-01-30 13:43:17 +01:00
Hugo Häggmark
2236a1a36d
Minor change to Action interfaces
2019-01-30 12:03:30 +01:00
Hugo Häggmark
94ce065f74
Simplified inteface for reducerFactory
2019-01-30 11:59:00 +01:00
Hugo Häggmark
65fb77ce73
Fixed a small bug and added case sensitivity
2019-01-30 11:28:23 +01:00
Torkel Ödegaard
67756c43a7
Merge pull request #15118 from grafana/1909/from-to-template-variables
...
Time range from & to as template variables
2019-01-30 11:17:22 +01:00
Hugo Häggmark
0ddaa95d0e
Added reducerFactory and tests
2019-01-30 11:13:36 +01:00
Peter Holmberg
ae0b9692be
first implementation
2019-01-30 10:39:42 +01:00
Hugo Häggmark
62341ffe56
Added actionCreatorFactory and tests
2019-01-30 10:31:38 +01:00
Dominik Prokop
661de1efe1
Rename SetInitialQueries action to QueriesImported
2019-01-30 09:50:28 +01:00
Dominik Prokop
d746df485c
Add missing code
2019-01-30 09:36:23 +01:00
Dominik Prokop
ca0d2996f2
Merge branch 'master' into explore/queries-import-changes
2019-01-30 09:30:10 +01:00
Daniel Lee
782c4eae98
Merge pull request #15127 from challengerdeep/fix-stackdriver-aggparams-reducer
...
Change primaryAggregation to crossSeriesReducer in Stackdriver
2019-01-30 00:45:22 +01:00
Torkel Ödegaard
8b68ba5cbb
Minor refactoring and adding some typing
2019-01-29 20:49:54 +01:00
Torkel Ödegaard
4c689fce96
Merge pull request #15121 from grafana/davkal/15011-fix-query-change-twice
...
Explore: query field should not propagate non-text change
2019-01-29 20:29:47 +01:00
Torkel Ödegaard
e5eb66a27c
Merge pull request #15123 from grafana/fix/remove-alpha-from-gauge
...
Remove alpha from Gauge panel
2019-01-29 20:05:42 +01:00
Robert Edström
9b6746d808
Change primaryAggregation to crossSeriesReducer in Stackdriver
2019-01-29 19:11:54 +01:00
Johannes Schill
7d8607c1b3
fix: Remove legacy title-prop and update document.title when navModel is changed #15108
2019-01-29 17:03:40 +01:00
Daniel Lee
365de9de20
Merge pull request #14626 from grafana/azure-monitor
...
Azure Monitor: move files into grafana
2019-01-29 16:11:17 +01:00
David Kaltschmidt
8d44ed8d8f
Explore: query field should not propagate non-text change
...
- after mounting with an initial value, the onChange of a query field is triggered
- even though the slate documents are not the same, their text values are identical, hence the change propagation is useless
- added check to propagate text change only when text has actually changed
2019-01-29 15:53:51 +01:00
Dominik Prokop
9ddbfed730
Wait for queries to be imported before proceeding with datasource change
2019-01-29 15:52:36 +01:00
Peter Holmberg
6164427efd
removing alpha
2019-01-29 15:46:55 +01:00
Dominik Prokop
8ea72eeaf7
Remove commented code
2019-01-29 15:40:01 +01:00
Torkel Ödegaard
0ac0588583
Merge pull request #15107 from grafana/explore-query-styles
...
Updated Explore query styles to align them to other query editors
2019-01-29 15:38:06 +01:00
Torkel Ödegaard
f28d38ceef
Merge pull request #15117 from grafana/explore-time-range-fix
...
Fixed issue with explore changeTime redux action not being hooked up
2019-01-29 15:37:41 +01:00
Daniel Lee
a3e09d8bbc
azuremonitor: fixes merge conflict in yarn.lock
2019-01-29 15:35:43 +01:00
Dominik Prokop
010f902003
Import queries before datasource is changed
2019-01-29 15:34:28 +01:00
Torkel Ödegaard
f7a1e4c185
Merge pull request #15106 from grafana/tooltip-restyling
...
Tooltip restyling
2019-01-29 15:07:54 +01:00
Peter Holmberg
78cb3239b8
adding from and to built in variables
2019-01-29 15:05:28 +01:00
Daniel Lee
2d3e02d58b
azuremonitor: adds macros to slate intellisense
...
and adds tab as well as enter key for autocomplete
2019-01-29 15:02:46 +01:00
Torkel Ödegaard
d53a430c82
Fixed issue with explore changeTime redux action not being hooked up, fixes #15115
2019-01-29 14:58:57 +01:00
Torkel Ödegaard
0216f087b7
Merge pull request #15113 from grafana/fix/explore-set-state-on-unmounted
...
Fix setState on unmounted component in Loki and Prometheus QueryField
2019-01-29 14:42:35 +01:00
Torkel Ödegaard
8b70a8dd50
Fixed explore query editor styling issues
2019-01-29 14:36:09 +01:00
Alexander Zobnin
a1609a8d53
azuremonitor: remove wrong completions
2019-01-29 16:03:30 +03:00
Alexander Zobnin
a0cae98e0d
azuremonitor: autocomplete on enter
2019-01-29 16:02:25 +03:00
Torkel Ödegaard
71d0fae3a9
Progress on tooltip style update
2019-01-29 13:42:29 +01:00
Alexander Zobnin
2a1558cefc
azuremonitor: fix tests
2019-01-29 15:39:16 +03:00
Alexander Zobnin
15d42ba414
Merge remote-tracking branch 'upstream/azure-monitor' into azure-monitor
2019-01-29 14:29:31 +03:00
Alexander Zobnin
fefb2c2ba2
Azure Monitor: replace monaco by slate with initial Kusto syntax
2019-01-29 14:19:31 +03:00
Dominik Prokop
27948b1308
Make language provider cancelable in Loki and Prometheus QueryField, to avoid setting state on unmounted component
2019-01-29 12:11:48 +01:00
Dominik Prokop
db17262ea4
Add util for handling promise cancelation to avoid setting state on unmounted components
...
https://github.com/facebook/react/issues/5465
2019-01-29 12:10:03 +01:00
Daniel Lee
4a057ef725
stackdriver: remove beta notice from config page
2019-01-29 12:00:52 +01:00
Torkel Ödegaard
433c88a616
two minor bug fixes introduced in recent refactorings
2019-01-29 09:47:41 +01:00
Torkel Ödegaard
0de861a3a8
Minor progress on react query editor support, solving updating query persisted state
2019-01-29 09:39:23 +01:00
Torkel Ödegaard
57fe7d5050
Merge pull request #15103 from grafana/14762-page-component-everywhere
...
Page component on all React pages pt2
2019-01-29 08:15:46 +01:00
Torkel Ödegaard
6dad4cce07
Updated Explore query styles to align them to other query editor to make them fit in better
2019-01-29 08:14:07 +01:00
Torkel Ödegaard
e4244d8bf8
Merge branch 'master' into loki-query-editor
2019-01-29 07:10:06 +01:00
Torkel Ödegaard
459a93da10
Merge pull request #15100 from grafana/annotation-dashboard-switch-fix
...
Fix for annotations not clearing when switching dashboards
2019-01-29 06:53:20 +01:00
Johannes Schill
186ed1a333
chore: Fix typings and add Page-component to FolderPermissions #14762
2019-01-28 23:19:19 +01:00
Johannes Schill
ab62a09fe6
chore: Fix typings and add Page-component to ServerStats #14762
2019-01-28 23:19:19 +01:00
Johannes Schill
d54c4173ca
chore: Fix typings and add Page-component to AlertRuleList #14762
2019-01-28 23:19:19 +01:00
Johannes Schill
e448a140f5
chore: Fix typings and add Page-component to DataSourceDashboards #14762
2019-01-28 23:19:19 +01:00
Johannes Schill
acbcca1102
fix: Add plugins to StoreState interface
2019-01-28 23:19:19 +01:00
Johannes Schill
7df00747d3
chore: Fix typings and add Page-component to NewDataSourcePage #14762
2019-01-28 23:19:19 +01:00
Johannes Schill
98fa17f0e4
chore: Fix typings and add Page-component to DataSourceSettingsPage #14762
2019-01-28 23:19:19 +01:00
Johannes Schill
3372dc9441
chore: Fix typings and add Page-component to FolderSettingsPage #14762
2019-01-28 23:19:19 +01:00
Johannes Schill
d9a25ee505
test: Updated snapshot
2019-01-28 23:19:18 +01:00
Johannes Schill
730036e18d
chore: Fix typings and add Page-component to TeamPages #14762
2019-01-28 23:19:18 +01:00
Johannes Schill
03cebecac3
fix: Add pageName default to avoid "Loading undefined..."
2019-01-28 23:19:18 +01:00
Carl Bergquist
c6f80ecec2
Merge pull request #14229 from pbakulev/configurable-alert-notification
...
Configurable alert notification
2019-01-28 22:47:12 +01:00
Torkel Ödegaard
daab7a5f6e
Merge pull request #15099 from grafana/tooling/storybook-poc
...
Named colors & storybook
2019-01-28 20:47:46 +01:00
Marcus Efraimsson
7023c957d7
Merge branch 'master' into nanosecond-postgresql
2019-01-28 20:04:46 +01:00
Marcus Efraimsson
3a53f75ebb
update inline documentation
2019-01-28 19:52:35 +01:00
Marcus Efraimsson
7df5e3cebf
extract tls auth settings directive from datasource http settings directive
2019-01-28 19:37:19 +01:00
Daniel Lee
e4f4cb814c
Merge branch 'master' into azure-monitor
2019-01-28 19:23:34 +01:00
Torkel Ödegaard
c3c8cd3f4d
Fix for annotations not clearing when switching dashboards, fixes #15063
2019-01-28 18:19:12 +01:00
Torkel Ödegaard
8510f0cd11
Merge pull request #15084 from grafana/fix/explore-datasource-change
...
Update datasource before the loading has started
2019-01-28 17:55:33 +01:00
Torkel Ödegaard
a7b486d998
Merge pull request #15040 from grafana/14807-enable-webit-scrollbar-styles
...
Re-enable webit-prefixed scrollbar styles
2019-01-28 17:51:39 +01:00
Dominik Prokop
7a8eb8c115
Merge branch 'master' into tooling/storybook-poc
2019-01-28 17:36:41 +01:00
Torkel Ödegaard
fd06e51776
Merge branch 'master' into fix/explore-do-not-clear-results
2019-01-28 17:16:39 +01:00
Torkel Ödegaard
5768593da7
Merge pull request #15095 from grafana/hugoh/bug-inifinite-loop-when-scan-for-older-logs-clicked
...
Making sure we do not pass a long invalid queries and save to state
2019-01-28 17:01:24 +01:00
Torkel Ödegaard
a1a905cbb1
Removed the initial data source as I could not see it being used anywhere
2019-01-28 16:31:38 +01:00
Dominik Prokop
9a08a994f4
Initialize named colors palete lazily
2019-01-28 15:49:59 +01:00
Dominik Prokop
053d4060e8
Fix thresholds default colors not being applied
2019-01-28 15:48:54 +01:00
Hugo Häggmark
08f5a3338a
Making sure we do not pass a long invalid queries and save to state
2019-01-28 15:27:35 +01:00
Torkel Ödegaard
91d926f180
single import for types from @grafana/ui
2019-01-28 15:27:23 +01:00
Torkel Ödegaard
2c9a867bde
Merge branch 'master' into fix/explore-datasource-change
2019-01-28 15:24:14 +01:00
Marcus Efraimsson
6584ca20d2
Merge branch 'master' into 8570-mysql-ssl-datasource
2019-01-28 15:12:33 +01:00
Torkel Ödegaard
994c79b59b
Merge branch '15048/navigate-from-not-saved-panel'
2019-01-28 14:45:49 +01:00
Torkel Ödegaard
520756fb4c
Fixed wrong line in test
2019-01-28 14:44:35 +01:00
Hugo Häggmark
dc125f1e4d
Made sure we only resetTypeahead if mounted
2019-01-28 14:43:59 +01:00
bergquist
6a8643b3d1
Merge branch 'master' into configurable-alert-notification
...
* master: (250 commits)
Firing off an action instead of listening to location changes
Changes after PR Comments
Made ExplorerToolbar connected and refactored away responsabilities from Explore
Removed some split complexity
Fixed some more styling
Fixed close split look and feel
Fixed position of Closesplit
Fixed small issue with TimePicker dropdown position
Simplified some styles and dom elements
Fixed some more with the sidemenu open and smaller screens
Fixed so heading looks good with closed sidemenu
Restructure of component and styling
Refactored out ExploreToolbar from Explore
Fixed reinitialise of Explore
changelog: add notes about closing #13929
changelog: add notes about closing #14558
changelog: add notes about closing #14484
changelog: add notes about closing #13765
changelog: add notes about closing #11503
changelog: add notes about closing #4075
...
2019-01-28 14:16:43 +01:00
Peter Holmberg
d433a4792a
fixing test
2019-01-28 14:07:37 +01:00
bergquist
48aa173f67
support both uid and id for showing/removing notifiers
2019-01-28 14:00:55 +01:00
David
edfce0893e
Merge pull request #15090 from grafana/hugoh/bug-explore-cant-go-from-dashboard-to-explore
...
Fixed reinitialise of Explore
2019-01-28 13:43:32 +01:00
Dominik Prokop
07331b4c07
Revert "Use the same panel loading indicator in explore as on dashboard's panel"
...
This reverts commit 05edb3e5ad
.
2019-01-28 13:40:41 +01:00
Hugo Häggmark
6b0400eed2
Firing off an action instead of listening to location changes
2019-01-28 13:27:56 +01:00
Dominik Prokop
957c659291
Handle undefined graph and table results
2019-01-28 13:09:51 +01:00