da6fdc963c
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-20 19:17:51 +08:00
1c76ed2c40
feat(sandbox): draft storage
2026-01-20 18:45:13 +08:00
ceb410fb5c
fix: Update archive path for sandbox storage to use a temporary directory
2026-01-20 18:44:19 +08:00
54921844bb
fix(web): disable HTML escaping for form field validation messages ( #31292 )
2026-01-20 18:43:01 +08:00
4fa7843050
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-20 18:42:02 +08:00
3205f98d05
refactor(web): unify auto-expand trigger for drag-and-drop
...
Replace event-based auto-expand trigger with Zustand state-driven
approach. Now both external file uploads and internal node drag use
the same isDragOver state as the single source of truth for folder
auto-expand timing (1s blink, 2s expand).
2026-01-20 18:10:52 +08:00
0092254007
Revert "refactor(web): remove redundant useUnifiedDrag abstraction layer"
...
This reverts commit ee91c9d5f1 .
2026-01-20 18:09:25 +08:00
ee91c9d5f1
refactor(web): remove redundant useUnifiedDrag abstraction layer
...
Simplify file drop hooks by removing the unnecessary useUnifiedDrag
wrapper that became redundant after internal node drag was migrated
to react-arborist's built-in system. Now useFolderFileDrop and
useRootFileDrop directly use useFileDrop, reducing code complexity
and eliminating unused treeChildren prop drilling.
2026-01-20 18:09:08 +08:00
2151676db1
refactor: use react-arborist built-in drag for internal node moves
...
Switch from native HTML5 drag to react-arborist's built-in drag system
for internal node drag-and-drop. The HTML5Backend used by react-arborist
was intercepting dragstart events, preventing native drag from working.
- Add onMove callback and disableDrop validation to Tree component
- Sync react-arborist drag state (isDragging, willReceiveDrop) to Zustand
- Simplify use-node-move to only handle API execution
- Update use-unified-drag to only handle external file uploads
- External file drops continue to work via native HTML5 events
2026-01-20 18:09:08 +08:00
dc9658b003
perf(web): avoid per-node tree query subscription
2026-01-20 18:09:08 +08:00
b527921f3f
feat: unified drag-and-drop for skill file tree
...
Implement unified drag system that supports both internal node moves
and external file uploads with consistent UI feedback. Uses native
HTML5 drag API with shared visual states (isDragOver, isBlinking,
DragActionTooltip showing 'Move to' or 'Upload to').
2026-01-20 18:09:08 +08:00
0e66b51ca0
fix: history messages toolcalls
2026-01-20 17:37:23 +08:00
33e96fd11a
Merge remote-tracking branch 'origin/feat/support-agent-sandbox' into feat/support-agent-sandbox
2026-01-20 17:07:30 +08:00
2e037014c3
refactor: Replace manual ref syncing with useLatest hook
2026-01-20 17:00:47 +08:00
8c4aaa8286
fix: add message tool call icon
2026-01-20 16:59:53 +08:00
dc8c018e28
refactor: Refactor agent context insertion to use regex
2026-01-20 16:48:05 +08:00
57a8c453b9
fix: Fix variable insertion to only trigger on current line
2026-01-20 16:45:20 +08:00
e5dc56c483
Merge remote-tracking branch 'origin/feat/support-agent-sandbox' into feat/support-agent-sandbox
2026-01-20 16:37:04 +08:00
812df81d92
feat: Add paramKey prop to VariableReferenceFields component
2026-01-20 16:35:52 +08:00
67c29be3c6
fix: message answer include tool result
2026-01-20 16:05:28 +08:00
cf5e8491df
chore: optimize code quality and performance
2026-01-20 15:54:31 +08:00
53f828f00e
feat: paste operation for skill file tree
2026-01-20 15:42:53 +08:00
357489d444
feat: multi select for file tree & clipboard support
2026-01-20 15:42:53 +08:00
331c65fd1d
fix: click file tab caused popup hide
2026-01-20 15:35:08 +08:00
56b09d9f72
fix: download option trigger open tab
2026-01-20 14:28:05 +08:00
d4ed398e4f
fix lint
2026-01-20 14:26:01 +08:00
951a580907
feat: artifacts section layout
2026-01-20 14:21:31 +08:00
3b72b45319
Merge branch 'feat/support-agent-sandbox' of https://github.com/langgenius/dify into feat/support-agent-sandbox
2026-01-20 14:01:43 +08:00
2650ceb0a6
feat: support picker vars files ui in editor
2026-01-20 14:01:30 +08:00
c5fc3cc08e
revert icons
2026-01-20 14:00:46 +08:00
fdaf471a03
fix: answer node text
2026-01-20 13:59:49 +08:00
27de07e93d
chore: fix the llm node memory issue
2026-01-20 13:52:45 +08:00
8154d0af53
feat: add FolderSpark icon for workflow
2026-01-20 13:51:49 +08:00
466f76345b
feat: add drag action tooltip
2026-01-20 13:50:51 +08:00
3ebe53ada1
ci: label web changes ( #31261 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-20 13:46:23 +08:00
fc83e2b1c4
feat!: file download in skill file tree menu
2026-01-20 13:16:27 +08:00
76b64dda52
test: add tests for dataset list ( #31231 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com >
2026-01-20 13:07:00 +08:00
552f9a8989
refactor(skill): simplify file tree search state management
...
Move searchTerm from props drilling to zustand store for cleaner
architecture. Remove unnecessary controlled/uncontrolled pattern
and unused debounce logic since search is pure frontend filtering.
- Add fileTreeSearchTerm state to file-tree-slice
- Remove useState and props from main.tsx
- Simplify sidebar-search-add.tsx to read/write store directly
- Add empty state UI with reset filter button
2026-01-20 12:43:56 +08:00
a715c015e7
chore(web): remove redundant optimizePackageImports config ( #31257 )
2026-01-20 12:24:16 +08:00
4f5b175e55
fix: emoji icon validate error
2026-01-20 11:09:32 +08:00
45b8d033be
chore: init tsslint ( #31209 )
...
Co-authored-by: Johnson Chu <johnsoncodehk@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-20 11:08:50 +08:00
13d6923c11
Merge branch 'feat/llm-support-tools' into feat/support-agent-sandbox
2026-01-20 10:27:42 +08:00
1483a51aa1
Merge branch 'feat/pull-a-variable' into feat/support-agent-sandbox
2026-01-20 09:54:41 +08:00
cb51a449d3
fix: correct i18n for stepOne.uploader.tip ( #31177 )
2026-01-20 09:30:50 +08:00
f5a34e9ee8
feat(skill): skill support
2026-01-20 03:02:34 +08:00
d69e7eb12a
fix: Fix variable insertion to only remove @ trigger on current line
2026-01-20 01:32:42 +08:00
c44aaf1883
fix: Fix prompt editor trigger match to use current selection
2026-01-20 00:42:19 +08:00
4b91969d0f
refactor: Refactor keyboard navigation in agent and variable lists
2026-01-20 00:41:23 +08:00
92c54d3c9d
feat: merge app and meta defaults when creating workflow nodes
2026-01-19 23:56:15 +08:00
bc9ce23fdc
refactor(skill): rename components for semantic clarity
...
Rename components and reorganize directory structure:
- skill-doc-editor.tsx → file-content-panel.tsx (handles edit/preview/download)
- editor-area.tsx → content-area.tsx
- editor-body.tsx → content-body.tsx
- editor-tabs.tsx → file-tabs.tsx
- editor-tab-item.tsx → file-tab-item.tsx
Create viewer/ directory for non-editor components:
- Move media-file-preview.tsx from editor/ to viewer/
- Move unsupported-file-download.tsx from editor/ to viewer/
This clarifies the distinction between:
- editor/: actual file editors (code, markdown)
- viewer/: preview and download components (media, unsupported files)
2026-01-19 23:50:08 +08:00