wacrm/src/components/flows
Arnas Donauskas 82caecec09
fix(flows): allow multiple comma-separated keywords in trigger (#234)
The list-view keyword trigger input parsed its value into the keywords
array on every keystroke (split/trim/filter(Boolean)) and re-rendered
from keywords.join(", "). Typing a comma produced a trailing empty
segment that filter(Boolean) dropped, so the comma was stripped the
instant it was typed — making it impossible to enter a second keyword.

Extract a KeywordsInput component that holds a local draft string and
only commits (parse + dedupe-empties + rejoin) on blur / Enter, mirroring
the automations builder's KeywordMatchConfig. Multi-keyword entry like
"support, help, hi" now works.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-11 11:16:16 +03:00
..
forms perf(db,webhook): backend follow-ups from the multi-user review 2026-05-31 19:18:58 +03:00
flow-builder.tsx fix(flows): allow multiple comma-separated keywords in trigger (#234) 2026-06-11 11:16:16 +03:00
flow-canvas.tsx fix: smooth flow dragging and refresh chunks 2026-05-30 17:01:14 +05:30
flow-editor-shell.tsx feat(flows): canvas / mind-map view (PR 3 of 3 — polish) 2026-05-29 21:04:20 +02:00
flow-editor-state.test.ts fix: keep auto-layout hydration clean 2026-05-31 21:49:14 +05:30
flow-editor-state.tsx fix: keep auto-layout hydration clean 2026-05-31 21:49:14 +05:30
header.tsx feat(flows): canvas / mind-map view (PR 3 of 3 — polish) 2026-05-29 21:04:20 +02:00
shared.tsx feat(flows): canvas / mind-map view (PR 2a of 3 — editable foundation) 2026-05-29 20:17:15 +02:00
validation-panel.tsx feat(flows): canvas / mind-map view (PR 3 of 3 — polish) 2026-05-29 21:04:20 +02:00