Commit Graph
2 Commits
Author SHA1 Message Date
Lauri Ojansivu 2b7d899784 Note that #2561 is the same request as #4256 and is already fixed.
tests/labelTextVisibility.test.cjs pins the board-level
Boards.showLabelText setting (with its per-user override) that already
resolves #2561: a board-level toggle to hide label text on minicards,
leaving only the colour bars, the same request #4256 made and this suite
already covers.

Thanks to javen9881 and xet7 !

Fixes #2561,
2026-09-10 20:28:35 +03:00
Lauri Ojansivu fa71c8ba4d Add the shared label-text resolution helper and its unit test (#4256).
Completes the per-board default / per-user override for minicard label
text: models/lib/labelTextVisibility.js is the pure resolution function
(user override > board setting > historical default) that
client/lib/minicardLabelText.js now calls instead of duplicating the same
three-way decision, and tests/labelTextVisibility.test.cjs pins all three
cases plus the migration-safety case (an existing board/user with nothing
stored still shows label text). server/models/boards.js's REST
cardSettings whitelist also gets showLabelText, matching every other
board-level card setting there.
2026-09-10 20:00:19 +03:00