dify/web/app/components/workflow/skill/file-tree
yyh b8d67a42bd
refactor(skill): migrate skill editor store to workflow store slice injection
Refactor the skill editor state management from a standalone Zustand store
with Context provider pattern to a slice injection pattern that integrates
with the existing workflow store. This aligns with how rag-pipeline already
injects its slice.

- Remove SkillEditorProvider and SkillEditorContext
- Export createSkillEditorSlice for injection into workflow store
- Update all components to use useStore/useWorkflowStore from workflow store
- Add SkillEditorSliceShape to SliceFromInjection union type
- Use type-safe slice creator args without any types
2026-01-16 13:51:49 +08:00
..
index.tsx refactor(skill): migrate skill editor store to workflow store slice injection 2026-01-16 13:51:49 +08:00
menu-item.tsx refactor(skill): unify node menu components with cva variants 2026-01-16 13:51:49 +08:00
node-menu.tsx refactor(skill): unify node menu components with cva variants 2026-01-16 13:51:49 +08:00
tree-context-menu.tsx refactor(skill): migrate skill editor store to workflow store slice injection 2026-01-16 13:51:49 +08:00
tree-edit-input.tsx feat(skill): add inline rename and guide lines to file tree 2026-01-15 21:30:02 +08:00
tree-guide-lines.tsx feat(skill): add inline rename and guide lines to file tree 2026-01-15 21:30:02 +08:00
tree-node.tsx refactor(skill): migrate skill editor store to workflow store slice injection 2026-01-16 13:51:49 +08:00