feat(editor): Bring back checklist experiment (no-changelog) (#6307)

* bring back checklist experiment

* move call to track experiment
This commit is contained in:
Ricardo Espinoza
2023-05-25 11:15:48 -04:00
committed by GitHub
parent f08373490e
commit b777f9031d
3 changed files with 21 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ import { useWorkflowsStore } from '@/stores/workflows.store';
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
const EVENTS = {
SHOW_CHECKLIST: 'Show checklist',
ADDED_MANUAL_TRIGGER: 'User added manual trigger',
ADDED_SCHEDULE_TRIGGER: 'User added schedule trigger',
ADDED_DATA_TRIGGER: 'User added data trigger',
@@ -39,6 +40,8 @@ export const useSegment = defineStore('segment', () => {
if (isInIframe) {
return;
}
track(EVENTS.SHOW_CHECKLIST);
};
const trackAddedTrigger = (nodeTypeName: string) => {