mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 18:10:06 -05:00
The reporter puts a card at the bottom of the next list when it moves on and at the top when it moves back. With only "moved to" and "moved from" a list triggers, that needs a rule for every pair of lists. "A card is moved forward to a later list" and "moved back to an earlier list" now fire on any move between two lists of the board, compared by the lists' order rather than by the screen, so they also work in right-to-left languages. They are matched on the rule's own board, like the other trigger kinds (models/lib/ruleMoveDirection.js). tests/ruleMoveDirection.test.cjs covers the directions and what has none; a Playwright case moves cards both ways through the REST API. The RepointBleed guard counts the new matching path. New text is in English, pending Transifex. Thanks to rlach and xet7 ! Fixes #2076.