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
yyh
da6fdc963c
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-20 19:17:51 +08:00
yyh
54921844bb
fix(web): disable HTML escaping for form field validation messages ( #31292 )
2026-01-20 18:43:01 +08:00
yyh
4fa7843050
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-20 18:42:02 +08:00
yyh
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
yyh
0092254007
Revert "refactor(web): remove redundant useUnifiedDrag abstraction layer"
...
This reverts commit ee91c9d5f1 .
2026-01-20 18:09:25 +08:00
yyh
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
yyh
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
yyh
dc9658b003
perf(web): avoid per-node tree query subscription
2026-01-20 18:09:08 +08:00
yyh
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
zxhlyh
0e66b51ca0
fix: history messages toolcalls
2026-01-20 17:37:23 +08:00
hjlarry
f99ac24d5c
websocket use cookie connect
2026-01-20 17:01:40 +08:00
zhsama
2e037014c3
refactor: Replace manual ref syncing with useLatest hook
2026-01-20 17:00:47 +08:00
zhsama
dc8c018e28
refactor: Refactor agent context insertion to use regex
2026-01-20 16:48:05 +08:00
zhsama
57a8c453b9
fix: Fix variable insertion to only trigger on current line
2026-01-20 16:45:20 +08:00
zhsama
e5dc56c483
Merge remote-tracking branch 'origin/feat/support-agent-sandbox' into feat/support-agent-sandbox
2026-01-20 16:37:04 +08:00
zhsama
812df81d92
feat: Add paramKey prop to VariableReferenceFields component
2026-01-20 16:35:52 +08:00
yyh
cf5e8491df
chore: optimize code quality and performance
2026-01-20 15:54:31 +08:00
yyh
53f828f00e
feat: paste operation for skill file tree
2026-01-20 15:42:53 +08:00
yyh
357489d444
feat: multi select for file tree & clipboard support
2026-01-20 15:42:53 +08:00