mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
chore(editor): Add telemetry for canvas experiment (#18871)
This commit is contained in:
@@ -15,6 +15,7 @@ import { useExternalHooks } from '@/composables/useExternalHooks';
|
||||
import TextWithHighlights from './TextWithHighlights.vue';
|
||||
import { useTelemetry } from '@/composables/useTelemetry';
|
||||
import { useElementSize } from '@vueuse/core';
|
||||
import { useTelemetryContext } from '@/composables/useTelemetryContext';
|
||||
|
||||
const LazyRunDataJsonActions = defineAsyncComponent(
|
||||
async () => await import('@/components/RunDataJsonActions.vue'),
|
||||
@@ -44,6 +45,7 @@ const ndvStore = useNDVStore();
|
||||
|
||||
const externalHooks = useExternalHooks();
|
||||
const telemetry = useTelemetry();
|
||||
const telemetryContext = useTelemetryContext();
|
||||
|
||||
const selectedJsonPath = ref(nonExistingJsonPath);
|
||||
const draggingPath = ref<null | string>(null);
|
||||
@@ -103,6 +105,7 @@ const onDragEnd = (el: HTMLElement) => {
|
||||
src_view: 'json',
|
||||
src_element: el,
|
||||
success: false,
|
||||
view_shown: telemetryContext.view_shown,
|
||||
...mappingTelemetry,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user