mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 04:49:41 -05:00
The "add existing card as subtask" picker offered only cards of the same board. It now has a board picker: the card's own board first, then the other boards the member may write. Another board's cards come from the server (crossBoardSubtaskCandidates), and picking one attaches it through addCrossBoardSubtask, which checks on the server, with server data, that the member may write both the parent's and the child's board, that the child is an ordinary, not archived card, and that no loop forms through any parent. The card keeps the parents it has. Same-board picks work as before. tests/crossBoardSubtasks.test.cjs runs the loop check across boards and checks both write rights, the card types, the escaped search and the popup. The new string is an English placeholder until the next translation pass. Thanks to TiibCD and xet7 ! Fixes #1931.