Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Replace deprecated setVariableQueryEditor with CustomVariableSupport" #229

Merged
merged 2 commits into from Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,9 @@

All notable changes to this project will be documented in this file.

## v1.11.1
- Revert "Replace deprecated setVariableQueryEditor with CustomVariableSupport" in [#229](https://github.com/grafana/iot-sitewise-datasource/pull/229)

## v1.11.0

- Update backend grafana-aws-sdk to v0.19.1 to add `il-central-1` to the opt-in region list
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "grafana-iot-sitewise-datasource",
"version": "1.11.0",
"version": "1.11.1",
"description": "View IoT Sitewise data in grafana",
"scripts": {
"build": "webpack -c ./.config/webpack/webpack.config.ts --env production",
Expand Down
2 changes: 0 additions & 2 deletions src/DataSource.ts
Expand Up @@ -14,7 +14,6 @@ import { Observable } from 'rxjs';
import { getRequestLooper, MultiRequestTracker } from 'requestLooper';
import { appendMatchingFrames } from 'appendFrames';
import { frameToMetricFindValues } from 'utils';
import { SitewiseVariableSupport } from './variables';

export class DataSource extends DataSourceWithBackend<SitewiseQuery, SitewiseOptions> {
// Easy access for QueryEditor
Expand All @@ -24,7 +23,6 @@ export class DataSource extends DataSourceWithBackend<SitewiseQuery, SitewiseOpt
constructor(instanceSettings: DataSourceInstanceSettings<SitewiseOptions>) {
super(instanceSettings);
this.options = instanceSettings.jsonData;
this.variables = new SitewiseVariableSupport(this);
}

/**
Expand Down
1 change: 1 addition & 0 deletions src/module.ts
Expand Up @@ -8,4 +8,5 @@ import { QueryEditor } from 'components/query/QueryEditor';
export const plugin = new DataSourcePlugin<DataSource, SitewiseQuery, SitewiseOptions>(DataSource)
.setConfigEditor(ConfigEditor)
.setMetadataInspector(MetaInspector)
.setVariableQueryEditor(QueryEditor)
.setQueryEditor(QueryEditor);
21 changes: 0 additions & 21 deletions src/variables.ts

This file was deleted.