mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
The saved command for a rule move onto another board is written (server/lib/syncRuleMoveBoardCommand.js). It plans what Card.move and its hooks write there: labels by name, the card number, mapped custom fields, filtered members and watchers, cleared dependencies, the History rows, the moveCardBoard and custom-field activities, the re-pointed label activities and the legacy undo row. It accepts only the last action of its rule plan. The History planner gains those fields, and the recording scope can defer the dependencies row and the label-activity hook, which runs while the card is still on its old board. Nothing uses the command yet: such a rule still keeps its board on direct Sync until its runner, guard and eligibility are added. Thanks to xet7 !