mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
After a reload the notice for an unanswered keyboard undo or redo shows as soon as its board is open - before the board and its members have arrived. undoRedoLast does nothing while Utils.canModifyBoard() is false, so a Retry clicked in that moment was dropped without a word and the notice stayed (history-recovery-notice.e2e.js, Firefox). Retry is disabled until the retry can act; Forget needs no right and stays usable. For someone who may only read the board Retry stays disabled, as it could never do anything for them. historyRecoveryNotice.test.cjs pins the binding and the guard it mirrors, and that Forget is not gated - it fails on the code before. The spec waits for Retry to be enabled before it clicks; the spec passes in Firefox against a rebuilt bundle. Thanks to xet7 !