dify/web/app/components/workflow
lyzno1 852d851996
fix(workflow): add empty array validation for required checklist fields in trigger plugin
The checkValid function was not properly validating required checklist fields when they had empty array values. This caused required fields to pass validation even when no options were selected.

Added array length check to the constant type validation to ensure required checklist fields must have at least one selected option.
2025-10-29 12:36:43 +08:00
..
__tests__ refactor(workflow): clean up entry node status and colocate store types 2025-10-24 10:20:38 +08:00
block-selector fix: localize workflow block search filters 2025-10-29 11:55:30 +08:00
constants feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
datasets-detail-store fix: immer version and ref in code base (#27130) 2025-10-20 14:49:26 +09:00
header feat: support show global vars 2025-10-21 17:59:37 +08:00
help-line style: replace `h-[1px]` with `h-px` to unify the writing format of Tailwind CSS (#24146) 2025-08-21 21:38:40 +08:00
hooks feat(workflow): enhance validation by integrating warning nodes into last run checks. 2025-10-29 01:28:31 +08:00
hooks-store main 2025-10-21 14:42:27 +08:00
nodes fix(workflow): add empty array validation for required checklist fields in trigger plugin 2025-10-29 12:36:43 +08:00
note-node fix(workflow): resolve note node copy/duplicate errors (#27528) 2025-10-28 09:26:12 +08:00
operator feat: enhance block selector and change block components with flow type handling 2025-10-14 16:42:21 +08:00
panel Merge remote-tracking branch 'origin/main' into feat/trigger 2025-10-28 11:28:06 +08:00
plugin-dependency feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
run Merge remote-tracking branch 'origin/main' into feat/trigger 2025-10-28 11:28:06 +08:00
simple-node feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
store Merge remote-tracking branch 'origin/main' into feat/trigger 2025-10-28 11:28:06 +08:00
utils Merge remote-tracking branch 'origin/main' into feat/trigger 2025-10-28 11:28:06 +08:00
variable-inspect feat: add inline code copy styling for variable inspect webhook url 2025-10-29 10:14:50 +08:00
workflow-preview Merge branch 'main' into feat/trigger 2025-10-21 11:09:26 +08:00
block-icon.tsx Merge remote-tracking branch 'origin/main' into feat/trigger 2025-09-25 17:14:24 +08:00
candidate-node.tsx fix: immer version and ref in code base (#27130) 2025-10-21 11:38:44 +08:00
constants.ts fix: trigger timestamp show place 2025-10-21 18:21:37 +08:00
context.tsx feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
custom-connection-line.tsx fix: workflow edge curvature (#3488) 2024-04-15 15:49:40 +08:00
custom-edge-linear-gradient-render.tsx feat: workflow continue on error (#11474) 2024-12-11 14:21:38 +08:00
custom-edge.tsx fix: types 2025-09-29 20:53:50 +08:00
dsl-export-confirm-modal.tsx refactor & perf: `import { noop } from 'lodash-es'` across `web` (#17439) 2025-04-06 17:56:08 +08:00
features.tsx Remove workflow features button (#24085) 2025-08-19 09:32:07 +08:00
index.tsx feat: Introduce RAG tool recommendations and refactor related components for improved plugin management (#27259) 2025-10-28 10:22:16 +08:00
node-contextmenu.tsx fix: workflow context menu popup issue (#7530) 2024-08-23 13:14:17 +08:00
panel-contextmenu.tsx feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
selection-contextmenu.tsx fix: immer version and ref in code base (#27130) 2025-10-20 14:49:26 +09:00
shortcuts-name.tsx Remove workflow features button (#24085) 2025-08-19 09:32:07 +08:00
style.css fix: ReactFlow background in dark theme (#20013) 2025-05-21 10:32:07 +08:00
syncing-data-modal.tsx chore: workflow syncing modal (#5108) 2024-06-12 16:35:19 +08:00
types.ts Merge remote-tracking branch 'origin/main' into feat/trigger 2025-10-28 11:28:06 +08:00
update-dsl-modal.tsx fix: workflow import sync env and conversation variables (#21215) 2025-06-19 15:44:42 +08:00
workflow-history-store.tsx perf(web): improve app workflow build performance. (#26310) 2025-10-07 14:21:08 +08:00