ec7d80dd1a
refactor(web): extract hooks and components from DocumentList
...
Extract reusable hooks and sub-components from the DocumentList component
to reduce complexity and improve testability:
- useDocumentSort: handles sorting state and logic
- useDocumentSelection: manages document selection state
- useDocumentActions: handles batch actions with React Query mutations
- DocumentTableRow: extracted table row component
- SortHeader: reusable sort header component
- DocumentSourceIcon: data source type icon renderer
- renderTdValue: utility for displaying formatted values
The main component remains in list.tsx with document-list/index.tsx
providing a re-export for backwards compatibility.
Test coverage: 156 tests covering all extracted modules.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-29 18:33:38 +08:00
aecae4f671
refactor(web): extract hooks and components from EmbeddingDetail
...
Refactor the EmbeddingDetail component to improve maintainability:
- Extract useEmbeddingStatus hook with React Query for status polling
- Extract usePauseIndexing and useResumeIndexing mutation hooks
- Split UI into StatusHeader, ProgressBar, SegmentProgress, RuleDetail components
- Add comprehensive tests with 98.57% statement coverage
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-29 17:01:06 +08:00
b9ac7af9c5
refactor(web): consolidate download helpers ( #31664 )
2026-01-29 16:02:49 +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
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
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
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
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
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
54921844bb
fix(web): disable HTML escaping for form field validation messages ( #31292 )
2026-01-20 18:43:01 +08:00
76b64dda52
test: add tests for dataset list ( #31231 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com >
2026-01-20 13:07:00 +08:00
62ac02a568
feat: Download the uploaded files ( #31068 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-19 16:48:13 +08:00
2d4289a925
chore: relocate datasets api form ( #31224 )
2026-01-19 16:15:51 +08:00
92dbc94f2f
test: add unit tests for plugin detail panel components including action lists, strategy lists, and endpoint management ( #31053 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai >
2026-01-19 14:40:32 +08:00
269c85d5a3
feat: ee workspace permission control ( #30841 )
2026-01-19 11:06:04 +08:00
e8397ae7a8
fix(web): Zustand testing best practices and state read optimization ( #31163 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-19 10:31:34 +08:00
7b66bbc35a
chore: introduce bulk-suppressions and multithread linting ( #31157 )
2026-01-17 19:51:56 +08:00
77366f33a4
feat(web): add loading indicators for infinite scroll pagination ( #31110 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
2026-01-17 17:36:07 +08:00
e3b0918dd9
test(web): add global zustand mock for tests ( #31149 )
2026-01-17 17:29:13 +08:00
6903c31b84
fix(search-input): retain focus after clearing input ( #31107 )
2026-01-16 16:22:14 +08:00
cd497a8c52
fix(web): use portal for variable picker in code editor ( Fixes #31063 ) ( #31066 )
2026-01-16 13:31:57 +08:00
4bff0cd0ab
fix: resolve 'Expand all chunks' button not working ( #31074 )
...
Co-authored-by: GlobalStar117 <GlobalStar117@users.noreply.github.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com >
2026-01-16 11:34:42 +08:00