mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
The view menu sits on a board, but choosing a view there changed it for every board, so one board could not stay on Calendar while another stayed on Swimlanes. A view chosen on a board is now that board's own (profile.boardViews, published to its owner beside the shared value). A board without its own choice uses the view every board shared before, then the board's default, so nothing changes for anybody until they choose a view on a board. A choice made off any board still sets the shared view, and the browser's stored view follows only that one. The server accepts only a known view under a safe board key. Label text visibility per board, the other half of #4256, was done earlier. The guards that pinned the single shared view now pin both; a new test runs the stored-view logic per board, and a Playwright case checks two boards. Thanks to DimDz, Meeques and xet7 ! Fixes #4906, Fixes #4256.