dify/web/app/components/workflow/skill
yyh bc9ce23fdc
refactor(skill): rename components for semantic clarity
Rename components and reorganize directory structure:
- skill-doc-editor.tsx → file-content-panel.tsx (handles edit/preview/download)
- editor-area.tsx → content-area.tsx
- editor-body.tsx → content-body.tsx
- editor-tabs.tsx → file-tabs.tsx
- editor-tab-item.tsx → file-tab-item.tsx

Create viewer/ directory for non-editor components:
- Move media-file-preview.tsx from editor/ to viewer/
- Move unsupported-file-download.tsx from editor/ to viewer/

This clarifies the distinction between:
- editor/: actual file editors (code, markdown)
- viewer/: preview and download components (media, unsupported files)
2026-01-19 23:50:08 +08:00
..
editor refactor(skill): rename components for semantic clarity 2026-01-19 23:50:08 +08:00
file-tree refactor(skill): unify root/blank constants and eliminate magic strings 2026-01-19 23:07:49 +08:00
hooks refactor(skill): remove Office file special handling, merge into unsupported 2026-01-19 23:39:32 +08:00
utils refactor(skill): remove Office file special handling, merge into unsupported 2026-01-19 23:39:32 +08:00
viewer refactor(skill): rename components for semantic clarity 2026-01-19 23:50:08 +08:00
constants.ts refactor(skill): unify root/blank constants and eliminate magic strings 2026-01-19 23:07:49 +08:00
content-area.tsx refactor(skill): rename components for semantic clarity 2026-01-19 23:50:08 +08:00
content-body.tsx refactor(skill): rename components for semantic clarity 2026-01-19 23:50:08 +08:00
file-content-panel.tsx refactor(skill): rename components for semantic clarity 2026-01-19 23:50:08 +08:00
file-tab-item.tsx refactor(skill): rename components for semantic clarity 2026-01-19 23:50:08 +08:00
file-tabs.tsx refactor(skill): rename components for semantic clarity 2026-01-19 23:50:08 +08:00
main.tsx refactor(skill): rename components for semantic clarity 2026-01-19 23:50:08 +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-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