Commit Graph

3805 Commits

Author SHA1 Message Date
9f7bea37e5 feat: add supports for "Open in Dify" from template details page in m… (#32852) 2026-03-03 13:09:12 +08:00
997d3ec80e chore: add create app loading 2026-03-03 10:06:56 +08:00
4f1e12ea04 fix: upload zip not show confirm 2026-03-02 18:47:36 +08:00
yyh
865321abb4 fix: use css icons 2026-02-27 17:39:55 +08:00
yyh
9ff9942af1 refactor(web): move sandbox tree builder to workflow artifacts utils 2026-02-27 17:16:03 +08:00
yyh
f70d89e80b refactor(web): remove useSandboxFilesTree and derive hasFiles in components
Migrate ArtifactsSection to queryOptions + useQuery composition and derive\nfile tree/hasFiles locally from flat data. Remove the now-unused\nuseSandboxFilesTree helper and update related tests to mock the new\nqueryOptions-based flow.
2026-02-27 12:42:40 +08:00
yyh
0bdd21bc17 refactor(web): replace query option tunneling with queryOptions factories
Extract sandboxFilesTreeOptions and buildTreeFromFlatList from
useSandboxFilesTree so callers that need custom TanStack Query behavior
(e.g. refetchInterval) can compose at the call site instead of tunneling
options through the hook. Remove the thin useGetSandboxProviderList
wrapper in favor of inline oRPC queryOptions in the component.

Also remove redundant .input(type<unknown>()) from three no-input GET
contracts—oc already defaults TInputSchema to Schema<unknown, unknown>.
2026-02-27 11:58:16 +08:00
yyh
60b02e6d2b refactor(web): destructure mutation result to narrow useCallback dependencies 2026-02-25 21:04:20 +08:00
yyh
d60a43164f refactor(web): use skipToken for optional query inputs 2026-02-25 00:56:38 +08:00
yyh
bad48e5deb refactor(web): replace query hooks with queryOptions factories (#32520) 2026-02-25 00:31:25 +08:00
yyh
f13f5a8882 fix(web): truncate long parent paths in skill file-tree search results 2026-02-24 23:50:28 +08:00
yyh
2e0661aa90 refactor(web): align MCP availability context migration
- move MCP availability context to block-selector/context and update imports

- preserve sandbox gating, parent-provider inheritance, and blockedBy semantics

- add context tests on top of refactor baseline cases

- regenerate and prune eslint suppressions
2026-02-23 22:46:31 +08:00
4b6f1861ef fix: view vars artifacts md not support scroll and loading not in the center 2026-02-14 11:00:52 +08:00
yyh
6415a0b799 refactor(web): remove sandbox provider literals from i18n 2026-02-13 19:04:51 +08:00
yyh
e730124740 Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
# Conflicts:
#	api/uv.lock
#	web/app/components/apps/__tests__/app-card.spec.tsx
#	web/app/components/apps/__tests__/list.spec.tsx
#	web/app/components/datasets/create/__tests__/index.spec.tsx
#	web/app/components/datasets/metadata/metadata-dataset/__tests__/dataset-metadata-drawer.spec.tsx
#	web/app/components/plugins/readme-panel/__tests__/index.spec.tsx
#	web/app/components/rag-pipeline/__tests__/index.spec.tsx
#	web/app/components/rag-pipeline/hooks/__tests__/index.spec.ts
#	web/eslint-suppressions.json
2026-02-13 15:17:52 +08:00
7ce3070301 fix: skill can not choose context 2026-02-13 14:37:22 +08:00
98466e2d29 test: add tests for some base components (#32265) 2026-02-13 14:29:04 +08:00
yyh
15dff1d59f refactor(web): use granular zustand selector for sandbox toggle 2026-02-13 14:20:32 +08:00
9e0f906fac feat: update tooltips for better clarity 2026-02-13 14:12:42 +08:00
yyh
6fd368da06 fix(prompt-editor): avoid assets tree fetch in non-sandbox picker 2026-02-13 13:52:08 +08:00
yyh
39804035f8 fix(workflow): use publish-specific success toasts for workflow and chatflow 2026-02-13 13:52:08 +08:00
a7ab84106e chore: blank add to template link 2026-02-13 13:48:49 +08:00
a4e03d6284 test: add integration tests for app card operations, list browsing, and create app flows (#32298)
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-02-13 13:21:09 +08:00
yyh
0893c8531d fix(workflow): lock chatflow start node from type change 2026-02-13 12:56:49 +08:00
yyh
086f6a2bb3 feat(web): unify node selector availability rules 2026-02-13 12:17:04 +08:00
e21c9cb4a6 chore: create from template add community 2026-02-13 11:56:08 +08:00
yyh
87d09b2e3d fix: use localized doc pathMap links for multilingual anchors 2026-02-13 11:30:36 +08:00
yyh
eac9cbdfb9 fix: sandbox provider icon sizing and alignment issues
Scale Docker SVG icon proportionally for small containers and fix E2B
PNG icon vertical offset by making its border wrapper a flex container.
2026-02-13 11:23:31 +08:00
84d090db33 test: add unit tests for base components-part-1 (#32154) 2026-02-13 11:14:14 +08:00
yyh
c0bba03b13 refactor: use options object in useDocLink calls 2026-02-13 10:37:38 +08:00
yyh
e45d4d8d90 refactor(web): replace remixicon components with css icons 2026-02-13 10:28:23 +08:00
b6d506828b test(web): add and enhance frontend automated tests across multiple modules (#32268)
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-02-13 10:27:48 +08:00
yyh
5e9f3eab8b feat: localize docs anchors and correct workflow node doc links 2026-02-13 10:24:44 +08:00
535436ea1d fix: Fix PromptEditor remount when readOnly prop changes 2026-02-12 19:10:10 +08:00
8fd3eeb760 fix: can not upload file in single run (#32276) 2026-02-12 17:23:01 +08:00
f233e2036f fix: metadata batch edit silently fails due to split transactions and swallowed exceptions (#32041) 2026-02-12 12:59:59 +08:00
3fd1eea4d7 feat(tests): add integration tests for explore app list, installed apps, and sidebar lifecycle flows (#32248)
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-02-12 10:29:03 +08:00
b65678bd4c test: add comprehensive unit and integration tests for RAG Pipeline components (#32237)
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-02-12 10:28:55 +08:00
50c8b699a8 chore: use console.warn instead of toast 2026-02-12 10:07:47 +08:00
bfdc39510b test: add unit and integration tests for share, develop, and goto-anything modules (#32246)
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-02-12 10:05:43 +08:00
80e6312807 test: add comprehensive unit and integration tests for billing components (#32227)
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-02-12 10:05:06 +08:00
d6b025e91e test(web): add comprehensive unit and integration tests for plugins and tools modules (#32220)
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-02-12 10:04:56 +08:00
10f85074e8 test: add comprehensive unit and integration tests for dataset module (#32187)
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 10:00:32 +08:00
f953331f91 test: add unit tests for some base components (#32201) 2026-02-12 09:51:18 +08:00
c02a96a916 feat: Exclude reasoning_format from LLM nodes when sandbox enabled 2026-02-11 21:16:58 +08:00
a71d13523d feat: Add Command and FileUpload workflow icons, fix SSH provider icon 2026-02-11 21:16:57 +08:00
17ba8af331 Revert "Merge branch 'zhsama/remove-reasoning-ui' into feat/support-agent-sandbox"
This reverts commit f6b0fda9f7, reversing
changes made to f359bbc5de.
2026-02-11 21:16:57 +08:00
2bf767d5f7 feat: add Creators Platform helper for DSL upload and OAuth redirect (Vibe Kanban) (#32232)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 21:10:48 +08:00
26ace0da95 Merge branch 'main' into feat/support-agent-sandbox 2026-02-11 17:50:35 +08:00
29d6d030f8 fix: llm node output variable 2026-02-11 16:37:27 +08:00