dify/web/app/components/workflow/skill/hooks
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 refactor: extract sqlite constants 2026-01-22 16:15:58 +08:00
use-create-operations.ts feat: sync file tree 2026-01-29 16:33:33 +08:00
use-delayed-click.ts chore: optimize code quality and performance 2026-01-20 15:54:31 +08:00
use-download-operation.ts fix(skill): use downloadUrl utility instead of window.open for file downloads 2026-01-29 12:49:15 +08:00
use-fetch-text-content.ts feat(inspect): add read-only file preview in ArtifactsTab 2026-01-29 16:42:22 +08:00
use-file-drop.ts feat: sync file tree 2026-01-29 16:33:33 +08:00
use-file-operations.ts fix(skill): use downloadUrl utility instead of window.open for file downloads 2026-01-29 12:49:15 +08:00
use-file-type-info.ts feat(inspect): add read-only file preview in ArtifactsTab 2026-01-29 16:42:22 +08:00
use-folder-file-drop.ts refactor(web): unify auto-expand trigger for drag-and-drop 2026-01-20 18:10:52 +08:00
use-inline-create-node.ts feat: sync file tree 2026-01-29 16:33:33 +08:00
use-modify-operations.ts feat: sync file tree 2026-01-29 16:33:33 +08:00
use-node-move.ts feat: sync file tree 2026-01-29 16:33:33 +08:00
use-node-reorder.ts feat: sync file tree 2026-01-29 16:33:33 +08:00
use-paste-operation.ts feat: sync file tree 2026-01-29 16:33:33 +08:00
use-root-file-drop.ts Revert "refactor(web): remove redundant useUnifiedDrag abstraction layer" 2026-01-20 18:09:25 +08:00
use-skill-asset-tree.ts refactor(skill): centralize asset tree data fetching with custom hooks 2026-01-15 19:45:33 +08:00
use-skill-auto-save.spec.tsx fix(skill-editor): align autosave fallbacks 2026-01-25 19:51:56 +08:00
use-skill-auto-save.ts fix(skill-editor): align autosave fallbacks 2026-01-25 19:51:56 +08:00
use-skill-file-data.ts fix(skill): use download URL for all non-editable files 2026-01-19 23:34:56 +08:00
use-skill-save-manager.spec.tsx fix(skill): prevent infinite save loop caused by unstable saveFile reference 2026-01-27 13:02:55 +08:00
use-skill-save-manager.tsx feat: sync the markdown file dirty status 2026-01-28 16:29:17 +08:00
use-skill-shortcuts.ts fix(skill): remove non-functional copy menu item from file tree context menu 2026-01-28 16:34:57 +08:00
use-skill-tree-collaboration.ts feat: sync file tree 2026-01-29 16:33:33 +08:00
use-sqlite-database.ts fix: show columns for empty sqlite tables 2026-01-22 16:25:43 +08:00
use-sync-tree-with-active-tab.ts fix(skill-editor): add START_TAB_ID guards to prevent invalid metadata operations 2026-01-23 13:15:39 +08:00
use-tree-node-handlers.ts chore: optimize code quality and performance 2026-01-20 15:54:31 +08:00
use-unified-drag.ts Revert "refactor(web): remove redundant useUnifiedDrag abstraction layer" 2026-01-20 18:09:25 +08:00