Commit Graph

5107 Commits

Author SHA1 Message Date
yyh
8843a62b4e fix(web): force render sandbox provider dialog backdrops
Some checks failed
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Has been cancelled
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Has been cancelled
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Has been cancelled
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Has been cancelled
2026-03-31 13:54:28 +08:00
yyh
b5996085e1 fix: unify skill file upload status handling 2026-03-31 13:38:11 +08:00
CodingOnStar
6c0123c5d2 refactor(overview): update imports and enhance chart and card views with new types and tests
- Changed import paths for app card and chart types to use the new app-chart-types module.
- Refactored state initialization in ChartView for improved readability.
- Added unit tests for CardView, ChartView, and LongTimeRangePicker components to ensure functionality and reliability.
- Introduced new test cases for time range picker and tracing components to enhance test coverage.
2026-03-31 13:24:54 +08:00
CodingOnStar
d99ca80f48 feat(log): implement list detail panel and conversation drawer with associated tests
- Added  component for displaying detailed log information.
- Introduced  hook to manage conversation state and interactions.
- Created unit tests for the new components and hooks to ensure functionality and reliability.
- Updated utility functions for better handling of conversation logs and chat items.
2026-03-31 10:22:06 +08:00
Joel
11895d07c1 chore: upload file and auto insert 2026-03-30 16:55:11 +08:00
yyh
09b3e53c43 fix: support dropping file tree nodes to root blank area
Some checks failed
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Has been cancelled
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Has been cancelled
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Has been cancelled
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Has been cancelled
2026-03-30 16:35:55 +08:00
twwu
9ae94b3217 fix(skill-editor): fix blur effects of tool-picker and file-picker 2026-03-30 16:03:31 +08:00
twwu
5e4481453e Merge branch 'feat/support-agent-sandbox' of https://github.com/langgenius/dify into feat/support-agent-sandbox 2026-03-30 15:57:32 +08:00
Wu Tianwei
7f2705591e fix(prompt-editor): fix unexpected blur effect in prompt editor (#34069)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-30 15:57:14 +08:00
CodingOnStar
e652abbfc7 refactor(app-info): remove unused app-info component and add tests for app-info actions and dropdown menu 2026-03-30 15:56:08 +08:00
CodingOnStar
7046fd6728 test: enhance download operation tests to cover text and binary file handling scenarios 2026-03-30 15:06:31 +08:00
CodingOnStar
ce2403e0db test: add unit tests for app store and configuration components, enhancing coverage for state management and UI interactions 2026-03-30 14:42:17 +08:00
CodingOnStar
bfce8c5b2c test: add unit tests for configuration components including instruction editor, prompt toast, and variable management 2026-03-30 11:24:43 +08:00
CodingOnStar
d331915340 refactor(app-publisher): streamline app publisher component and introduce custom hook for improved state management 2026-03-30 10:45:48 +08:00
Joel
4bb364411c fix: user editor can also choose file 2026-03-30 10:39:34 +08:00
hjlarry
e6e9b7ae94 fix(skill): fallback to direct save for collaboration followers on sync failure or timeout 2026-03-27 17:30:21 +08:00
hjlarry
4e397a97a5 chore: try to track why nodes missing 2026-03-27 17:09:18 +08:00
Joel
ee093a21c8 fix: click file missing 2026-03-27 16:05:53 +08:00
hjlarry
976fa30664 chore: try to track why node missing 2026-03-27 16:00:52 +08:00
yyh
018b213ae1 fix(web): restore skill tab unsaved close dialog styling 2026-03-27 15:51:30 +08:00
yyh
327bbfa96a refactor: use Base UI popover anchor for skill file picker 2026-03-27 15:29:28 +08:00
Joel
4c44fd7ca8 feat: add sandbox corner mark 2026-03-27 15:16:29 +08:00
Joel
43b1042285 chore: portoal to follow to popover 2026-03-27 15:16:28 +08:00
CodingOnStar
1907ea6ef9 refactor(web): split app publisher menu content into sections and add tests 2026-03-27 15:04:41 +08:00
yyh
e13100098a fix(skill): guard file collaboration initialization 2026-03-27 14:53:16 +08:00
CodingOnStar
de62fd15bd refactor(web): improve app component testability and raise coverage
- refactor config-modal, create-from-dsl-modal, and sub-graph for lower complexity
- add missing tests for config-modal-body, sandbox-provider-page, and install-bundle flows
- raise targeted worktree source coverage to 90%+ for lines and statements
2026-03-27 14:22:49 +08:00
Joel
edd2b040f3 fix: file upload bg 2026-03-27 14:12:53 +08:00
yyh
c43e496cc2 fix(skill): pin preview tabs when remote sync only dirties metadata 2026-03-27 14:04:40 +08:00
yyh
9e1638ca74 fix: use isClient 2026-03-27 14:00:17 +08:00
yyh
517f42ec3f refactor(skill): split file content panel architecture 2026-03-27 13:59:07 +08:00
yyh
86bfbfc51a perf(skill): cache normalized asset tree index 2026-03-27 12:51:00 +08:00
yyh
53bba21dd9 fix: type
Some checks failed
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Has been cancelled
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Has been cancelled
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Has been cancelled
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Has been cancelled
2026-03-26 18:46:09 +08:00
Joel
c0c2a9ef9e chore: enchance @ insert copywritig 2026-03-26 18:20:36 +08:00
Joel
3cb7a5b613 chore: file to files 2026-03-26 18:07:14 +08:00
yyh
4169f0e5d0 fix test
Some checks failed
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Has been cancelled
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Has been cancelled
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Has been cancelled
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Has been cancelled
2026-03-26 17:11:04 +08:00
yyh
4e76d7e619 refactor(app-card): replace Popover with DropdownMenu for improved UI interactions 2026-03-26 17:05:21 +08:00
yyh
e03c2be0ad fix: use literal parser for view param 2026-03-26 16:34:16 +08:00
Joel
9c8a5ff527 chore: skill in query to file 2026-03-26 16:21:20 +08:00
yyh
a1a527902b refactor: remove redundant skill file sync ref guard 2026-03-26 16:10:58 +08:00
Joel
d3c8af6aa9 chore: tests 2026-03-26 16:00:38 +08:00
Joel
e5947d518e feat: add insert @ info 2026-03-26 16:00:37 +08:00
yyh
5ce1dfa0bf fix(skill): keep upload inputs mounted outside overlays 2026-03-26 15:55:26 +08:00
yyh
12ca422c8a fix(app-assets): restore atomic batch upload for nested folder targets
The previous nested folder upload flow bypassed the backend batch-upload
contract when parentId was set. Instead of creating the whole metadata
tree in one backend operation, the frontend recursively called
createFolder/getFileUploadUrl for each node.

That introduced two regressions for uploads into subfolders:

- consistency regression: mid-sequence failures could leave partially
  created folder trees under the destination folder
- performance regression: metadata creation degraded from a single
  batch request to O(files + folders) round-trips before file bytes
  were uploaded

This change moves nested uploads back to the original batch semantics:

- add optional parent_id support to app asset batch-upload payload
- create the whole nested tree under the target parent in
  AppAssetService.batch_create_from_tree
- pass parentId through useBatchUpload instead of using per-node
  createFolder/getFileUploadUrl calls
- remove the now-unnecessary useBatchUploadOperation wrapper
- add a backend unit test covering batch tree creation under an
  existing parent folder

After this change, both root uploads and subfolder uploads use the same
single-request metadata creation path, preserving atomic tree creation
semantics and avoiding avoidable metadata round-trips.
2026-03-26 15:16:55 +08:00
Joel
4d95cee44e chore: change copywriting 2026-03-26 15:00:04 +08:00
yyh
6408300c35 feat: implement batch upload operation and integrate with create operations 2026-03-26 14:59:06 +08:00
Joel
ff63af495c feat: support click and show cmd 2026-03-26 14:36:59 +08:00
Joel
a015209622 chore: update tests 2026-03-26 14:36:59 +08:00
yyh
90225f07d9 fix(web): align data contracts with backend schema 2026-03-26 14:34:06 +08:00
Joel
f8e5421a01 feat: support hover hightlight cmd 2026-03-26 14:25:11 +08:00
Joel
1c01bd773b chore: refactor sandbox placeholder 2026-03-26 13:54:25 +08:00