refactor(skill-editor): split slice into separate files for better organization

Split the monolithic skill-editor-slice.ts into a dedicated directory with
individual slice files (tab, file-tree, dirty, metadata, file-operations-menu)
to improve maintainability and code organization.
This commit is contained in:
yyh
2026-01-17 17:28:25 +08:00
parent 15d6f60f25
commit b82b73ef94
9 changed files with 328 additions and 313 deletions

View File

@ -2,7 +2,7 @@
import type { NodeApi, TreeApi } from 'react-arborist'
import type { TreeNodeData } from '../type'
import type { OpensObject } from '@/app/components/workflow/store/workflow/skill-editor-slice'
import type { OpensObject } from '@/app/components/workflow/store/workflow/skill-editor/file-tree-slice'
import { RiDragDropLine } from '@remixicon/react'
import { useIsMutating } from '@tanstack/react-query'
import { useSize } from 'ahooks'