dify/web/app/components/workflow/skill
yyh b3793b0198
fix(skill): use download URL for all non-editable files
Change useSkillFileData to use isEditable instead of isMediaFile:
- Editable files (markdown, code, text) fetch file content for editing
- Non-editable files (image, video, office, unsupported) fetch download URL

This fixes the download button for unsupported files which was incorrectly
using file content (UTF-8 decoded garbage) instead of the presigned URL.
2026-01-19 23:34:56 +08:00
..
editor fix: auto default 2026-01-19 18:41:05 +08:00
file-tree refactor(skill): unify root/blank constants and eliminate magic strings 2026-01-19 23:07:49 +08:00
hooks fix(skill): use download URL for all non-editable files 2026-01-19 23:34:56 +08:00
utils refactor(skill): unify root/blank constants and eliminate magic strings 2026-01-19 23:07:49 +08:00
constants.ts refactor(skill): unify root/blank constants and eliminate magic strings 2026-01-19 23:07:49 +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 feat: support save settings 2026-01-16 17:44:40 +08:00
main.tsx feat(skill): implement file tree search with debounced filtering 2026-01-16 14:44:44 +08:00
sidebar-search-add.tsx refactor(skill): unify root/blank constants and eliminate magic strings 2026-01-19 23:07:49 +08:00
sidebar.tsx chore: remove useless props 2026-01-15 11:24:59 +08:00
skill-doc-editor.tsx fix(skill): use download URL for all non-editable files 2026-01-19 23:34:56 +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