dify/web/app/components
yyh cab33d440b
refactor(skill): remove Office file special handling, merge into unsupported
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
2026-01-19 23:39:32 +08:00
..
app fix: lint 2026-01-19 16:35:50 +08:00
app-sidebar fix(web): invalidate app list cache after deleting app from detail page (#30751) 2026-01-09 14:08:37 +08:00
apps fix(web): Zustand testing best practices and state read optimization (#31163) 2026-01-19 10:31:34 +08:00
base fix: tool can not auth modal 2026-01-19 18:06:23 +08:00
billing refactor(contract): restructure console contracts with nested billing module (#30999) 2026-01-15 10:41:18 +08:00
custom chore: remove useless __esModule (#30366) 2025-12-30 15:37:16 +08:00
datasets fix: correct test expectation for model provider setting payload 2026-01-19 18:05:59 +08:00
develop refactor(i18n): about locales (#30336) 2025-12-30 14:38:23 +08:00
devtools refactor(web): organize devtools components (#30318) 2025-12-30 09:21:41 +08:00
explore feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246) 2025-12-31 11:13:22 +08:00
goto-anything refactor(web): remove useMixedTranslation, better resource loading (#30630) 2026-01-07 13:20:09 +08:00
header feat(sandbox): preserve user config when switching to system default 2026-01-19 22:27:06 +08:00
plugins fix: auto default 2026-01-19 18:41:05 +08:00
provider feat(web): migrate PWA to Serwist (#30808) 2026-01-10 17:16:18 +09:00
rag-pipeline fix: workflow can not init 2026-01-19 15:15:24 +08:00
share fix: remove hardcoded 48-character limit from text inputs (#30156) 2026-01-15 17:43:00 +08:00
signin refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
tools fix: lint 2026-01-19 16:35:50 +08:00
workflow refactor(skill): remove Office file special handling, merge into unsupported 2026-01-19 23:39:32 +08:00
workflow-app fix: workflow can not init 2026-01-19 15:15:24 +08:00
app-initializer.tsx refactor(web): setup status caching (#30798) 2026-01-13 16:59:49 +08:00
browser-initializer.spec.ts feat: Add polyfill for Array.prototype.toSpliced method (#30031) 2025-12-23 17:48:20 +08:00
browser-initializer.tsx feat: Add polyfill for Array.prototype.toSpliced method (#30031) 2025-12-23 17:48:20 +08:00
sentry-initializer.tsx refactor(web): Migrate to Unified TanStack Devtools (#30279) 2025-12-29 09:43:44 +08:00
splash.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00