dify/web/app/components/workflow/skill/viewer
yyh 76484406a2
feat(inspect): add read-only file preview in ArtifactsTab
Implement ReadOnlyFilePreview to render sandbox files by type
(code, markdown, image, video, SQLite, unsupported) using existing
skill viewer components with readOnly support. Add
useSandboxFileDownloadUrl and useFetchTextContent hooks for data
fetching, and generalize useFileTypeInfo to accept any file-like
object.
2026-01-29 16:42:22 +08:00
..
sqlite-file-preview refactor(skill): remove React.FC type annotations from all components 2026-01-28 23:34:08 +08:00
media-file-preview.tsx refactor(skill): remove React.FC type annotations from all components 2026-01-28 23:34:08 +08:00
read-only-code-preview.tsx feat(inspect): add read-only file preview in ArtifactsTab 2026-01-29 16:42:22 +08:00
read-only-file-preview.tsx feat(inspect): add read-only file preview in ArtifactsTab 2026-01-29 16:42:22 +08:00
read-only-markdown-preview.tsx feat(inspect): add read-only file preview in ArtifactsTab 2026-01-29 16:42:22 +08:00
unsupported-file-download.tsx fix(skill): use downloadUrl utility instead of window.open for file downloads 2026-01-29 12:49:15 +08:00