zxhlyh
3af927556e
fix: workflow result generation render
2026-01-28 21:01:47 +08:00
yyh
f9f3d33911
fix(variable-inspect): anchor clear button to right side of tab header
...
Position the clear button relative to the right divider instead of
following the tab labels, ensuring consistent positioning across
different language translations. Also fix tab switching jitter by
setting a fixed header height.
2026-01-28 20:34:23 +08:00
yyh
acec271e88
fix(skill): resolve race condition in upload progress tracking
...
Use shared object reference instead of separate variables to track
upload progress across concurrent Promise.all operations, preventing
progress bar from showing incorrect or regressing values.
2026-01-28 20:25:12 +08:00
yyh
76c4d7f62c
feat(skill): add preprocessing for markdown files before upload
...
Introduce prepareSkillUploadFile utility that wraps markdown file content
in a JSON payload format before uploading. This ensures consistent handling
of skill files across file upload, folder upload, and drag-and-drop operations.
2026-01-28 20:17:21 +08:00
KVOJJJin
7f40f178ed
fix(app-log): fetching messages correctly when scrolling message list ( #31655 )
2026-01-28 19:57:15 +08:00
yyh
fb78a4450d
feat: implement node reordering functionality in file tree component
2026-01-28 19:38:41 +08:00
zhsama
636156f5da
fix: Fix workflow inspect vars to include parent nodes in subgraph mode
2026-01-28 18:24:04 +08:00
zhsama
7408405c91
feat: Add subgraph output validation for single-run debugging
2026-01-28 18:24:04 +08:00
yyh
135fc45ae9
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-28 17:50:58 +08:00
github-actions[bot]
e98c1adfbf
chore(i18n): sync translations with en-US ( #31630 )
...
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-01-28 17:49:10 +08:00
yyh
a7890c140e
fix: i18n in canvas/skill toggle
2026-01-28 17:22:04 +08:00
Joel
bd80cd217d
fix: no auth label text and default handle auth not back
2026-01-28 16:48:05 +08:00
Joel
ceea593010
feat: tool no auth node
2026-01-28 16:48:05 +08:00
yyh
3c7f641f60
fix(skill): remove non-functional copy menu item from file tree context menu
2026-01-28 16:34:57 +08:00
yyh
000bdf6bc0
style: uploading state for upload folder
2026-01-28 16:34:57 +08:00
hjlarry
4c77b5f5c5
feat: sync the markdown file dirty status
2026-01-28 16:29:17 +08:00
Joel
7cf54238c3
feat: handle provide label and action label
2026-01-28 16:14:57 +08:00
Joel
807697c664
chore: icon to fn
2026-01-28 16:01:22 +08:00
Joel
116e075b94
feat: tool icon map
2026-01-28 16:01:22 +08:00
yyh
a784121070
fix(skill): align upload tooltip with Figma design
...
Replace animated pulse background with static progress bar using
design tokens and increase upload icon to 24px.
2026-01-28 15:58:49 +08:00
yyh
543802cc65
feat(skill): add three-state upload progress tooltip
...
Replace simple uploading/success indicator with a full three-state
tooltip (uploading, success, partial_error) that overlays the DropTip
position. Add upload slice to skill editor store and wire progress
tracking into file/folder upload operations.
2026-01-28 15:52:08 +08:00
Joel
156b779a1d
chore: enchance ui
2026-01-28 15:43:03 +08:00
Joel
bdb923984f
chore: data reload problem
2026-01-28 15:43:03 +08:00
Joel
680b238a36
chore: only pass enable tool to draft
2026-01-28 15:43:02 +08:00
Joel
c88acf48bf
feat: add tools sync config
2026-01-28 15:43:01 +08:00
Joel
0ae02938e6
feat: fetch tools and set tools enabled from api
2026-01-28 15:43:01 +08:00
yyh
b7fc738cfb
fix(skill): indicator css
2026-01-28 15:12:11 +08:00
yyh
d07ba03a2a
test(web): add unit tests for storage utility
2026-01-28 15:12:11 +08:00
yyh
a0526143e2
feat(web): add resizable sidebar to skill page with localStorage persistence
2026-01-28 15:12:11 +08:00
yyh
20d19fead9
fix(web): align variable inspect tabs in empty state
...
- reserve left column width in empty layout to prevent tab shift
- keep close action aligned with split-panel header
2026-01-28 14:15:55 +08:00
yyh
27639600f9
feat(web): add FileDownload01 icon and use it in artifacts tab
...
Replace RiDownloadLine with a file-specific download icon for the
artifacts file list and remove the unused copy-path button.
2026-01-28 14:11:18 +08:00
yyh
0b6522df42
refactor(web): extract split layout for variable inspect
...
- add SplitPanel to share left/right shell and narrow menu handling
- reuse InspectHeaderProps for tab header + actions across tabs
- refactor variables/artifacts tabs to plug into shared split layout
- align right-side header/close behavior and consolidate empty/loading flows
2026-01-28 14:06:34 +08:00
yyh
ef6f7f2a6c
refactor: extract InspectLayout composition component to eliminate repeated header/close patterns
...
Consolidate duplicated TabHeader + close button layout (8 occurrences) into a single
InspectLayout wrapper. Replace boolean props with children slots for better composition.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 12:50:04 +08:00
yyh
a38b8987b4
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# api/core/app/apps/workflow/app_runner.py
2026-01-28 11:41:58 +08:00
zxhlyh
6fff46bc29
feat: summary index ( #31523 )
2026-01-28 11:09:34 +08:00
hjlarry
0d9de79fae
feat: skill markdown cursor pos sync
2026-01-28 11:03:21 +08:00
zhsama
c46856d5ac
feat: Validate LLM node context before running workflow
2026-01-27 23:54:42 +08:00
zhsama
ffca687f4e
fix: Add type safety for LLM node context variable_selector
2026-01-27 23:12:03 +08:00
Joel
fd078f8853
fix: computer tooptip ui
2026-01-27 20:20:29 +08:00
Joel
af543d2a7f
chore: tool ui
2026-01-27 20:20:29 +08:00
Joel
015befad43
feat: config reference tool ui
2026-01-27 20:20:29 +08:00
Coding On Star
11259617fa
test: add comprehensive tests for chat-user-input component ( #31595 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-01-27 20:02:49 +08:00
zhsama
5b485d7cd0
Merge branch 'zhsama/dar-es-salaam' into feat/support-agent-sandbox
...
# Conflicts:
# api/core/llm_generator/llm_generator.py
# api/core/llm_generator/output_models.py
# api/core/llm_generator/output_parser/structured_output.py
# api/tests/unit_tests/utils/structured_output_parser/test_structured_output_parser.py
2026-01-27 19:45:02 +08:00
zhsama
39ec2b3277
feat: Add file type support to LLM node JSON schema editor
2026-01-27 19:39:32 +08:00
zxhlyh
17807dbf18
fix: llm generation log
2026-01-27 17:13:40 +08:00
yyh
5d41f67fe1
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# api/core/workflow/graph_events/__init__.py
2026-01-27 16:22:02 +08:00
yyh
ab52550abe
feat(sandbox): use extension field for file icon type mapping
...
Enhance getFileIconType to accept an extension parameter and cover all
13 FileAppearanceTypeEnum types using an O(1) Map lookup. Update all
call sites to pass the API-provided extension for accurate icon display.
2026-01-27 16:21:03 +08:00
Coding On Star
b66bd5f5a8
feat: enhance quota panel with installed providers mapping ( #31546 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-01-27 15:43:37 +08:00
Coding On Star
c8abe1c306
test: add tests for dataset document detail ( #31274 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-01-27 15:43:27 +08:00
Joel
046aff93f6
fix: metadata not set in llm prompt
2026-01-27 15:35:16 +08:00
yyh
1beafd8558
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-27 15:17:40 +08:00
yyh
d098e72c13
feat(variable-inspect): add Artifacts tab with sandbox file tree browser
...
Refactor the variable inspect panel into a tabbed layout with Variables
and Artifacts tabs. Extract variable logic into VariablesTab, add new
ArtifactsTab with sandbox file tree selection and preview pane, and
improve accessibility across tree nodes and interactive elements.
2026-01-27 15:05:11 +08:00
Harry
64b6a5dd31
feat(sandbox-zip-service): using sandbox to zip files
...
- refactor allllllllll!!!!!!
2026-01-27 14:19:27 +08:00
hjlarry
a9e1394011
add skill markdown file collaboration
2026-01-27 14:08:44 +08:00
Stephen Zhou
febc9b930d
chore: update react and next version ( #31593 )
2026-01-27 14:06:09 +08:00
yyh
61608e0423
fix: remove fixed width on collaboration avatar tooltip to prevent username truncation
2026-01-27 13:48:48 +08:00
Joel
1ea7d2d9a1
chore: sandbox llm not show tools
2026-01-27 13:42:33 +08:00
zxhlyh
53bc060cea
fix: chat generation render
2026-01-27 13:37:08 +08:00
yyh
74f94633d7
fix(skill): tighten cached content typing
2026-01-27 13:09:23 +08:00
yyh
a6a1ac4fa6
fix(skill): prevent infinite save loop caused by unstable saveFile reference
...
Use useRef to store saveFile reference and remove it from useEffect
dependencies to prevent cleanup from re-triggering on reference changes.
Also normalize metadata before comparison when clearing dirty state to
ensure filtered tools match correctly.
2026-01-27 13:02:55 +08:00
lif
d13638f6e4
test: wrap test cleanup in act() to prevent window is not defined error ( #31558 )
...
Signed-off-by: majiayu000 <1835304752@qq.com>
2026-01-27 11:25:14 +08:00
Coding On Star
c58647d39c
refactor(web): extract MCP components and add comprehensive tests ( #31517 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-01-27 11:05:59 +08:00
hjlarry
c4e5eba6c3
switch to skills tab, keep ws connected and ensure has leader
2026-01-27 10:22:05 +08:00
zhsama
54fce5e903
feat: Add @agent icon and implement agent alias variables in workflow
...
inspector
2026-01-27 02:42:37 +08:00
yyh
772dbe620d
fix(workflow): disable view switch during preview run instead of mounted guard
...
Simpler approach: disable the view picker toggle when preview is running,
preventing users from switching views during active runs.
This replaces the previous mounted ref guard approach (commits a0188bd9b5 ,
b7f1eb9b7b , 8332f0de2b ) which added complexity to handle post-unmount
operations. Disabling the toggle is more direct and follows KISS principle.
Changes:
- Add disabled prop to ViewPicker based on isResponding state
- Revert mounted ref guards in use-chat-flow-control.ts
- Revert isMountedRef parameter in use-nodes/edges-interactions-without-sync.ts
- Revert defensive type check in markdown-utils.ts (no longer needed)
2026-01-27 01:31:22 +08:00
yyh
8332f0de2b
fix(workflow): reinitialize mounted ref on effect setup for StrictMode
...
In React StrictMode (dev mode), effects are run twice to help detect
side effects. The cleanup-only pattern left isMountedRef as false after
StrictMode's simulated unmount-remount cycle, causing stop/cancel
operations to be skipped even when the component was mounted.
Now the effect setup explicitly sets isMountedRef.current = true,
ensuring correct behavior in both development and production.
2026-01-27 01:23:08 +08:00
yyh
b7f1eb9b7b
fix(markdown)!: return empty string for non-string content in preprocessors
...
Related to a9c5201485 - when switching views during active preview run,
the markdown preprocessors could receive non-string content (e.g., frozen
arrays from immer). Returning the original value caused ReactMarkdown to
fail with "Cannot assign to read only property" error.
Now both preprocessLaTeX and preprocessThinkTag return '' for non-string
input, preventing runtime errors during view switches.
2026-01-27 01:10:00 +08:00
yyh
a0188bd9b5
fix(workflow)!: add mounted guard to prevent ReactFlow operations after unmount
...
When switching from graph view to skill view during an active preview run,
SSE callbacks continue executing and attempt to update ReactFlow node/edge
states. This could cause errors since the component is unmounted.
Add optional `isMountedRef` parameter to `useNodesInteractionsWithoutSync`
and `useEdgesInteractionsWithoutSync` hooks. When provided, operations are
skipped if the component has unmounted, preventing potential errors while
allowing the SSE connection to continue running in the background.
BREAKING CHANGE: `useNodesInteractionsWithoutSync` and
`useEdgesInteractionsWithoutSync` now accept an optional `isMountedRef`
parameter. Existing callers are unaffected as the parameter is optional.
2026-01-27 00:43:58 +08:00
wangxiaolei
e48419937b
feat: chatflow support multimodal ( #31293 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-27 00:24:48 +08:00
yyh
bf12445960
fix(workflow): make FileTree and ArtifactsSection scroll independently
...
The sidebar layout was broken when ArtifactsSection expanded - it would
squeeze the FileTree and neither area could scroll. This restructures the
layout so each section has its own scroll container with proper height
constraints.
2026-01-27 00:14:33 +08:00
yyh
a9c5201485
refactor(workflow)!: persist the debug state of the chatflow preview panel to the zustand store and split useChat hook into modular files
2026-01-26 23:21:44 +08:00
yyh
87d033e186
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-26 23:12:44 +08:00
yyh
f561656a89
chore: follow-up fixes for storybook vite migration ( #31545 )
2026-01-26 20:20:14 +08:00
Joel
55120ea9f7
chore: prompt change also clear useless tool id
2026-01-26 18:29:38 +08:00
Joel
b99311baa0
chore: remove useless toolid
2026-01-26 18:09:46 +08:00
zhsama
ec5964c419
feat: Add support for array[message](List[promptMessage]) variable type
...
in workflow
2026-01-26 17:50:18 +08:00
yyh
5ac70633a2
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# web/pnpm-lock.yaml
2026-01-26 17:09:36 +08:00
Stephen Zhou
47d0e400ae
chore: update to story book nextjs-vite ( #31536 )
2026-01-26 17:07:20 +08:00
Joel
c9edd71395
Merge branch 'feat/support-agent-sandbox' of https://github.com/langgenius/dify into feat/support-agent-sandbox
2026-01-26 16:59:31 +08:00
Joel
2e954388f5
merge
2026-01-26 16:57:45 +08:00
yyh
2c02c8ac18
fix(sandbox): fetch artifacts on mount for blue dot indicator
...
Remove enabled condition so data is fetched when component mounts,
allowing blue dot to show when files exist even before expanding.
TanStack Query handles request deduplication automatically.
2026-01-26 16:53:16 +08:00
zhsama
5cdd69e7e0
refactor: Refactor context generation to use available vars
2026-01-26 16:50:44 +08:00
yyh
e5e43bc2b9
fix(sandbox): fix guide line offset and use spinner for loading
...
- Adjust TreeGuideLines lineOffset to 2 to center lines under folder icons
- Replace skeleton loading with spinner in header area
2026-01-26 16:37:51 +08:00
yyh
70d88bc522
refactor(sandbox): align artifacts tree with file tree styles
...
Reuse TreeGuideLines for indent lines, use FileTypeIcon for file icons,
and match folder open/close icons with the main file tree component.
2026-01-26 16:19:28 +08:00
yyh
765b548be4
fix(a11y): improve accessibility for artifacts tree
...
Add aria-label, aria-expanded attributes and focus-visible styles
for folder buttons. Hide loading skeleton from assistive tech.
2026-01-26 16:01:22 +08:00
Joel
830c286062
feat: support credical
2026-01-26 15:55:24 +08:00
Joel
f90f3287d8
fix: provider and tool auth click not show
2026-01-26 15:55:23 +08:00
wangxiaolei
8724ba04aa
fix: fix Cannot read properties of null (reading 'credential_form_sch… ( #31117 )
2026-01-26 15:52:53 +08:00
yyh
d396d92059
feat(sandbox): implement artifacts section UI
...
- Replace placeholder with functional ArtifactsSection component
- Add ArtifactsTree component for file tree rendering
- Support expand/collapse with lazy loading
- Show blue dot indicator when collapsed with files
- Add empty state card with hint text
- Add download button on file hover
- Add i18n translations (en-US, zh-Hans)
2026-01-26 15:43:06 +08:00
yyh
166b4a5a2b
feat(sandbox): add sandbox file API service layer
...
- Add types for sandbox file API (SandboxFileNode, SandboxFileDownloadTicket)
- Add oRPC contracts for listFiles and downloadFile endpoints
- Add TanStack Query hooks (useGetSandboxFiles, useDownloadSandboxFile)
- Add useSandboxFilesTree hook with flat-to-tree conversion
2026-01-26 15:40:27 +08:00
Stephen Zhou
6fd001c660
chore: eslint prune-suppressions ( #31526 )
2026-01-26 15:31:19 +08:00
coopercoder
e8e386a6b9
fix: Add vertical scrolling support for floating elements. ( #30897 )
...
Co-authored-by: zhaiguangpeng <zhaiguangpeng@didiglobal.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-26 15:17:42 +08:00
Joel
694ed4f5e3
chore: small ui
2026-01-26 15:06:33 +08:00
yyh
e39711f9ea
perf: remove unnecessary tree cache invalidation on file save
...
The tree invalidation was causing redundant network requests since the
file content cache is already managed via setQueryData in the save manager.
2026-01-26 15:02:42 +08:00
Joel
154018fe31
chore: fix tool ui
2026-01-26 14:52:56 +08:00
yyh
dad8e408b0
fix(web): upgrade tanstack devtools to fix seroval RCE vulnerability ( #31515 )
2026-01-26 14:49:58 +08:00
Joel
010cbd0a73
chore: remove useless meata config when save file
2026-01-26 14:28:35 +08:00
Coding On Star
d941201a3e
refactor(tool-selector): remove unused components and consolidate import ( #31018 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2026-01-26 14:24:00 +08:00
Novice
87bcd70f59
feat: add tool call based structured output
2026-01-26 14:17:57 +08:00
Joel
453844b9e8
chore: editor config in new slide
2026-01-26 14:07:35 +08:00
Coding On Star
dd988d42c2
feat: enhance quota panel to support additional model providers and integrate trial models feature ( #31443 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2026-01-26 14:04:12 +08:00
Coding On Star
a43d2ec4f0
refactor: restructure Completed component ( #31435 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2026-01-26 14:03:51 +08:00
yyh
677775079f
fix: use IS_CLOUD_EDITION for 'Managed by SaaS' tag visibility
...
Change from !IS_CE_EDITION to IS_CLOUD_EDITION to ensure the tag only
shows in cloud edition, not in enterprise or other self-hosted variants.
2026-01-26 11:42:55 +08:00
Joel
3f4d6b9452
fix: click readme hide config
2026-01-26 11:40:28 +08:00
yyh
4f75d7f8e2
fix: hide 'Managed by SaaS' tag in CE edition for sandbox providers
...
The tag should only display in SaaS version since CE edition also has
system config from migrations but the label is misleading for self-hosted.
2026-01-26 11:33:40 +08:00
Joel
902468e3e0
chore: tool picker height
2026-01-26 11:30:48 +08:00
Joel
c75afdb321
chore: no auth no choose show tools
2026-01-26 11:30:48 +08:00
yyh
83c3c23c27
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-26 11:18:41 +08:00
Joel
3bde614bd3
feat: enabel tool num
2026-01-26 11:00:29 +08:00
Joel
9a68243fcc
feat: show provider config
2026-01-26 10:44:09 +08:00
dependabot[bot]
b4e2af96e2
chore(deps): bump @lexical/utils from 0.38.2 to 0.39.0 in /web ( #31503 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-26 10:17:04 +08:00
yyh
a471caf787
test(skill-editor): add keyboard shortcut tests for SkillSaveProvider
...
Cover Ctrl+S and Cmd+S save triggers, guard clauses for start tab and
null active tab, success/error toast notifications, and fallback
registry integration.
2026-01-25 21:21:35 +08:00
yyh
cdcd9fd1a2
refactor(skill-editor): lift Ctrl+S handler to Provider and remove redundant hook
...
Move global keyboard shortcut handling from component-level hook to
SkillSaveProvider, eliminating duplicate event listener registrations
and race conditions. Delete use-skill-file-save hook as its logic is
now consolidated in the provider with direct store access.
2026-01-25 21:17:25 +08:00
yyh
84d032c104
fix: test
2026-01-25 19:54:09 +08:00
yyh
b305abdc8f
fix(skill-editor): align autosave fallbacks
...
- use cleanup-based save on tab switch with stable fallback snapshots
- add fallback registry for metadata-only autosave consistency
- add autosave/save-manager tests
2026-01-25 19:51:56 +08:00
yyh
e1e7b7e88a
refactor(skill): extract save logic into SkillSaveProvider with auto-save support
...
Centralize file save operations using Context/Provider pattern for better
maintainability. Add auto-save on tab switch, visibility change, page unload,
and component unmount.
2026-01-25 19:09:33 +08:00
zhsama
8754b321df
fix: Add sandbox feature to workflow features mapping
2026-01-25 16:30:50 +08:00
hjlarry
22287e16e2
fix header
2026-01-25 00:16:30 +08:00
hjlarry
4c596aaac2
Merge branch 'feat/collaboration2' into feat/support-agent-sandbox
2026-01-25 00:00:03 +08:00
hjlarry
2a372df33c
fix web unittest
2026-01-24 19:49:20 +08:00
hjlarry
b192c6e658
fix package version
2026-01-24 15:26:59 +08:00
hjlarry
edb4457684
Merge remote-tracking branch 'myori/main' into feat/collaboration2
2026-01-24 15:22:07 +08:00
hjlarry
bb6d6a4f96
improve compute nodes diff speed
2026-01-24 15:04:51 +08:00
yyh
98a050e664
chore: support folder upload in root file tree
2026-01-23 21:17:49 +08:00
yyh
d39708b3f6
fix(csp): add wasm-unsafe-eval to enable WebAssembly execution
...
SQLite preview feature requires WebAssembly to run wa-sqlite, but CSP
policy was blocking WebAssembly.instantiate() without wasm-unsafe-eval
directive in script-src.
2026-01-23 17:38:38 +08:00
Joel
6551814396
feat: add all can bundle to provider
2026-01-23 17:17:28 +08:00
yyh
88887ea58e
feat(icons): add custom FileImageFill icon for image file type
...
Replace RiFileImageFill with a custom FileImageFill icon to provide
a more distinctive visual representation for image files in the file tree.
2026-01-23 17:09:40 +08:00
yyh
dcd79df9fb
fix: upload folder support parent_id
2026-01-23 17:09:39 +08:00
Joel
b5d843b1fd
feat: combine 2 export
2026-01-23 15:50:33 +08:00
yyh
c4714d757d
style(file-tree): node menu item
2026-01-23 15:49:11 +08:00
yyh
5ac6dc62e7
fix(app-asset): refresh tree on upload failure to show orphaned nodes
...
Change onSuccess to onSettled for upload mutations so the file tree
refreshes regardless of success or failure, ensuring consistency when
backend creates nodes but storage upload fails.
2026-01-23 15:26:28 +08:00
Joel
788deffa2b
feat: support import zip
2026-01-23 15:23:14 +08:00
yyh
f8438704a6
refactor(app-asset): migrate file upload to presigned URL and batch upload
...
- Replace FormData file upload with presigned URL two-step upload
- Add batch-upload contract for folder uploads (reduces N+M to 1+M requests)
- Remove deprecated createFile contract and useCreateAppAssetFile hook
- Remove checksum field from AppAssetNode and AppAssetTreeView types
- Add upload-to-presigned-url utility for direct storage uploads
2026-01-23 15:11:04 +08:00
yyh
a91d709aa5
feat(skill-editor): add CategoryTabs and TemplateSearch to skill templates section
...
Add filter controls for skill templates:
- CategoryTabs: tab navigation with mock categories (All, Productivity, etc.)
- TemplateSearch: search input with accessibility attributes
- Grid layout fix to prevent tab width changes on font-weight switch
Update SectionHeader to accept className prop for flexible styling.
Add search placeholder i18n translations.
2026-01-23 14:39:53 +08:00
yyh
4d465d6cf9
feat(skill-editor): implement StartTabContent with modular component structure
...
Refactor StartTabContent into separate components following Figma design specs:
- ActionCard: reusable card with icon, title, description
- SectionHeader: title/xl-semi-bold header with description
- CreateImportSection: 3-column grid layout for Create/Import cards
- SkillTemplatesSection: templates area with placeholder
Align styles with Figma: 3-col grid, 16px title, proper spacing and padding.
Add i18n translations for all user-facing text (en-US, zh-Hans).
2026-01-23 14:39:53 +08:00
yyh
083f45678d
prune suppressions
2026-01-23 14:39:53 +08:00
Joel
a522327662
chore: i18n
2026-01-23 14:33:17 +08:00
hjlarry
486a30402b
remove forceUpload
2026-01-23 14:33:15 +08:00
Joel
64c4f7302d
chore: import app ui
2026-01-23 14:24:23 +08:00
hjlarry
e105dc6289
new restore
2026-01-23 14:22:58 +08:00
yyh
aa3cc9b9a0
fix(skill-editor): add START_TAB_ID guards to prevent invalid metadata operations
...
- Add guards in tool-block component to skip metadata read/write when Start tab is active
- Add guard in tool-picker-block to prevent writing tool config to Start tab
- Add guard in use-sync-tree-with-active-tab to skip tree sync for Start tab
2026-01-23 13:15:39 +08:00
yyh
98d1aac765
feat(skill-editor): add persistent Start tab and optimize store subscriptions
...
- Add START_TAB_ID constant and StartTabItem/StartTabContent components
- Default to Start tab when no file tabs are open
- Optimize zustand selectors to subscribe to specific Map values instead of
entire Map objects, reducing unnecessary re-renders when other tabs change
- Refactor useSkillFileSave to accept precise values instead of Map/Set
2026-01-23 13:12:22 +08:00
yyh
693a9c5b95
rm i18n .ts file
2026-01-23 12:42:42 +08:00
yyh
c52755e747
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-23 11:36:16 +08:00
Stephen Zhou
f911199c8e
chore: disable serwist in dev ( #31424 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-23 11:35:14 +08:00
Joel
61fa20d6a9
fix: search text bink
2026-01-23 11:05:22 +08:00
Joel
85cf995011
fix: search click blur
2026-01-23 10:59:12 +08:00
盐粒 Yanli
c8ae6e39d2
fix: NextStep crash when target node is missing ( #31416 )
2026-01-23 10:15:20 +08:00
zhsama
4707a319e5
refactor: use bivariance to normalize node metadata types
2026-01-23 06:57:00 +08:00
zhsama
ef8d0f497d
feat: Merge parent workflow nodes into subgraph variable scope.And some
...
performance improve.
2026-01-23 06:56:59 +08:00
zhsama
e22996735f
fix: Prevent workflow data updates in subgraph interaction mode
2026-01-23 06:56:59 +08:00
zhsama
5e78aaaec3
perf: Update context generate modal UI styling
2026-01-23 06:56:59 +08:00
Harry
71f811930f
feat(web): add app bundle import/export UI support
2026-01-23 01:09:05 +08:00
yyh
2f01107b09
feat(sqlite-preview): add truncation notice when row limit is reached
...
Display a notice at the bottom of SQLite table preview when data
is truncated due to PREVIEW_ROW_LIMIT (1000 rows), informing users
that additional rows are not displayed.
2026-01-22 23:49:06 +08:00
yyh
b87e303c00
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# web/eslint-suppressions.json
# web/service/debug.ts
2026-01-22 22:40:32 +08:00
github-actions[bot]
356a156f36
chore(i18n): sync translations with en-US ( #31413 )
...
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-01-22 20:56:19 +08:00
lif
e2d7fe9c72
fix(web): use Array.from() for FileList to fix tsc type errors ( #31398 )
2026-01-22 19:51:24 +08:00
zhsama
87f35efa2f
chore: Update pnpm to 10.28.1
2026-01-22 19:07:24 +08:00
zhsama
73ce9993f2
refactor: Replace SimpleSelect with PortalToFollowElem in sub-graph
...
config panel
2026-01-22 18:57:04 +08:00
Joel
b9f718005c
feat: frontend part of support try apps ( #31287 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-01-22 18:16:37 +08:00
yyh
ecd6c44a32
perf(web): parallelize folder upload for better performance
...
Optimize folder upload by creating folders at the same depth level in
parallel and uploading all files concurrently. This reduces upload time
from O(n) sequential requests to O(depth) folder requests + 1 file request.
2026-01-22 17:06:22 +08:00
Joel
43648b1660
feat: tool config
2026-01-22 17:00:59 +08:00
yyh
9733621301
fix(web): align table selector dropdown style with design
...
- Update font from system-xs-regular to system-sm-medium
- Add table icon to dropdown items
- Adjust spacing and border radius to match Figma design
2026-01-22 16:46:32 +08:00
yyh
d09d8d34c2
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# api/controllers/console/app/error.py
2026-01-22 16:40:19 +08:00
yyh
6325a3458f
chore: cap sqlite preview rows
2026-01-22 16:37:33 +08:00
lif
510a02286f
fix(web): disable single tilde strikethrough in markdown rendering ( #31400 )
...
Signed-off-by: majiayu000 <1835304752@qq.com>
2026-01-22 16:33:17 +08:00
yyh
808510746e
fix: show columns for empty sqlite tables
2026-01-22 16:25:43 +08:00
yyh
da738dddab
refactor: extract sqlite table hook
2026-01-22 16:19:35 +08:00
yyh
aa1ee123b3
refactor: extract sqlite table panel
2026-01-22 16:18:15 +08:00
yyh
e69163d072
refactor: extract sqlite constants
2026-01-22 16:15:58 +08:00
yyh
b6228c99cd
refactor: extract sqlite types
2026-01-22 16:15:19 +08:00
yyh
6c75893956
feat: use virtual scroll for db preview
2026-01-22 16:13:10 +08:00
Stephen Zhou
878e34c582
fix: more doc link fix ( #31395 )
...
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2026-01-22 16:13:10 +08:00
Stephen Zhou
f7f4d066dc
fix: following docs link fix ( #31390 )
...
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2026-01-22 16:13:10 +08:00
wangxiaolei
397d6decc0
fix: fix visibilityState event handle ( #31354 )
2026-01-22 16:13:10 +08:00
Stephen Zhou
512c117395
test: enhance HitTestingPage tests with additional coverage for rende… ( #31355 )
2026-01-22 16:13:10 +08:00
Stephen Zhou
03f53f2282
chore: revert jsdom update ( #31353 )
2026-01-22 16:13:10 +08:00
Shemol
b2071a4352
refactor(web): useClipboard hook to reduce duplication ( #31308 )
...
Signed-off-by: SherlockShemol <shemol@163.com>
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
2026-01-22 16:13:10 +08:00
Stephen Zhou
463060ce52
test: fix test in #30849 ( #31350 )
2026-01-22 16:13:09 +08:00
github-actions[bot]
dc55591a5e
chore(i18n): sync translations with en-US ( #31342 )
...
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-01-22 16:13:09 +08:00
Stephen Zhou
3de33f7a4e
fix: check and update doc links ( #30849 )
...
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2026-01-22 16:13:09 +08:00
github-actions[bot]
deeadb7f8e
chore(i18n): sync translations with en-US ( #31332 )
...
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-01-22 16:13:09 +08:00
Coding On Star
29deee8161
fix(i18n): update model provider tip to only mention OpenAI in English, Japanese, and Simplified Chinese translations ( #31339 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2026-01-22 16:13:09 +08:00
Bowen Liang
c46b12b234
chore(web): refactor next.config.js to next.config.ts ( #31331 )
2026-01-22 16:13:09 +08:00
yyh
ff07ca97df
fix: prevent horizontal page scroll in skill editor layout
...
Add overflow-hidden to SkillPageLayout and min-w-0 to flex children
to ensure wide content (like SQLite tables with many columns) scrolls
internally rather than causing the entire page to scroll horizontally.
2026-01-22 16:13:09 +08:00
yyh
ed60a375b5
fix: improve sqlite file preview layout and single table handling
...
- Add min-w-0 to flex containers for proper text truncation
- Use w-max on table to ensure columns don't collapse
- Simplify table selector when only one table exists (remove dropdown)
2026-01-22 16:13:09 +08:00
yyh
11005ccb63
feat: add sqlite file preview
2026-01-22 16:13:09 +08:00
yyh
4a88ffdf2a
feat: align workflow view picker layout
2026-01-22 16:13:09 +08:00
yyh
84b4fed3df
chore: add table cells icon to db selector
2026-01-22 16:13:09 +08:00
yyh
3dcb34e462
Revert "fix workflow view switch refresh"
...
This reverts commit 1341b25e74f8d529e434877afc426ad02abe4e6b.
2026-01-22 16:13:09 +08:00
yyh
b7da988ee0
chore: add wa-sqlite dependencies
2026-01-22 16:13:09 +08:00
yyh
7ec0a36dc2
prune suppressions
2026-01-22 16:13:09 +08:00
yyh
bddb41cd47
feat: add db types in file tree icon
2026-01-22 16:13:09 +08:00
yyh
ee35f72861
fix workflow view switch refresh
2026-01-22 16:13:09 +08:00
yyh
62ec464d91
fix(graph/skill): use push to persist history in browser
2026-01-22 16:13:08 +08:00
Joel
2c95622890
chore: choose tools show
2026-01-22 15:47:28 +08:00
Joel
219f4a2f3b
chore: hide featured tools
2026-01-22 15:30:16 +08:00
Stephen Zhou
136618b567
fix: more doc link fix ( #31395 )
...
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2026-01-22 15:18:42 +08:00
Stephen Zhou
036f6ef5ab
fix: following docs link fix ( #31390 )
...
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2026-01-22 15:02:37 +08:00
Novice
5cb8d4cc11
refactor: rename mention node to nested_node for generic sub-graph support
2026-01-22 13:15:13 +08:00
wangxiaolei
4e7c1f4f44
fix: fix visibilityState event handle ( #31354 )
2026-01-22 11:13:14 +08:00
zhsama
c7d106cfa4
refactor: Refactor context generation modal into composable components
2026-01-22 01:34:44 +08:00
zhsama
c4249f94de
feat: Add suggested questions to context generate modal
2026-01-21 20:49:12 +08:00
Stephen Zhou
524ce14a68
test: enhance HitTestingPage tests with additional coverage for rende… ( #31355 )
2026-01-21 19:07:20 +08:00
Stephen Zhou
1813b65acb
chore: revert jsdom update ( #31353 )
2026-01-21 18:30:04 +08:00
hjlarry
1b70a7e4c7
use contract for api request
2026-01-21 18:20:38 +08:00
zhsama
d7ccea8ac5
refactor: Refactor mixed-variable-text-input to extract hooks
2026-01-21 17:55:41 +08:00
Shemol
1d778d532a
refactor(web): useClipboard hook to reduce duplication ( #31308 )
...
Signed-off-by: SherlockShemol <shemol@163.com>
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
2026-01-21 17:33:39 +08:00
Joel
1fcff5f8d1
fix: click files close
2026-01-21 17:15:43 +08:00
Joel
78c7be09f8
chore: not show switch graph skill map in classical
2026-01-21 17:15:42 +08:00
yyh
a37adddacd
Merge branches 'feat/support-agent-sandbox' and 'feat/support-agent-sandbox' of https://github.com/langgenius/dify into feat/support-agent-sandbox
2026-01-21 16:55:13 +08:00
Joel
ccbf908d22
feat: support computer use config
2026-01-21 16:53:04 +08:00
yyh
d444a8eadc
feat: use blacklist approach for file editability in Monaco Editor
...
Switch from whitelist to blacklist pattern for determining editable files.
Files are now editable unless they are known binary types (audio, archives,
executables, Office documents, fonts, etc.), enabling support for any
runtime-generated text files without needing to add extensions one by one.
2026-01-21 16:53:01 +08:00
Stephen Zhou
aa68966b55
test: fix test in #30849 ( #31350 )
2026-01-21 16:46:42 +08:00
github-actions[bot]
117b6c65e4
chore(i18n): sync translations with en-US ( #31342 )
...
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-01-21 16:35:12 +08:00
Stephen Zhou
061feebd87
fix: check and update doc links ( #30849 )
...
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2026-01-21 16:31:48 +08:00
github-actions[bot]
146ee4d3e9
chore(i18n): sync translations with en-US ( #31332 )
...
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-01-21 16:15:58 +08:00
Coding On Star
ed0e068a47
fix(i18n): update model provider tip to only mention OpenAI in English, Japanese, and Simplified Chinese translations ( #31339 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2026-01-21 15:47:49 +08:00
yyh
1c90c729bc
feat: add ignore files support in monaco editor
2026-01-21 15:18:56 +08:00
yyh
45a76fa90b
fix: improve accessibility for file-tree components
...
- Convert clickable div to semantic button in artifacts-section
- Add aria-hidden to decorative icons
- Add aria-label to rename inputs and hidden file inputs
- Add i18n keys for artifacts section and rename labels
- Support ignore file extensions (.gitignore, etc.)
2026-01-21 15:13:50 +08:00
Bowen Liang
d4f5a113ed
chore(web): refactor next.config.js to next.config.ts ( #31331 )
2026-01-21 15:07:32 +08:00
Joel
911c1852d5
feat: support choose tools
2026-01-21 15:05:58 +08:00
zxhlyh
e85b0c49d8
fix: llm generation variable
2026-01-21 14:57:54 +08:00
yyh
b0a059250a
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-21 14:52:11 +08:00
Joel
b94b7860d9
chore: remove useless void
2026-01-21 14:07:19 +08:00
Joel
478833f069
fix: switch refresh
2026-01-21 14:06:07 +08:00
Coding On Star
76a0249eaf
feat: enhance ProgressBar and UsageInfo for storage mode ( #31273 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2026-01-21 14:04:33 +08:00
Joel
5657bf52f0
fix: can not save when switch to skill
2026-01-21 13:56:18 +08:00
yyh
c3333006cf
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-21 13:52:47 +08:00
Stephen Zhou
2512227868
chore: update dev config ( #31329 )
2026-01-21 13:49:16 +08:00
yyh
c2885077c2
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-21 13:21:39 +08:00
Bowen Liang
071bbc6d74
build: bump NextJS from to 16 with turbopack enable for web production build boost ( #27014 )
...
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
2026-01-21 12:53:29 +08:00
Stephen Zhou
db4fb06c5f
chore: lint custom tag in i18n ( #31301 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2026-01-21 12:21:30 +08:00
Coding On Star
a8764694ed
test: enhance HitTestingPage tests with additional coverage for rendering and state updates ( #31321 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2026-01-21 11:35:29 +08:00
yyh
8e20ef6cb5
merge
2026-01-21 10:53:11 +08:00
yyh
468d84faba
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# web/app/components/header/account-setting/model-provider-page/model-selector/popup-item.tsx
# web/package.json
2026-01-21 10:52:43 +08:00
Coding On Star
95f92e07e4
chore(web): comment out unused provider entries in quota panel ( #31315 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2026-01-21 10:26:14 +08:00
Joel
cf6c089e72
chore: add skill true for sandbox agent llm
2026-01-21 10:15:00 +08:00
zhsama
2f70f778c9
feat: Refactor context generate modal UI and improve UX
2026-01-21 04:18:57 +08:00
zhsama
9400863949
feat: add mention graph API integration for tool parameters
2026-01-21 04:18:57 +08:00
dependabot[bot]
c413de4b27
chore(deps-dev): bump jsdom from 27.3.0 to 27.4.0 in /web ( #31186 )
2026-01-21 01:23:28 +08:00
byteforge
8056768106
fix: enforce no-leaked-conditional-rendering as error and fix violations ( #31262 )
...
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
2026-01-20 23:08:59 +08:00
github-actions[bot]
8f949d503a
chore(i18n): sync translations with en-US ( #31298 )
...
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-01-20 21:40:43 +08:00
dependabot[bot]
c9519d2f0e
chore(deps): bump js-yaml from 4.1.0 to 4.1.1 in /web ( #31297 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-20 21:27:15 +08:00
Copilot
92fc50ac57
chore(web): remove version prefixes from package.json ( #31286 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: hyoban <38493346+hyoban@users.noreply.github.com>
2026-01-20 21:14:50 +08:00
Stephen Zhou
3bb80a0934
chore: lint for i18n place holder ( #31283 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2026-01-20 21:14:20 +08:00
hjlarry
eaf888b02a
env var NEXT_PUBLIC_SOCKET_URL
2026-01-20 20:34:56 +08:00
zhsama
58da9c3c11
refactor: Refactor context generation modal and improve type safety
...
# Conflicts:
# web/i18n/en-US/workflow.json
# web/i18n/zh-Hans/workflow.json
2026-01-20 20:25:09 +08:00
zhsama
68d36ff3ed
refactor: Refactor agent context insertion in prompt editor
2026-01-20 20:25:09 +08:00
zhsama
0ed5ed20b5
feat(workflow): add multi-turn context code generator modal
2026-01-20 20:25:09 +08:00