4d8aa2c3df
test: improve EditCustomCollectionModal tests with async handling and schema updates
2026-02-03 14:33:59 +08:00
159668c762
Merge remote-tracking branch 'origin/main' into refactor/datasets-components
2026-02-03 14:18:43 +08:00
aa7fe42615
test: enhance CommandSelector and GotoAnythingProvider tests ( #31743 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com >
2026-02-03 13:47:30 +08:00
90fe9abab7
revert: revert human input relevant code ( #31766 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-30 19:18:49 +08:00
4346f61b0c
chore: hide disable try tab when not support ( #31759 )
2026-01-30 18:10:25 +08:00
b7e752078c
fix: trigger doc link ( #31754 )
2026-01-30 17:30:24 +08:00
497619bc29
fix(tests): update button selectors and kbd element assertions
...
- Use regex pattern for button role names to handle accessible names
that include keyboard shortcuts (e.g., "common.operation.create ctrl ↵")
- Fix ESC key hint assertion to use .system-kbd class selector instead
of kbd element, matching the ShortcutsName component implementation
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-30 15:59:37 +08:00
75bcd9f037
Merge remote-tracking branch 'origin/main' into refactor/datasets-components
2026-01-30 15:43:35 +08:00
fedd097f63
feat: Human Input node (Frontend Part) ( #31631 )
...
Co-authored-by: JzoNg <jzongcode@gmail.com >
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: yessenia <yessenia.contact@gmail.com >
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com >
2026-01-30 10:16:46 +08:00
c27df88417
feat: try app support review ( #31716 )
2026-01-29 19:40:47 +08:00
7d1ad7e03a
refactor: unified shortcut keys display using component ( #31713 )
2026-01-29 17:57:46 +08:00
6bd5f059f2
Merge remote-tracking branch 'origin/main' into refactor/datasets-components
2026-01-29 17:36:16 +08:00
c5008e15e2
test(rag-pipeline): add use-DSL hook tests
...
- Add comprehensive tests for handleExportDSL and exportCheck functions
- Test file download, error handling, and secret variable detection
2026-01-29 17:30:08 +08:00
874bc22632
fix(tests): update test expectations to match actual implementation
...
- Fix file size format in file-list-item tests (add space between number and unit)
- Fix navigation path in use-dsl-import test (add leading slash)
2026-01-29 17:11:33 +08:00
1ab9e0b8a3
refactor(file-uploader): enhance file handling and improve type safety
...
- Update getFileSize utility to format file sizes consistently.
- Refactor traverseFileEntry to use specific FileSystemEntry types for better type safety.
- Modify useFileUpload hook to accept an optional allowedExtensions parameter for custom file type filtering.
- Update tests to reflect changes in file type handling and ensure comprehensive coverage.
2026-01-29 16:56:15 +08:00
b9ac7af9c5
refactor(web): consolidate download helpers ( #31664 )
2026-01-29 16:02:49 +08:00
f88afd72ab
refactor(file-uploader): extract hook, components and add comprehensive tests
...
Refactor file-uploader component from 399 lines to 90 lines by extracting:
- useFileUpload hook for upload logic and drag-drop handling
- FileListItem component for individual file display
- UploadDropzone component for drop area UI
- Progress constants (PROGRESS_NOT_STARTED, PROGRESS_ERROR, PROGRESS_COMPLETE)
Add getFileExtension utility to web/utils/format.ts for shared use.
Test coverage: 102 tests with 100% line coverage for all file-uploader files.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-29 15:56:44 +08:00
4f2cd40498
fix: convert HTTP method to lowercase when parsing cURL commands ( #31704 )
...
Co-authored-by: jiasiqi <jiasiqi3@tal.com >
2026-01-29 15:37:37 +08:00
062cefae82
refactor(create-from-dsl-modal): extract DSL import hook and add tests
...
- Extract useDSLImport hook from index.tsx to hooks/use-dsl-import.ts
- Reduce component complexity from 63 to 3
- Reduce line count from 268 to 119 lines
- Add comprehensive hook tests with 35 test cases
- Achieve 98%+ line coverage for all component files
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-29 15:10:39 +08:00
c2191252fa
feat(local-file-upload): implement file upload functionality with components and tests
...
- Add LocalFile component for handling file uploads with support for multiple file types
- Introduce UploadDropzone and FileListItem components for improved UI and file management
- Implement useLocalFileUpload hook for managing file upload logic and state
- Create constants for progress states and integrate error handling
- Add comprehensive tests for all new components and hooks to ensure functionality and reliability
2026-01-29 14:54:13 +08:00
94320139e7
refactor(datasets): extract form hooks and components with tests
...
- Extract useFormState hook for centralized form state management
- Split form into BasicInfoSection, IndexingSection, ExternalKnowledgeSection
- Add comprehensive test coverage (164 tests, 97%+ coverage)
- Improve code organization with hooks/ and components/ directories
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-29 13:32:22 +08:00
8f414af34e
test: add comprehensive tests ( #31649 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com >
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-29 11:16:26 +08:00
7f40f178ed
fix(app-log): fetching messages correctly when scrolling message list ( #31655 )
2026-01-28 19:57:15 +08:00
6fff46bc29
feat: summary index ( #31523 )
2026-01-28 11:09:34 +08:00
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
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
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
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
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
f561656a89
chore: follow-up fixes for storybook vite migration ( #31545 )
2026-01-26 20:20:14 +08:00
47d0e400ae
chore: update to story book nextjs-vite ( #31536 )
2026-01-26 17:07:20 +08:00
8724ba04aa
fix: fix Cannot read properties of null (reading 'credential_form_sch… ( #31117 )
2026-01-26 15:52:53 +08:00
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
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
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
a43d2ec4f0
refactor: restructure Completed component ( #31435 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
2026-01-26 14:03:51 +08:00
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
c8ae6e39d2
fix: NextStep crash when target node is missing ( #31416 )
2026-01-23 10:15:20 +08:00
e2d7fe9c72
fix(web): use Array.from() for FileList to fix tsc type errors ( #31398 )
2026-01-22 19:51:24 +08:00
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
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
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
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
4e7c1f4f44
fix: fix visibilityState event handle ( #31354 )
2026-01-22 11:13:14 +08:00
524ce14a68
test: enhance HitTestingPage tests with additional coverage for rende… ( #31355 )
2026-01-21 19:07:20 +08:00
1813b65acb
chore: revert jsdom update ( #31353 )
2026-01-21 18:30:04 +08:00
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
aa68966b55
test: fix test in #30849 ( #31350 )
2026-01-21 16:46:42 +08:00
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
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