feat: last run frontend (#21369)

The frontend of feat: Persist Variables for Enhanced Debugging Workflow (#20699).

Co-authored-by: jZonG <jzongcode@gmail.com>
This commit is contained in:
Joel 2025-06-24 09:10:30 +08:00 • committed by GitHub
commit 1a1bfd4048
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
122 changed files with 5888 additions and 2061 deletions

View file

@ -307,6 +307,8 @@ const translation = {
organizeBlocks: 'Organize nodes',
change: 'Change',
optional: '(optional)',
maximize: 'Maximize Canvas',
minimize: 'Exit Full Screen',
},
nodes: {
common: {
@ -913,6 +915,35 @@ const translation = {
updateFailure: 'Failed to update version',
},
},
debug: {
settingsTab: 'Settings',
lastRunTab: 'Last Run',
noData: {
description: 'The results of the last run will be displayed here',
runThisNode: 'Run this node',
},
variableInspect: {
title: 'Variable Inspect',
emptyTip: 'After stepping through a node on the canvas or running a node step by step, you can view the current value of the node variable in Variable Inspect',
emptyLink: 'Learn more',
clearAll: 'Reset all',
clearNode: 'Clear cached variable',
resetConversationVar: 'Reset conversation variable to default value',
view: 'View log',
edited: 'Edited',
reset: 'Reset to last run value',
trigger: {
normal: 'Variable Inspect',
running: 'Caching running status',
stop: 'Stop run',
cached: 'View cached variables',
clear: 'Clear',
},
envNode: 'Environment',
chatNode: 'Conversation',
systemNode: 'System',
},
},
}
export default translation

View file

@ -308,6 +308,8 @@ const translation = {
change: '更改',
optional: '(选填)',
moveToThisNode: '定位至此节点',
maximize: '最大化画布',
minimize: '退出最大化',
},
nodes: {
common: {
@ -914,6 +916,35 @@ const translation = {
updateFailure: '更新失败',
},
},
debug: {
settingsTab: '设置',
lastRunTab: '上次运行',
noData: {
description: '上次运行的结果将显示在这里',
runThisNode: '运行此节点',
},
variableInspect: {
title: '变量检查',
emptyTip: '在画布上逐步浏览节点或逐步运行节点后,您可以在变量检查中查看节点变量的当前值',
emptyLink: '了解更多',
clearAll: '重置所有',
clearNode: '清除缓存',
resetConversationVar: '重置会话变量为默认值',
view: '查看记录',
edited: '已编辑',
reset: '还原至上一次运行',
trigger: {
normal: '变量检查',
running: '缓存中',
stop: '停止运行',
cached: '查看缓存',
clear: '清除',
},
envNode: '环境变量',
chatNode: '会话变量',
systemNode: '系统变量',
},
},
}
export default translation