gsxdsm
e57db86a5c
FN-6029: restore board drop-check regression coverage
Restore Board drag-drop pre-check coverage by extracting the decision logic into a reusable helper.
- extract Board canDropTask rejection logic into a shared helper used by the component
- replace Lane-mocking coverage with direct helper tests for workflow, column, and capacity branches
- add regression cases for missing workflows, default-workflow fallback, same-column WIP drops, and cross-workflow occupancy handling
Files changed:
packages/dashboard/app/components/Board.tsx | 37 +--
.../__tests__/Board.canDropTask.test.tsx | 261 ++++++++++++---------
.../dashboard/app/components/boardCanDropTask.ts | 56 +++++
3 files changed, 218 insertions(+), 136 deletions(-)
Fusion-Task-Id: FN-6029
Fusion-Task-Lineage: cd71bbc5-0f97-49c3-9eef-0dd8221341c0
2026-06-08 13:32:58 -07:00
..
2026-06-08 07:53:42 -07:00
2026-06-08 07:53:42 -07:00
2026-06-08 13:32:58 -07:00
2026-05-14 15:25:08 -07:00
2026-06-07 23:30:16 -07:00
2026-06-04 08:00:33 -07:00
2026-06-03 20:56:05 -07:00
2026-05-17 22:16:27 -07:00
2026-06-02 14:14:24 -07:00
2026-05-12 07:47:10 -07:00
2026-06-07 23:30:16 -07:00
2026-05-29 11:25:11 -07:00
2026-05-29 20:05:14 -07:00
2026-06-03 08:16:08 -07:00
2026-05-20 19:58:49 -07:00
2026-06-03 19:48:40 -07:00
2026-05-17 19:11:59 -07:00