mirror of
https://github.com/wekan/wekan.git
synced 2026-11-05 09:40:20 -05:00
When a board opens it now checks (boardListRepairNeeded) whether any list is wrongly bound to a single swimlane (the #6484 corruption, which makes a list vanish from the other swimlanes). If so, and the viewer is a board admin, it runs repairBoardWideLists automatically while showing the shared migration-progress modal, then completes. The check runs once per board, fire-and-forget, and never blocks rendering; on error the board is unmarked so a later open retries. The migration-progress modal is now branded with the configured Product name (Admin Panel / Settings / Layout / Product name, Settings.productName), falling back to WeKan when none is set, via the pure models/lib/productName.js helper — so the repair (and every migration reusing this modal) shows the admin's Product name instead of the hard-coded WeKan brand. Tests: tests/productName.test.cjs (helper + modal-branding source guards) and the extended tests/listUnbindRepair.test.cjs (detection method + client detect/repair/progress wiring) pass. Thanks to xet7 !