mirror of
https://github.com/grafana/grafana.git
synced 2025-01-27 00:37:04 -06:00
1c58202b26
* Replace icons in dashboard and settings * Replace icons in alerting * Update batch of icons * Implement icons accross various files * Style updates * Search: Fix recent and starred icons * Update styling and details * Replace new icon created by unicons * Fix e2e test, styling * Minor styling updates Co-authored-by: Clarity-89 <homes89@ukr.net>
23 lines
667 B
TypeScript
23 lines
667 B
TypeScript
import { DataSourcePlugin } from '@grafana/data';
|
|
import { TestDataDataSource } from './datasource';
|
|
import { TestDataQueryCtrl } from './query_ctrl';
|
|
import { TestInfoTab } from './TestInfoTab';
|
|
import { ConfigEditor } from './ConfigEditor';
|
|
|
|
class TestDataAnnotationsQueryCtrl {
|
|
annotation: any;
|
|
constructor() {}
|
|
static template = '<h2>Annotation scenario</h2>';
|
|
}
|
|
|
|
export const plugin = new DataSourcePlugin(TestDataDataSource)
|
|
.setConfigEditor(ConfigEditor)
|
|
.setQueryCtrl(TestDataQueryCtrl)
|
|
.setAnnotationQueryCtrl(TestDataAnnotationsQueryCtrl)
|
|
.addConfigPage({
|
|
title: 'Setup',
|
|
icon: 'list-ul',
|
|
body: TestInfoTab,
|
|
id: 'setup',
|
|
});
|