mirror of
https://github.com/wekan/wekan.git
synced 2026-11-26 01:49:41 -05:00
Flowtime, Pomodoro, Stickers and Location shipped without an allows* board toggle, so they rendered on every card and Card Settings had no way to hide them. Dependencies, Vote, Planning Poker, Text Notes and the activity history on the opened card had the same gap, as did the dependencies, stickers, comment-count, vote and poker badges on the minicard. Each now has a Boards field (default true, so an existing board keeps showing what it showed), a setter, a REST card-setting key, a healed true-default in the schema upgrade, a row in Board Settings / Card with its click handler, and a gate in cardDetails.jade / minicard.jade. allowsActivities already existed but gated nothing and its row was commented out; it is wired now. The rows of the popup are in the order the fields appear on the opened card (Mark complete, number, cover; then the reorderable sections through the same orderedCardFieldSections source the card renders from, so a board's own order applies to both; then checklists ... comments, activities), with the minicard-only rows beside the card row they belong with. No new i18n keys: every row reuses the field's existing name. tests/cardSettingsCoverage.test.cjs derives the card's order from the template and pins the popup to it, checks every gate has a row and every new row is read, and that none of the four sections is unconditional. Thanks to rmb82 and xet7 ! Fixes #6688.