diff --git a/packages/editor-ui/src/components/WorkflowEvaluation/ListEvaluation/EmptyState.vue b/packages/editor-ui/src/components/WorkflowEvaluation/ListEvaluation/EmptyState.vue new file mode 100644 index 0000000000..7896764211 --- /dev/null +++ b/packages/editor-ui/src/components/WorkflowEvaluation/ListEvaluation/EmptyState.vue @@ -0,0 +1,31 @@ + + + + + + Tests + + + + + + + diff --git a/packages/editor-ui/src/components/WorkflowEvaluation/ListEvaluation/TestItem.vue b/packages/editor-ui/src/components/WorkflowEvaluation/ListEvaluation/TestItem.vue new file mode 100644 index 0000000000..a876c64bcf --- /dev/null +++ b/packages/editor-ui/src/components/WorkflowEvaluation/ListEvaluation/TestItem.vue @@ -0,0 +1,135 @@ + + + + + + + {{ test.name }} + + + + {{ test.testCases }} test case(s) + + Ran {{ test.execution.lastRun }} + + + + + Error rate: {{ test.execution.errorRate ?? '-' }} + + {{ key }}: {{ value ?? '-' }} + + + + + + + {{ action.tooltip }} + + + + + + + + diff --git a/packages/editor-ui/src/components/WorkflowEvaluation/ListEvaluation/TestsList.vue b/packages/editor-ui/src/components/WorkflowEvaluation/ListEvaluation/TestsList.vue new file mode 100644 index 0000000000..0d4964f360 --- /dev/null +++ b/packages/editor-ui/src/components/WorkflowEvaluation/ListEvaluation/TestsList.vue @@ -0,0 +1,35 @@ + + + + + + + + + + + + diff --git a/packages/editor-ui/src/constants.ts b/packages/editor-ui/src/constants.ts index 415e3addd9..2e3a4278bb 100644 --- a/packages/editor-ui/src/constants.ts +++ b/packages/editor-ui/src/constants.ts @@ -485,6 +485,7 @@ export const enum VIEWS { WORKFLOWS = 'WorkflowsView', WORKFLOW_EXECUTIONS = 'WorkflowExecutions', WORKFLOW_EVALUATION = 'WorkflowEvaluation', + WORKFLOW_EVALUATION_EDIT = 'WorkflowEvaluationEdit', NEW_WORKFLOW_EVALUATION = 'NewWorkflowEvaluation', USAGE = 'Usage', LOG_STREAMING_SETTINGS = 'LogStreamingSettingsView', diff --git a/packages/editor-ui/src/views/WorkflowEvaluation/EvaluationListView.vue b/packages/editor-ui/src/views/WorkflowEvaluation/EvaluationListView.vue new file mode 100644 index 0000000000..977f44c991 --- /dev/null +++ b/packages/editor-ui/src/views/WorkflowEvaluation/EvaluationListView.vue @@ -0,0 +1,139 @@ + + + + + + + + + + + + + + + diff --git a/packages/editor-ui/src/views/WorkflowEvaluation/ListEvaluations.vue b/packages/editor-ui/src/views/WorkflowEvaluation/ListEvaluations.vue deleted file mode 100644 index a946257edf..0000000000 --- a/packages/editor-ui/src/views/WorkflowEvaluation/ListEvaluations.vue +++ /dev/null @@ -1,271 +0,0 @@ - - - - - - - - - - - - - Tests - - - - - - - - - - - - - - - - {{ test.name }} - - - - {{ test.testCases }} test case(s) - - Ran {{ test.execution.lastRun }} - - - - - Error rate: {{ test.execution.errorRate ?? '-' }} - Metric 1: {{ test.execution.metrics.metric1 ?? '-' }} - Metric 2: {{ test.execution.metrics.metric2 ?? '-' }} - Metric 3: {{ test.execution.metrics.metric3 ?? '-' }} - - - - - - - - - - - - - - -