diff --git a/packages/frontend/editor-ui/src/components/Evaluations.ee/shared/statusDictionary.ts b/packages/frontend/editor-ui/src/components/Evaluations.ee/shared/statusDictionary.ts deleted file mode 100644 index 4465e1808d5..00000000000 --- a/packages/frontend/editor-ui/src/components/Evaluations.ee/shared/statusDictionary.ts +++ /dev/null @@ -1,37 +0,0 @@ -import type { TestRunRecord } from '@/api/evaluation.ee'; -import { type IconName } from '@n8n/design-system/components/N8nIcon/icons'; -import type { IconColor } from '@n8n/design-system/types/icon'; - -export const statusDictionary: Record< - TestRunRecord['status'], - { icon: IconName; color: IconColor } -> = { - new: { - icon: 'status-new', - color: 'foreground-xdark', - }, - running: { - icon: 'spinner', - color: 'secondary', - }, - completed: { - icon: 'status-completed', - color: 'success', - }, - error: { - icon: 'triangle-alert', - color: 'danger', - }, - cancelled: { - icon: 'status-canceled', - color: 'foreground-xdark', - }, - warning: { - icon: 'status-warning', - color: 'warning', - }, - success: { - icon: 'status-completed', - color: 'success', - }, -}; diff --git a/packages/frontend/editor-ui/src/components/Node/NodeCreator/composables/useActionsGeneration.ts b/packages/frontend/editor-ui/src/components/Node/NodeCreator/composables/useActionsGeneration.ts index c3e72f3312d..e6041f8e09c 100644 --- a/packages/frontend/editor-ui/src/components/Node/NodeCreator/composables/useActionsGeneration.ts +++ b/packages/frontend/editor-ui/src/components/Node/NodeCreator/composables/useActionsGeneration.ts @@ -20,7 +20,7 @@ import { i18n } from '@n8n/i18n'; import { getCredentialOnlyNodeType } from '@/utils/credentialOnlyNodes'; import { formatTriggerActionName } from '../utils'; -import { useEvaluationStore } from '@/stores/evaluation.store.ee'; +import { useEvaluationStore } from '@/features/evaluation.ee/evaluation.store'; import { useSettingsStore } from '@/stores/settings.store'; const PLACEHOLDER_RECOMMENDED_ACTION_KEY = 'placeholder_recommended'; diff --git a/packages/frontend/editor-ui/src/components/Node/NodeCreator/viewsData.ts b/packages/frontend/editor-ui/src/components/Node/NodeCreator/viewsData.ts index ae81a5e0db0..401ffef7d64 100644 --- a/packages/frontend/editor-ui/src/components/Node/NodeCreator/viewsData.ts +++ b/packages/frontend/editor-ui/src/components/Node/NodeCreator/viewsData.ts @@ -68,7 +68,7 @@ import { useTemplatesStore } from '@/features/templates/templates.store'; import type { BaseTextKey } from '@n8n/i18n'; import camelCase from 'lodash/camelCase'; import { useSettingsStore } from '@/stores/settings.store'; -import { useEvaluationStore } from '@/stores/evaluation.store.ee'; +import { useEvaluationStore } from '@/features/evaluation.ee/evaluation.store'; import { getAiTemplatesCallout, getPreBuiltAgentsCalloutWithDivider } from './utils'; import { useCalloutHelpers } from '@/composables/useCalloutHelpers'; diff --git a/packages/frontend/editor-ui/src/components/WorkflowProductionChecklist.test.ts b/packages/frontend/editor-ui/src/components/WorkflowProductionChecklist.test.ts index 3a5c89a2de4..7d8553ac113 100644 --- a/packages/frontend/editor-ui/src/components/WorkflowProductionChecklist.test.ts +++ b/packages/frontend/editor-ui/src/components/WorkflowProductionChecklist.test.ts @@ -2,7 +2,7 @@ import { createComponentRenderer } from '@/__tests__/render'; import { createTestingPinia } from '@pinia/testing'; import { ref } from 'vue'; import WorkflowProductionChecklist from '@/components/WorkflowProductionChecklist.vue'; -import { useEvaluationStore } from '@/stores/evaluation.store.ee'; +import { useEvaluationStore } from '@/features/evaluation.ee/evaluation.store'; import { useNodeTypesStore } from '@/stores/nodeTypes.store'; import { useWorkflowSettingsCache } from '@/composables/useWorkflowsCache'; import { useUIStore } from '@/stores/ui.store'; diff --git a/packages/frontend/editor-ui/src/components/WorkflowProductionChecklist.vue b/packages/frontend/editor-ui/src/components/WorkflowProductionChecklist.vue index 81ae509a534..5beb6715478 100644 --- a/packages/frontend/editor-ui/src/components/WorkflowProductionChecklist.vue +++ b/packages/frontend/editor-ui/src/components/WorkflowProductionChecklist.vue @@ -2,7 +2,7 @@ import { computed, ref, onMounted, watch } from 'vue'; import { useI18n } from '@n8n/i18n'; import { useRouter } from 'vue-router'; -import { useEvaluationStore } from '@/stores/evaluation.store.ee'; +import { useEvaluationStore } from '@/features/evaluation.ee/evaluation.store'; import { useNodeTypesStore } from '@/stores/nodeTypes.store'; import type { ActionType, WorkflowSettings } from '@/composables/useWorkflowsCache'; import { useWorkflowSettingsCache } from '@/composables/useWorkflowsCache'; diff --git a/packages/frontend/editor-ui/src/components/Evaluations.ee/ListRuns/MetricsChart.vue b/packages/frontend/editor-ui/src/features/evaluation.ee/components/ListRuns/MetricsChart.vue similarity index 94% rename from packages/frontend/editor-ui/src/components/Evaluations.ee/ListRuns/MetricsChart.vue rename to packages/frontend/editor-ui/src/features/evaluation.ee/components/ListRuns/MetricsChart.vue index 79f9df6e2cb..42ee11a04cd 100644 --- a/packages/frontend/editor-ui/src/components/Evaluations.ee/ListRuns/MetricsChart.vue +++ b/packages/frontend/editor-ui/src/features/evaluation.ee/components/ListRuns/MetricsChart.vue @@ -1,8 +1,8 @@