mirror of
https://github.com/langgenius/dify.git
synced 2026-05-13 08:57:28 +08:00
Remove the Office file placeholder that only showed "Preview will be supported in a future update" without any download option. Office files (pdf, doc, docx, xls, xlsx, ppt, pptx) now fall through to the generic "unsupported file" handler which provides a download button. Removed: - OfficeFilePlaceholder component - isOfficeFile function and OFFICE_EXTENSIONS constant - isOffice flag from useFileTypeInfo hook - i18n keys for officePlaceholder This simplifies the file type handling to just three categories: - Editable: markdown, code, text files → editor - Previewable: image, video files → media preview - Everything else: download button |
||
|---|---|---|
| .. | ||
| use-create-operations.ts | ||
| use-delayed-click.ts | ||
| use-file-drop.ts | ||
| use-file-operations.ts | ||
| use-file-type-info.ts | ||
| use-folder-file-drop.ts | ||
| use-inline-create-node.ts | ||
| use-modify-operations.ts | ||
| use-root-file-drop.ts | ||
| use-skill-asset-tree.ts | ||
| use-skill-file-data.ts | ||
| use-skill-file-save.ts | ||
| use-sync-tree-with-active-tab.ts | ||
| use-tree-node-handlers.ts | ||