dify/web/app/components/workflow/skill
yyh dc213ca76c
refactor(skill)!: add file node view-state flow and mode-based file data hook
- introduce resolving/ready/missing node view-state to avoid unsupported flicker

- switch useSkillFileData to explicit mode: none/content/download

- add hook tests for view-state transitions and mode query gating

BREAKING CHANGE: useSkillFileData signature changed from (appId, nodeId, isEditable) to (appId, nodeId, mode).
2026-02-06 15:39:00 +08:00
..
editor fix: placehoder pos 2026-02-06 14:59:23 +08:00
file-tree feat(skill-editor): render flat search result list in file tree 2026-02-06 15:39:00 +08:00
hooks refactor(skill)!: add file node view-state flow and mode-based file data hook 2026-02-06 15:39:00 +08:00
start-tab fix: vertically center empty search state to match Figma design 2026-02-06 14:21:33 +08:00
utils feat(skill-editor): render flat search result list in file tree 2026-02-06 15:39:00 +08:00
viewer feat(skill-editor): auto-focus editor on file creation and improve tree-tab sync 2026-02-06 14:21:33 +08:00
artifact-content-panel.tsx fix: pass appId instead of userId to sandbox file API calls 2026-02-03 17:59:21 +08:00
constants.ts feat: add ArtifactSlice and integrate artifact preview into skill editor tabs 2026-01-29 17:52:41 +08:00
content-area.tsx refactor(skill): remove React.FC type annotations from all components 2026-01-28 23:34:08 +08:00
content-body.tsx refactor(skill): remove React.FC type annotations from all components 2026-01-28 23:34:08 +08:00
file-content-panel.tsx refactor(skill)!: add file node view-state flow and mode-based file data hook 2026-02-06 15:39:00 +08:00
file-tab-item.tsx Revert "refactor(skill): replace React icon components with CSS Icons" 2026-01-30 12:42:20 +08:00
file-tabs.tsx feat: add ArtifactSlice and integrate artifact preview into skill editor tabs 2026-01-29 17:52:41 +08:00
main.tsx feat: support open file in new tab 2026-02-05 16:04:06 +08:00
sidebar-search-add.tsx refactor(web): use FileAdd and FolderAdd icons in skill menus 2026-02-05 16:56:27 +08:00
sidebar.tsx refactor: Refactor storage keys into hierarchical structure 2026-01-30 23:23:21 +08:00
skill-page-layout.tsx refactor(skill): remove React.FC type annotations from all components 2026-01-28 23:34:08 +08:00
start-tab-item.tsx Revert "refactor(skill): replace React icon components with CSS Icons" 2026-01-30 12:42:20 +08:00
type.ts refactor(skill-editor): extract hooks and utils into separate directories 2026-01-15 16:00:42 +08:00