mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 18:10:06 -05:00
The card and board routes rendered the board layout on every navigation, and flow-router-extra re-creates the layout each time: every swimlane, list and minicard was torn down and built again for a card link, the up/down card keys, back/forward, and closing a card opened from a link. The router now remembers which board the layout is mounted for (models/lib/boardLayoutMount.js) and the card and board routes reuse it; the board already follows Session. Another board, a first load and the list/swimlane routes still render. tests/playwright/specs/large-board-card-open.e2e.js checks in Chromium, Firefox and WebKit that a minicard element survives a card opened and closed by its address, and counts the Tracker work of a click open and close. Thanks to markusst1982 and xet7 ! Fixes #6745.