mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-27 00:17:31 +00:00
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:
@@ -46,6 +46,7 @@ export const iconPaths = {
|
||||
'common/openai': () => import('./icons/common/openai.svg'),
|
||||
'common/overviewLight': () => import('./icons/common/overviewLight.svg'),
|
||||
'common/paramsLight': () => import('./icons/common/paramsLight.svg'),
|
||||
'common/paused': () => import('./icons/common/paused.svg'),
|
||||
'common/playFill': () => import('./icons/common/playFill.svg'),
|
||||
'common/playLight': () => import('./icons/common/playLight.svg'),
|
||||
'common/publishFill': () => import('./icons/common/publishFill.svg'),
|
||||
@@ -61,6 +62,7 @@ export const iconPaths = {
|
||||
'common/select': () => import('./icons/common/select.svg'),
|
||||
'common/selectLight': () => import('./icons/common/selectLight.svg'),
|
||||
'common/settingLight': () => import('./icons/common/settingLight.svg'),
|
||||
'common/subtract': () => import('./icons/common/subtract.svg'),
|
||||
'common/text/t': () => import('./icons/common/text/t.svg'),
|
||||
'common/tickFill': () => import('./icons/common/tickFill.svg'),
|
||||
'common/trash': () => import('./icons/common/trash.svg'),
|
||||
@@ -68,6 +70,7 @@ export const iconPaths = {
|
||||
'common/uploadFileFill': () => import('./icons/common/uploadFileFill.svg'),
|
||||
'common/viewLight': () => import('./icons/common/viewLight.svg'),
|
||||
'common/voiceLight': () => import('./icons/common/voiceLight.svg'),
|
||||
'common/warn': () => import('./icons/common/warn.svg'),
|
||||
'common/wechatFill': () => import('./icons/common/wechatFill.svg'),
|
||||
copy: () => import('./icons/copy.svg'),
|
||||
'core/app/aiFill': () => import('./icons/core/app/aiFill.svg'),
|
||||
@@ -184,6 +187,8 @@ export const iconPaths = {
|
||||
import('./icons/core/workflow/inputType/selectLLM.svg'),
|
||||
'core/workflow/inputType/switch': () => import('./icons/core/workflow/inputType/switch.svg'),
|
||||
'core/workflow/inputType/textarea': () => import('./icons/core/workflow/inputType/textarea.svg'),
|
||||
'core/workflow/publish': () => import('./icons/core/workflow/publish.svg'),
|
||||
'core/workflow/redo': () => import('./icons/core/workflow/redo.svg'),
|
||||
'core/workflow/revertVersion': () => import('./icons/core/workflow/revertVersion.svg'),
|
||||
'core/workflow/runError': () => import('./icons/core/workflow/runError.svg'),
|
||||
'core/workflow/runSkip': () => import('./icons/core/workflow/runSkip.svg'),
|
||||
@@ -232,6 +237,8 @@ export const iconPaths = {
|
||||
import('./icons/core/workflow/template/variableUpdate.svg'),
|
||||
'core/workflow/template/workflowStart': () =>
|
||||
import('./icons/core/workflow/template/workflowStart.svg'),
|
||||
'core/workflow/undo': () => import('./icons/core/workflow/undo.svg'),
|
||||
'core/workflow/upload': () => import('./icons/core/workflow/upload.svg'),
|
||||
'core/workflow/versionHistories': () => import('./icons/core/workflow/versionHistories.svg'),
|
||||
date: () => import('./icons/date.svg'),
|
||||
delete: () => import('./icons/delete.svg'),
|
||||
|
Reference in New Issue
Block a user