Skip to content

Commit

Permalink
[UiActions] Remove duplicate apply filter action (#77485)
Browse files Browse the repository at this point in the history
Removing unused action
  • Loading branch information
Dosant authored Sep 22, 2020
1 parent 7053ad1 commit 8cf508f
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 368 deletions.
8 changes: 0 additions & 8 deletions src/plugins/embeddable/public/bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import { UiActionsSetup } from '../../ui_actions/public';
import {
contextMenuTrigger,
createFilterAction,
panelBadgeTrigger,
EmbeddableContext,
CONTEXT_MENU_TRIGGER,
Expand All @@ -29,8 +28,6 @@ import {
ACTION_INSPECT_PANEL,
REMOVE_PANEL_ACTION,
ACTION_EDIT_PANEL,
FilterActionContext,
ACTION_APPLY_FILTER,
panelNotificationTrigger,
PANEL_NOTIFICATION_TRIGGER,
} from './lib';
Expand All @@ -48,7 +45,6 @@ declare module '../../ui_actions/public' {
[ACTION_INSPECT_PANEL]: EmbeddableContext;
[REMOVE_PANEL_ACTION]: EmbeddableContext;
[ACTION_EDIT_PANEL]: EmbeddableContext;
[ACTION_APPLY_FILTER]: FilterActionContext;
}
}

Expand All @@ -60,8 +56,4 @@ export const bootstrap = (uiActions: UiActionsSetup) => {
uiActions.registerTrigger(contextMenuTrigger);
uiActions.registerTrigger(panelBadgeTrigger);
uiActions.registerTrigger(panelNotificationTrigger);

const actionApplyFilter = createFilterAction();

uiActions.registerAction(actionApplyFilter);
};
1 change: 0 additions & 1 deletion src/plugins/embeddable/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import { EmbeddablePublicPlugin } from './plugin';

export {
ACTION_ADD_PANEL,
ACTION_APPLY_FILTER,
ACTION_EDIT_PANEL,
Adapters,
AddPanelAction,
Expand Down
134 changes: 0 additions & 134 deletions src/plugins/embeddable/public/lib/actions/apply_filter_action.test.ts

This file was deleted.

69 changes: 0 additions & 69 deletions src/plugins/embeddable/public/lib/actions/apply_filter_action.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/plugins/embeddable/public/lib/actions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@
* under the License.
*/

export * from './apply_filter_action';
export * from './edit_panel_action';
Loading

0 comments on commit 8cf508f

Please sign in to comment.