Commit Graph
1 Commits
Author SHA1 Message Date
Lauri Ojansivu 998a9cc336 Let a list colour the cards that have no colour of their own.
The reporter coloured lists by stage and wanted cards to follow: "by merely
dragging cards around the colors would change". The only way was a script
that rewrote every card's colour through the API, again after every move.
A list's colour popup now has "Cards without a colour of their own use this
colour". Such cards are shown in the list's colour, and nothing is written
to them: a card dragged to another list takes that list's colour, and a
card's own colour always wins. models/lib/cardDisplayColor.js decides; the
card colour helpers use it from the list the card is shown in.

tests/cardDisplayColor.test.cjs covers the rule; the guards that pinned the
old colour code now pin it through the new helper. New text is in English,
pending Transifex.

Thanks to C0rn3j and xet7 !

Fixes #4756.
2026-10-08 12:15:49 +03:00