dify/web/app/components/workflow/skill/hooks
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
..
use-delayed-click.ts fix(skill): address code review issues for tab management 2026-01-16 11:20:49 +08:00
use-file-operations.ts refactor(skill): migrate skill editor store to workflow store slice injection 2026-01-16 13:51:49 +08:00
use-skill-asset-tree.ts refactor(skill): centralize asset tree data fetching with custom hooks 2026-01-15 19:45:33 +08:00