mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
DashboardDatasource: reuse query results within a dashboard (#16660)
* move queryRunner to panelModel * remove isEditing from PanelChrome * move listener to QueriesTab * add shared query datasource * expose getDashboardSrv to react * no changes to panel chrome * issue queries when in fullscreen * moved to regular QueryEditor interface * moved to regular QueryEditor interface * lower limit * add dashboard query * no changes to editor row * fix sort order * fix sort order * make it an alpha panel * make panelId a getter * fix angular constructor * rename SeriesData to DataFrame * merge with master * use series * add simple tests * check unsubscribe * Minor code cleanup, creating Subjects look cheap and does not need to be lazy, simplifies code * minor refactor * Minor refacforing, renames * added test dashboard
This commit is contained in:
committed by
Torkel Ödegaard
parent
8ce509f3b4
commit
e1924608a2
@@ -125,8 +125,10 @@ export class DatasourceSrv implements DataSourceService {
|
||||
//Make sure grafana and mixed are sorted at the bottom
|
||||
if (value.meta.id === 'grafana') {
|
||||
metricSource.sort = String.fromCharCode(253);
|
||||
} else if (value.meta.id === 'mixed') {
|
||||
} else if (value.meta.id === 'dashboard') {
|
||||
metricSource.sort = String.fromCharCode(254);
|
||||
} else if (value.meta.id === 'mixed') {
|
||||
metricSource.sort = String.fromCharCode(255);
|
||||
}
|
||||
|
||||
metricSources.push(metricSource);
|
||||
|
||||
Reference in New Issue
Block a user