Skip to content

Commit

Permalink
move cpd to ml&analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
walterra committed Oct 9, 2024
1 parent 4b57864 commit 18a1cda
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import type { UiActionsActionDefinition } from '@kbn/ui-actions-plugin/public';
import { IncompatibleActionError } from '@kbn/ui-actions-plugin/public';
import { EMBEDDABLE_CHANGE_POINT_CHART_TYPE } from '@kbn/aiops-change-point-detection/constants';
import type { CoreStart } from '@kbn/core-lifecycle-browser';
import { AIOPS_EMBEDDABLE_GROUPING } from '@kbn/aiops-common/constants';

import type { AiopsPluginStartDeps } from '../types';

Expand All @@ -32,7 +31,16 @@ export function createAddChangePointChartAction(
): UiActionsActionDefinition<ChangePointChartActionContext> {
return {
id: 'create-change-point-chart',
grouping: AIOPS_EMBEDDABLE_GROUPING,
grouping: [
{
id: 'ml',
getDisplayName: () =>
i18n.translate('xpack.aiops.navMenu.mlAppNameText', {
defaultMessage: 'Machine Learning and Analytics',
}),
getIconType: () => 'machineLearningApp',
},
],
order: 10,
getIconType: () => 'changePointDetection',
getDisplayName: () =>
Expand Down

0 comments on commit 18a1cda

Please sign in to comment.