123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- export type DashboardsEventParameters = {
- 'dashboards_manage.change_sort': {
- sort: string;
- };
- 'dashboards_manage.create.start': {};
- 'dashboards_manage.search': {};
- 'dashboards_manage.templates.add': {
- dashboard_id: string;
- dashboard_title: string;
- was_previewed: boolean;
- };
- 'dashboards_manage.templates.preview': {
- dashboard_id: string;
- };
- 'dashboards_manage.templates.toggle': {
- show_templates: boolean;
- };
- 'dashboards_views.add_widget_modal.change': {
- field: string;
- from: string;
- value: string;
- widget_type: string;
- };
- 'dashboards_views.add_widget_modal.confirm': {
- data_set: string;
- };
- 'dashboards_views.add_widget_modal.opened': {};
- 'dashboards_views.add_widget_modal.save': {
- data_set: string;
- };
- 'dashboards_views.edit_widget_modal.confirm': {};
- 'dashboards_views.edit_widget_modal.opened': {};
- 'dashboards_views.open_in_discover.opened': {
- widget_type: string;
- };
- 'dashboards_views.query_selector.opened': {
- widget_type: string;
- };
- 'dashboards_views.query_selector.selected': {
- widget_type: string;
- };
- 'dashboards_views.widget_library.add': {
- num_widgets: number;
- };
- 'dashboards_views.widget_library.add_widget': {
- title: string;
- };
- 'dashboards_views.widget_library.opened': {};
- 'dashboards_views.widget_library.switch_tab': {
- to: string;
- };
- };
- export type DashboardsEventKey = keyof DashboardsEventParameters;
- export const dashboardsEventMap: Record<DashboardsEventKey, string | null> = {
- 'dashboards_views.add_widget_modal.opened': 'Dashboards2: Add Widget Modal opened',
- 'dashboards_views.add_widget_modal.change':
- 'Dashboards2: Field changed in Add Widget Modal',
- 'dashboards_views.edit_widget_modal.opened': 'Dashboards2: Edit Widget Modal Opened',
- 'dashboards_views.query_selector.opened':
- 'Dashboards2: Query Selector opened for Widget',
- 'dashboards_views.query_selector.selected':
- 'Dashboards2: Query selected in Query Selector',
- 'dashboards_views.open_in_discover.opened': 'Dashboards2: Widget Opened In Discover',
- 'dashboards_views.add_widget_modal.confirm':
- 'Dashboards2: Add Widget to Dashboard modal form submitted',
- 'dashboards_views.add_widget_modal.save':
- 'Dashboards2: Widget saved directly to Dashboard from Add Widget to Dashboard modal',
- 'dashboards_views.edit_widget_modal.confirm':
- 'Dashboards2: Edit Dashboard Widget modal form submitted',
- 'dashboards_views.widget_library.add': 'Dashboards2: Number of prebuilt widgets added',
- 'dashboards_views.widget_library.add_widget':
- 'Dashboards2: Title of prebuilt widget added',
- 'dashboards_views.widget_library.switch_tab':
- 'Dashboards2: Widget Library tab switched',
- 'dashboards_views.widget_library.opened': 'Dashboards2: Add Widget Library opened',
- 'dashboards_manage.search': 'Dashboards Manager: Search',
- 'dashboards_manage.change_sort': 'Dashboards Manager: Sort By Changed',
- 'dashboards_manage.create.start': 'Dashboards Manager: Dashboard Create Started',
- 'dashboards_manage.templates.toggle': 'Dashboards Manager: Template Toggle Changed',
- 'dashboards_manage.templates.add': 'Dashboards Manager: Template Added',
- 'dashboards_manage.templates.preview': 'Dashboards Manager: Template Previewed',
- };
|