dify/web/app/components/workflow
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
..
__tests__ chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
block-selector fix: click tool inner caused blur 2026-01-15 17:58:38 +08:00
constants feat: add Command node support 2026-01-06 19:30:38 +08:00
datasets-detail-store chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
header feat: graph skill main struct 2026-01-14 15:41:02 +08:00
help-line chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
hooks fix: fix LOOP_CHILDREN_Z_INDEX (#30719) 2026-01-14 10:22:31 +08:00
hooks-store feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246) 2025-12-31 11:13:22 +08:00
nodes fix: lint 2026-01-19 16:35:50 +08:00
note-node fix: lint 2026-01-19 16:35:50 +08:00
operator refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
panel fix(web): Zustand testing best practices and state read optimization (#31163) 2026-01-19 10:31:34 +08:00
plugin-dependency chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
run feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246) 2025-12-31 11:13:22 +08:00
simple-node chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
skill refactor(skill): remove Office file special handling, merge into unsupported 2026-01-19 23:39:32 +08:00
store refactor(skill): unify root/blank constants and eliminate magic strings 2026-01-19 23:07:49 +08:00
utils feat: add Command node support 2026-01-06 19:30:38 +08:00
variable-inspect refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
workflow-preview refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
block-icon.tsx feat: command node output variables 2026-01-07 11:15:52 +08:00
candidate-node-main.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
candidate-node.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
constants.ts feat: command node output variables 2026-01-07 11:15:52 +08:00
context.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
custom-connection-line.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
custom-edge-linear-gradient-render.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
custom-edge.tsx feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246) 2025-12-31 11:13:22 +08:00
dsl-export-confirm-modal.tsx feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246) 2025-12-31 11:13:22 +08:00
features.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
index.tsx feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246) 2025-12-31 11:13:22 +08:00
node-contextmenu.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
panel-contextmenu.tsx refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
selection-contextmenu.tsx refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
shortcuts-name.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
style.css fix: ReactFlow background in dark theme (#20013) 2025-05-21 10:32:07 +08:00
syncing-data-modal.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
types.ts feat: graph skill main struct 2026-01-14 15:41:02 +08:00
update-dsl-modal.tsx refactor: rename new runtime as sandbox feature 2026-01-12 01:53:39 +08:00
view-picker.tsx fix: switch zindex 2026-01-15 11:31:08 +08:00
workflow-history-store.tsx feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246) 2025-12-31 11:13:22 +08:00