mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
List width is now a single hardcoded constant (models/lib/listWidth.js, 240px) applied to every list on every board for every viewer. This replaces the #5659/#5729/#6409 model built up over time: a personal per-user width, a per-list shared width, a viewer-toggled "same width for all lists" mode, and a viewer-toggled auto-width mode. All of it - the "Set width" list-menu popup, the board-settings "Personal list width" sidebar toggle, the drag-resize handle, and every schema field and Meteor method behind them - is removed rather than left dead. The "Set swimlane height" menu popup goes too, as a redundant text-input alternative to the working drag-resize handle from the swimlane-resize fix earlier this release; that drag handle itself is untouched. Two knock-on fixes this surfaced: models/wekanCreator.js was still mapping the now-removed allowsPersonalListWidth/autoWidth board fields on WeKan JSON import, which would have failed schema validation on any import; and the CloneBleed security-regression test's applyListWidth sub-suite tested a method that no longer exists, replaced with a comment pointing at tests/listWidthDefaults.test.cjs's negative coverage of the removal. tests/listWidthPopupLayout.test.cjs and tests/playwright/specs/38-fixed-list-width.e2e.js tested only the removed feature and are deleted outright; listWidthDefaults.test.cjs and listWidthDuringDrag.test.cjs are rewritten/adjusted for the new model. Thanks to xet7.