Commit 27608895 by Ryan McKinley Committed by GitHub

Chore: cleanup after previous commits)

parent 53b9f325
...@@ -31,10 +31,6 @@ ...@@ -31,10 +31,6 @@
</div> </div>
</div> </div>
<div class="gf-form" ng-show="ctrl.showLastQuerySQL">
<pre class="gf-form-pre">{{ctrl.lastQueryMeta.sql}}</pre>
</div>
<div class="gf-form" ng-show="ctrl.showHelp"> <div class="gf-form" ng-show="ctrl.showHelp">
<pre class="gf-form-pre alert alert-info">Time series: <pre class="gf-form-pre alert alert-info">Time series:
- return column named time (in UTC), as a unix time stamp or any sql native date data type. You can use the macros below. - return column named time (in UTC), as a unix time stamp or any sql native date data type. You can use the macros below.
......
...@@ -31,7 +31,7 @@ export class MssqlQueryCtrl extends QueryCtrl { ...@@ -31,7 +31,7 @@ export class MssqlQueryCtrl extends QueryCtrl {
formats: any[]; formats: any[];
target: MssqlQuery; target: MssqlQuery;
lastQueryError: string; lastQueryError: string | null;
showHelp: boolean; showHelp: boolean;
/** @ngInject */ /** @ngInject */
......
...@@ -29,7 +29,7 @@ export class MysqlQueryCtrl extends QueryCtrl { ...@@ -29,7 +29,7 @@ export class MysqlQueryCtrl extends QueryCtrl {
static templateUrl = 'partials/query.editor.html'; static templateUrl = 'partials/query.editor.html';
formats: any[]; formats: any[];
lastQueryError: string; lastQueryError: string | null;
showHelp: boolean; showHelp: boolean;
queryModel: MysqlQuery; queryModel: MysqlQuery;
......
...@@ -28,11 +28,10 @@ WHERE ...@@ -28,11 +28,10 @@ WHERE
export class PostgresQueryCtrl extends QueryCtrl { export class PostgresQueryCtrl extends QueryCtrl {
static templateUrl = 'partials/query.editor.html'; static templateUrl = 'partials/query.editor.html';
showLastQuerySQL: boolean;
formats: any[]; formats: any[];
queryModel: PostgresQuery; queryModel: PostgresQuery;
metaBuilder: PostgresMetaQuery; metaBuilder: PostgresMetaQuery;
lastQueryError: string; lastQueryError: string | null;
showHelp: boolean; showHelp: boolean;
tableSegment: any; tableSegment: any;
whereAdd: any; whereAdd: any;
......
...@@ -4,7 +4,7 @@ import { Icon } from '@grafana/ui'; ...@@ -4,7 +4,7 @@ import { Icon } from '@grafana/ui';
export interface Props { export interface Props {
rawQuery: string; rawQuery: string;
lastQueryError: string; lastQueryError?: string;
metricDescriptor?: MetricDescriptor; metricDescriptor?: MetricDescriptor;
} }
......
...@@ -19,15 +19,6 @@ export const plugin = new PanelPlugin<TextOptions>(TextPanel) ...@@ -19,15 +19,6 @@ export const plugin = new PanelPlugin<TextOptions>(TextPanel)
}, },
defaultValue: 'markdown', defaultValue: 'markdown',
}) })
.addStringArray({
path: 'strings',
name: 'String Array',
description: 'list of strings',
settings: {
placeholder: 'Add a string value (text2 demo)',
},
defaultValue: ['hello', 'world'],
})
.addTextInput({ .addTextInput({
path: 'content', path: 'content',
name: 'Content', name: 'Content',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment