Files
wekan/client
Lauri Ojansivu 600fc3b4de Close and undo very large sprints in the background, with progress in the Scrum view.
As decided on 2026-10-03, every per-card guard stays, and the browser
never waits on one call for the whole of a large sprint:

- A close of more than one chunk (2,000 cards) returns once the sprint is
  closed and its plan stored; its rollover continues in the background,
  chunk by chunk under the board's lock, recorded under the close's named
  History batch. Its progress is on the sprint, a failure is kept there for
  the Scrum view's resume button, and a restart resumes it. A smaller
  sprint is still closed and rolled over in one History row in the call.
- An undo or redo whose batch has more than four rows left applies the
  first row in the call and the rest as a background job (scrumBatchJobs),
  as the user who asked and with the same derived request IDs, so a retry
  or a restart resumes it. Undo and redo on that board wait for it.
- The Scrum view shows both as progress bars and polls quietly while one
  runs.

The board-copy, native-import and Scrum menu specs read snapshot rows
through a helper now that they live outside the sprint, and the sprint
report's chart is no longer counted together with the daily and
change-by-change charts below it, which loaded in WebKit first.

Thanks to xet7 !
2026-10-03 09:31:44 +03:00
..