dify/web/app/components/workflow/skill
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
..
editor chore: tool format and render problem 2026-01-16 13:50:20 +08:00
file-tree refactor(skill): migrate skill editor store to workflow store slice injection 2026-01-16 13:51:49 +08:00
hooks refactor(skill): migrate skill editor store to workflow store slice injection 2026-01-16 13:51:49 +08:00
store refactor(skill): migrate skill editor store to workflow store slice injection 2026-01-16 13:51:49 +08:00
utils feat(skill-editor): enhance + button with full operations and smart target folder 2026-01-15 16:10:01 +08:00
editor-area.tsx fix: css 2026-01-15 16:14:51 +08:00
editor-body.tsx fix: css 2026-01-15 16:14:51 +08:00
editor-tab-item.tsx feat(skill): implement VS Code-style preview/pinned tab management 2026-01-16 11:20:49 +08:00
editor-tabs.tsx refactor(skill): migrate skill editor store to workflow store slice injection 2026-01-16 13:51:49 +08:00
main.tsx feat(skill): add file right-click/more menu and refactor naming 2026-01-15 17:26:12 +08:00
sidebar-search-add.tsx refactor(skill): migrate skill editor store to workflow store slice injection 2026-01-16 13:51:49 +08:00
sidebar.tsx chore: remove useless props 2026-01-15 11:24:59 +08:00
skill-doc-editor.tsx refactor(skill): migrate skill editor store to workflow store slice injection 2026-01-16 13:51:49 +08:00
skill-page-layout.tsx chore: remove useless props 2026-01-15 11:24:59 +08:00
type.ts refactor(skill-editor): extract hooks and utils into separate directories 2026-01-15 16:00:42 +08:00