dify/web/app/components/workflow/skill
yyh ea88bcfbd2
feat: add ZIP skill import with client-side extraction
Add import skill modal that accepts .zip files via drag-and-drop or
file picker, extracts them client-side using fflate, validates structure
and security constraints, then batch uploads via presigned URLs.

- Add fflate dependency for browser-side ZIP decompression
- Create zip-extract.ts with fflate filter API for validation
- Create zip-to-upload-tree.ts for BatchUploadNodeInput tree building
- Create import-skill-modal.tsx with drag-and-drop support
- Lazy-load ImportSkillModal via next/dynamic for bundle optimization
- Add en-US and zh-Hans i18n keys for import modal
2026-01-30 21:54:00 +08:00
..
editor feat: Add @ and keyboard navigation to tool picker in prompt editor 2026-01-30 20:49:14 +08:00
file-tree Revert "refactor(skill): replace React icon components with CSS Icons" 2026-01-30 12:42:20 +08:00
hooks fix(skill): clear file tree highlight when switching to start tab 2026-01-30 17:12:51 +08:00
start-tab feat: add ZIP skill import with client-side extraction 2026-01-30 21:54:00 +08:00
utils feat: add ZIP skill import with client-side extraction 2026-01-30 21:54:00 +08:00
viewer Revert "refactor(skill): replace React icon components with CSS Icons" 2026-01-30 12:42:20 +08:00
artifact-content-panel.tsx feat: add ArtifactSlice and integrate artifact preview into skill editor tabs 2026-01-29 17:52:41 +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 feat: code editor cursor sync 2026-01-29 14:28:30 +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: add ArtifactSlice and integrate artifact preview into skill editor tabs 2026-01-29 17:52:41 +08:00
sidebar-search-add.tsx Revert "refactor(skill): replace React icon components with CSS Icons" 2026-01-30 12:42:20 +08:00
sidebar.tsx refactor(skill): remove React.FC type annotations from all components 2026-01-28 23:34:08 +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