From 6b813b4e2a7b24784c3d840e57f711379a59240f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Mon, 25 Apr 2016 15:11:40 +0200 Subject: [PATCH] feat(query editors): remember collapsed state --- public/app/core/services/context_srv.ts | 2 -- .../panel/partials/query_editor_row.html | 2 +- public/app/features/panel/query_editor_row.ts | 17 +++++++++++++---- public/sass/_variables.dark.scss | 2 +- public/sass/_variables.light.scss | 2 +- public/sass/base/_type.scss | 4 ++-- public/sass/components/_gf-form.scss | 2 +- 7 files changed, 19 insertions(+), 12 deletions(-) diff --git a/public/app/core/services/context_srv.ts b/public/app/core/services/context_srv.ts index ad670f68a32..41d99c3198f 100644 --- a/public/app/core/services/context_srv.ts +++ b/public/app/core/services/context_srv.ts @@ -25,7 +25,6 @@ export class ContextSrv { isGrafanaAdmin: any; isEditor: any; sidemenu: any; - lightTheme: any; constructor() { this.pinned = store.getBool('grafana.sidemenu.pinned', false); @@ -41,7 +40,6 @@ export class ContextSrv { } this.version = config.buildInfo.version; - this.lightTheme = false; this.user = new User(); this.isSignedIn = this.user.isSignedIn; this.isGrafanaAdmin = this.user.isGrafanaAdmin; diff --git a/public/app/features/panel/partials/query_editor_row.html b/public/app/features/panel/partials/query_editor_row.html index cdac281f7b5..f34c43c1e94 100644 --- a/public/app/features/panel/partials/query_editor_row.html +++ b/public/app/features/panel/partials/query_editor_row.html @@ -23,7 +23,7 @@