feat: undo-redo & edit snapshots (#2436)

* feat: undo-redo & edit snapshots

* fix merge

* add simple history back

* fix some undo

* change app latest version

* fix

* chatconfig

* fix snapshot

* fix

* fix

* fix

* fix compare

* fix initial

* fix merge:

* fix useEffect

* fix snapshot initial and saved state

* chore

* fix

* compare snapshot

* nodes edges useEffct

* fix chatconfig

* fix

* delete unused method

* fix

* fix

* fix

* default version name
This commit is contained in:
heheer
2024-08-23 15:58:43 +08:00
committed by GitHub
parent de573e4303
commit 6288dc9492
49 changed files with 1559 additions and 349 deletions

View File

@@ -138,6 +138,7 @@
"Done": "完成",
"Edit": "编辑",
"Exit": "退出",
"Exit Directly": "直接退出",
"Expired Time": "过期时间",
"Field": "字段",
"File": "文件",
@@ -184,6 +185,7 @@
"Save": "保存",
"Save Failed": "保存异常",
"Save Success": "保存成功",
"Save_and_exit": "保存并退出",
"Search": "搜索",
"Select File Failed": "选择文件异常",
"Select template": "选择模板",
@@ -256,6 +258,8 @@
"no_intro": "暂无介绍",
"not_support": "不支持",
"page_center": "页面居中",
"redo_tip": "恢复 ctrl shift z",
"redo_tip_mac": "恢复 ⌘ shift z",
"request_end": "已加载全部",
"request_more": "点击加载更多",
"speech": {
@@ -275,7 +279,13 @@
"textarea": {
"Magnifying": "放大"
}
}
},
"undo_tip": "撤销 ctrl z",
"undo_tip_mac": "撤销 ⌘ z ",
"zoomin_tip": "缩小 ctrl -",
"zoomin_tip_mac": "缩小 ⌘ -",
"zoomout_tip": "放大 ctrl +",
"zoomout_tip_mac": "放大 ⌘ +"
},
"confirm_choice": "确认选择",
"contribute_app_template": "贡献模板",
@@ -311,6 +321,7 @@
"Max histories": "聊天记录数量",
"Max tokens": "回复上限",
"Name and avatar": "头像 & 名称",
"Not saved": "未保存",
"Onclick to save": "点击保存",
"Publish": "发布",
"Publish Confirm": "确认发布应用?会立即更新所有发布渠道的应用状态。",
@@ -361,6 +372,7 @@
"close custom feedback": "关闭反馈"
},
"have_publish": "已发布",
"have_saved": "已保存",
"loading": "加载中",
"logs": {
"Source And Time": "来源 & 时间"
@@ -375,6 +387,7 @@
},
"no_app": "还没有应用,快去创建一个吧!",
"not_published": "未发布",
"not_saved": "未保存",
"outLink": {
"Can Drag": "图标可拖拽",
"Default open": "默认打开",
@@ -475,6 +488,7 @@
"Recent use": "最近使用",
"Record": "语音输入",
"Restart": "重开对话",
"Run test": "运行预览",
"Select Image": "选择图片",
"Select dataset": "选择知识库",
"Select dataset Desc": "选择一个知识库存储预期答案",
@@ -617,7 +631,8 @@
"success": "开始同步"
}
},
"training": {}
"training": {
}
},
"data": {
"Auxiliary Data": "辅助数据",
@@ -934,7 +949,10 @@
"Debug Node": "Debug 模式",
"Failed": "运行失败",
"Not intro": "这个节点没有介绍~",
"Run": "运行",
"Running": "运行中",
"Save and publish": "保存并发布",
"Save to cloud": "仅保存",
"Skipped": "跳过运行",
"Stop debug": "停止调试",
"Success": "运行成功",