feat(editor): Evaluations frontend (no-changelog) (#15550)

Co-authored-by: Yiorgis Gozadinos <yiorgis@n8n.io>
Co-authored-by: JP van Oosten <jp@n8n.io>
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
Co-authored-by: Michael Kret <michael.k@radency.com>
This commit is contained in:
Eugene
2025-05-26 12:26:28 +02:00
committed by GitHub
parent 3ee15a8331
commit ca8f087a47
87 changed files with 3460 additions and 5103 deletions

View File

@@ -55,6 +55,7 @@ import type {
AI_OTHERS_NODE_CREATOR_VIEW,
ROLE,
AI_UNCATEGORIZED_CATEGORY,
AI_EVALUATION,
} from '@/constants';
import type { BulkCommand, Undoable } from '@/models/history';
@@ -1079,7 +1080,8 @@ export type NodeFilterType =
| typeof TRIGGER_NODE_CREATOR_VIEW
| typeof AI_NODE_CREATOR_VIEW
| typeof AI_OTHERS_NODE_CREATOR_VIEW
| typeof AI_UNCATEGORIZED_CATEGORY;
| typeof AI_UNCATEGORIZED_CATEGORY
| typeof AI_EVALUATION;
export type NodeCreatorOpenSource =
| ''
@@ -1092,7 +1094,9 @@ export type NodeCreatorOpenSource =
| 'node_connection_action'
| 'node_connection_drop'
| 'notice_error_message'
| 'add_node_button';
| 'add_node_button'
| 'add_evaluation_trigger_button'
| 'add_evaluation_node_button';
export interface INodeCreatorState {
itemsFilter: string;
@@ -1318,6 +1322,10 @@ export type UsageState = {
value: number;
warningThreshold: number; // hardcoded value in BE
};
workflowsHavingEvaluations: {
limit: number; // -1 for unlimited, from license
value: number;
};
};
license: {
planId: string; // community
@@ -1466,7 +1474,8 @@ export type CloudUpdateLinkSourceType =
| 'external-secrets'
| 'rbac'
| 'debug'
| 'insights';
| 'insights'
| 'evaluations';
export type UTMCampaign =
| 'upgrade-custom-data-filter'
@@ -1490,7 +1499,8 @@ export type UTMCampaign =
| 'upgrade-external-secrets'
| 'upgrade-rbac'
| 'upgrade-debug'
| 'upgrade-insights';
| 'upgrade-insights'
| 'upgrade-evaluations';
export type N8nBanners = {
[key in BannerName]: {