From befca9bb2f95aec33d5e570df73e979592bcdb82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Mon, 15 Aug 2016 13:51:55 +0200 Subject: [PATCH] feat(query parts): refactoring query part component to support actions --- .../query_part/query_part_editor.ts | 47 ++++++++----------- public/app/features/alerting/alert_def.ts | 22 ++++++--- .../app/features/alerting/alert_tab_ctrl.ts | 9 +++- .../features/alerting/partials/alert_tab.html | 7 +++ .../influxdb/partials/query.editor.html | 7 +-- .../plugins/datasource/influxdb/query_ctrl.ts | 20 +++++++- public/sass/components/_dropdown.scss | 6 +++ 7 files changed, 75 insertions(+), 43 deletions(-) diff --git a/public/app/core/components/query_part/query_part_editor.ts b/public/app/core/components/query_part/query_part_editor.ts index f9122ee283b..91021b5f7c5 100644 --- a/public/app/core/components/query_part/query_part_editor.ts +++ b/public/app/core/components/query_part/query_part_editor.ts @@ -5,33 +5,34 @@ import $ from 'jquery'; import coreModule from 'app/core/core_module'; var template = ` -
- -
- -{{part.def.type}} +