Commit Graph
1 Commits
Author SHA1 Message Date
Lauri Ojansivu 6d43020212 Add "Check all items" / "Uncheck all items" to the checklist action menu.
The checklist's own action popup (checklistActionsPopup) had reset,
hide-checked, hide-all and export/edit-as-text actions but no way to bulk
check or uncheck every item at once - #4218's "Edit as text" only offers an
indirect workaround (replace every "[ ]"/"[x]" by hand). Checklists.
checkAllItems()/uncheckAllItems() already existed as model helpers used by
the Rules automation (server/rulesHelper.js), so this wires the same two
methods to new menu entries, and extracts the item-selection logic they
share into a pure, unit-testable helper (models/lib/checklistBulkCheck.js).

Thanks to justinr1234 and xet7 !

Closes #2473,
2026-09-10 20:40:17 +03:00