feat(editor): Remove Segment (#9878)

This commit is contained in:
Mutasem Aldmour
2024-06-28 10:52:36 +02:00
committed by GitHub
parent 13d83f2037
commit 10f7d4b5b9
9 changed files with 59 additions and 1012 deletions

View File

@@ -39,7 +39,6 @@ import { useI18n } from '@/composables/useI18n';
import { useToast } from '@/composables/useToast';
import * as NodeViewUtils from '@/utils/nodeViewUtils';
import { v4 as uuid } from 'uuid';
import { useSegment } from '@/stores/segment.store';
import type { Ref } from 'vue';
import { computed } from 'vue';
import { useCredentialsStore } from '@/stores/credentials.store';
@@ -650,7 +649,6 @@ export function useCanvasOperations({
});
} else {
void externalHooks.run('nodeView.addNodeButton', { nodeTypeName: node.type });
useSegment().trackAddedTrigger(node.type);
const trackProperties: ITelemetryTrackProperties = {
node_type: node.type,
node_version: newNodeData.typeVersion,