New panel editor (behind feature toggle) (#21097)

* WIP: initial 10min poc of new panel editor

* added queries

* PanelEditor: copy panel model when going into edit mode

* Added option
This commit is contained in:
Torkel Ödegaard
2019-12-16 09:18:48 +01:00
committed by GitHub
parent 664cb5f8f1
commit 16f0e75448
7 changed files with 139 additions and 2 deletions

View File

@@ -15,6 +15,7 @@ interface FeatureToggles {
transformations: boolean;
inspect: boolean;
expressions: boolean;
newEdit: boolean;
}
export class GrafanaBootConfig {
datasources: { [str: string]: DataSourceInstanceSettings } = {};
@@ -51,6 +52,7 @@ export class GrafanaBootConfig {
transformations: false,
inspect: false,
expressions: false,
newEdit: false,
};
constructor(options: GrafanaBootConfig) {