mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Annotations: Adds loading indicators and cancellation (#33404)
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
import { BusEventBase, BusEventWithPayload, eventFactory, GrafanaThemeV2, TimeRange } from '@grafana/data';
|
||||
import {
|
||||
AnnotationQuery,
|
||||
BusEventBase,
|
||||
BusEventWithPayload,
|
||||
eventFactory,
|
||||
GrafanaThemeV2,
|
||||
TimeRange,
|
||||
} from '@grafana/data';
|
||||
import { IconName } from '@grafana/ui';
|
||||
|
||||
/**
|
||||
@@ -184,3 +191,11 @@ export class HideModalEvent extends BusEventBase {
|
||||
export class DashboardSavedEvent extends BusEventBase {
|
||||
static type = 'dashboard-saved';
|
||||
}
|
||||
|
||||
export class AnnotationQueryStarted extends BusEventWithPayload<AnnotationQuery> {
|
||||
static type = 'annotation-query-started';
|
||||
}
|
||||
|
||||
export class AnnotationQueryFinished extends BusEventWithPayload<AnnotationQuery> {
|
||||
static type = 'annotation-query-finished';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user