mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
The Select all / Unselect all handlers did set the selection, and each row's checkbox followed it, but the checkboxes were never on screen: forms.css hides every native checkbox app-wide (display: none, visibility: hidden, position: absolute and a -9999px offset), and the rules list used native ones with nothing undoing that. So the buttons changed invisible state, and no rule could be ticked by hand for Delete selected / Export selected either. rules.css now undoes all parts of that rule for .js-rule-select, with a selector that outranks [type="checkbox"]:checked, and the checkbox is labelled with its rule's title. tests/rulesSelectAllCheckboxes.test.cjs runs the select-all / unselect-all / single-toggle logic with several rules, pins the override, and as the negative test checks that no native checkbox under client/components/rules is left hidden. Playwright spec 44-rules checks the boxes are visible and follow both buttons. Thanks to titver968 and xet7 ! Fixes #6749,