CodingOnStar
f7ae14d50e
test: refactor GenericTable tests to use a helper function for option selection
2026-03-25 18:09:38 +08:00
CodingOnStar
8e093a2b25
test: update GenericTable tests to use button interactions for method selection
2026-03-25 17:41:00 +08:00
CodingOnStar
95bdeb674f
Merge remote-tracking branch 'origin/main' into test/workflow-app
2026-03-25 17:28:06 +08:00
Coding On Star
7fbb1c96db
feat(workflow): add selection context menu helpers and integrate with context menu component ( #34013 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: lif <1835304752@qq.com>
Co-authored-by: hjlarry <hjlarry@163.com>
Co-authored-by: Stephen Zhou <hi@hyoban.cc>
Co-authored-by: tmimmanuel <14046872+tmimmanuel@users.noreply.github.com>
Co-authored-by: Desel72 <pedroluiscolmenares722@gmail.com>
Co-authored-by: Renzo <170978465+RenzoMXD@users.noreply.github.com>
Co-authored-by: Krishna Chaitanya <krishnabkc15@gmail.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-25 17:21:48 +08:00
yyh
a8e1ff85db
feat(web): base-ui slider ( #34064 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-25 16:03:49 +08:00
CodingOnStar
b8b0422e73
fix: enhance form validation for file inputs and improve handling of empty array values in variable modal
2026-03-25 15:47:53 +08:00
CodingOnStar
d5870d2620
test: improve performance and error handling in variable modal and translation tests
2026-03-25 15:37:18 +08:00
CodingOnStar
74e5ac4153
refactor(tests): update toast mock implementation to use new UI toast structure
2026-03-25 13:59:52 +08:00
yyh
8876f69c24
refactor(workflow): migrate legacy toast usage to ui toast ( #34002 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-25 13:41:20 +08:00
yyh
d7e49c388c
refactor(workflow): migrate legacy toast usage to ui toast ( #34002 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-25 12:42:18 +08:00
CodingOnStar
3d10cf97f1
test: add unit tests for various workflow components
...
- Introduced new test files for CandidateNodeMain, CustomEdge, NodeContextmenu, PanelContextmenu, HelpLine, and several hooks.
- Each test file includes comprehensive tests to validate component rendering, interactions, and state management.
- Enhanced test coverage for dynamic test run options and data source configurations.
- Ensured proper mocking of dependencies to isolate component behavior during tests.
2026-03-25 12:12:59 +08:00
CodingOnStar
168ba4caa3
test(tests): increase timeout limits for translation file tests and improve element selection in component tests
...
- Updated timeout expectations in translation file tests to allow for longer processing times, ensuring tests pass under varying conditions.
- Refined element selection in the GenericTable and ChatRecord integration tests to use more specific queries, enhancing test reliability and clarity.
2026-03-25 11:07:47 +08:00
CodingOnStar
688ccb5aa9
fix(tests): update variable reference picker tests with type assertions
...
- Added type assertions for iteration and loop nodes in the variable reference picker helper tests to ensure type safety and correctness.
- Improved code clarity by explicitly defining node types, enhancing maintainability of the test suite.
2026-03-24 20:16:09 +08:00
CodingOnStar
af143312f2
refactor(workflow): consolidate selection context menu helpers into component
...
- Moved selection context menu helper functions directly into the SelectionContextmenu component for improved encapsulation and organization.
- Removed the separate helpers file and associated tests, streamlining the codebase.
- Updated the component to maintain existing functionality while enhancing readability and maintainability.
2026-03-24 19:47:18 +08:00
CodingOnStar
3c58c68b8d
feat(workflow): implement variable modal state management and helpers
...
- Introduced a new custom hook to manage the state of the variable modal, encapsulating logic for handling variable types, values, and validation.
- Created helper functions for formatting and validating variable data, improving modularity and reusability.
- Added new components for rendering variable modal sections, enhancing the user interface and user experience.
- Implemented comprehensive unit tests for the new hook and helpers to ensure functionality and correctness.
2026-03-24 18:22:35 +08:00
CodingOnStar
16e8bf1cf9
Merge remote-tracking branch 'origin/main' into test/workflow-part-8
2026-03-24 17:54:37 +08:00
CodingOnStar
1943785c1c
feat(workflow): add selection context menu helpers and integrate with context menu component
...
- Introduced helper functions for managing alignment and distribution of nodes within the workflow.
- Created a new file for selection context menu helpers, encapsulating logic for menu positioning and node alignment.
- Updated the SelectionContextmenu component to utilize the new helpers, improving code organization and readability.
- Added unit tests for the new helper functions to ensure functionality and correctness.
2026-03-24 17:53:48 +08:00
Coding On Star
a408a5d87e
test(workflow): add helper specs and raise targeted workflow coverage ( #33995 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-24 17:51:07 +08:00
scdeng
67d5c9d148
feat: configurable model parameters with variable reference support in LLM, Question Classifier and Variable Extractor nodes ( #33082 )
...
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-24 17:41:51 +08:00
CodingOnStar
6633f5aef8
feat(workflow): implement DSL modal helpers and refactor update DSL modal
...
- Added helper functions for DSL validation, import status handling, and feature normalization.
- Refactored the UpdateDSLModal component to utilize the new helper functions, improving readability and maintainability.
- Introduced unit tests for the new helper functions to ensure correctness and reliability.
- Enhanced the node components with new utility functions for managing node states and rendering logic.
2026-03-24 16:16:54 +08:00
Coding On Star
8b6fc07019
test(workflow): improve dataset item tests with edit and remove functionality ( #33937 )
2026-03-23 20:16:59 +08:00
Coding On Star
fdc880bc67
test(workflow): add unit tests for workflow components ( #33910 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-03-23 16:37:03 +08:00
Copilot
76a23deba7
fix: crash when dataset icon_info is undefined in Knowledge Retrieval node ( #33907 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2026-03-23 15:29:03 +08:00
yyh
27ed40225d
refactor(web): update frontend toast call sites to use the new shortcut API ( #33808 )
...
Signed-off-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-20 16:02:22 +08:00
Tim Ren
8bebec57c1
fix: remove legacy z-index overrides on model config popup ( #33769 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 10:40:30 +08:00
Coding On Star
4df602684b
test(workflow): add unit tests for workflow components ( #33741 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-19 18:35:16 +08:00
yyh
93f9546353
refactor(web): migrate core toast call sites to base ui toast ( #33643 )
2026-03-18 16:53:55 +08:00
Coding On Star
db4deb1d6b
test(workflow): reorganize specs into __tests__ and align with shared test infrastructure ( #33625 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-18 16:40:28 +08:00
yyh
69d1ccb7a7
refactor: route next/link through compat re-export ( #33632 )
2026-03-18 12:14:59 +08:00
yyh
bbe975c6bc
feat: enhance model plugin workflow checks and model provider management UX ( #33289 )
...
Signed-off-by: yyh <yuanyouhuilyz@gmail.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Coding On Star <447357187@qq.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: statxc <tyleradams93226@gmail.com>
2026-03-18 10:16:15 +08:00
yyh
3db1ba36e0
refactor(web): number inputs to use Base UI NumberField ( #33539 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-17 18:45:02 +08:00
Stephen Zhou
18af5fc8c7
chore: revert #33540 #32966 ( #33566 )
2026-03-17 12:55:58 +08:00
NFish
0dcfac5b84
fix: The HTTP Request node panel supports line break and overflow handling for variable values ( #33359 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-12 17:57:08 +08:00
Saumya Talwani
ed5511ce28
test: improve coverage for some files ( #33218 )
2026-03-12 15:09:10 +08:00
yyh
c43307dae1
refactor(switch): Base UI migration with loading/skeleton variants ( #33345 )
...
Signed-off-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-12 14:40:43 +08:00
NFish
44713a5c0f
fix: allow line breaks when a field value overflows due to excessive length ( #33339 )
2026-03-12 11:15:29 +08:00
Stephen Zhou
5ff7d2c895
refactor: move to modern monaco ( #32966 )
2026-03-11 17:44:12 +08:00
yyh
5d0c3d58ac
refactor(avatar): migrate to Base UI primitives with Record size variants ( #33268 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-11 14:26:04 +08:00
非法操作
0a320c63a0
fix: vertically center key-value table headers in HTTP and Webhook ( #33260 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-11 13:55:17 +08:00
Wu Tianwei
75bbb616ea
refactor: replace react markdown with streamdown ( #32971 )
...
Co-authored-by: Stephen Zhou <hi@hyoban.cc>
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-03-10 17:02:37 +08:00
非法操作
4a2ba058bb
feat: when copy/paste multi nodes not require reconnect them ( #32631 )
2026-03-09 13:55:12 +08:00
Coding On Star
5385ec3023
test(workflow): add comprehensive hooks unit tests and refactor test infrastructure (Part 3) ( #32958 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-03-04 17:24:50 +08:00
Stephen Zhou
439ff3775d
chore: update to eslint 10 ( #32646 )
2026-02-27 19:44:54 +08:00
非法操作
9f0ee5c145
fix: the action button of structure output modal should align right ( #32700 )
2026-02-27 17:28:41 +08:00
HaKu
8ff51a58fd
refactor(web): remove mouseup listener in use-resize-panel cleanup ( #32636 )
...
Co-authored-by: 非法操作 <hjlarry@163.com>
2026-02-27 15:06:10 +08:00
非法操作
065122a2ae
fix: incorrect placeholder color in dark mode ( #32568 )
2026-02-25 23:15:51 +08:00
wangxiaolei
8141e3af99
fix: fix node after change can not select start node ( #32441 )
2026-02-21 14:04:21 +08:00
yyh
ea0e1b52a8
refactor(web): make Switch controlled-only and migrate call sites ( #32399 )
2026-02-18 23:47:07 +08:00
Stephen Zhou
8fd3eeb760
fix: can not upload file in single run ( #32276 )
2026-02-12 17:23:01 +08:00
Wu Tianwei
16b8733886
fix: Fix the display of state icon of base node ( #32208 )
2026-02-10 22:45:56 +08:00