With-the-Ranks / Spoke

With the Rank's fork of Politics Rewired's fork of Spoke
GNU General Public License v3.0
0 stars 1 forks source link

refactor(second-pass): implement as task #46

Closed ajohn25 closed 1 month ago

ajohn25 commented 2 months ago

Description

This refactors the second pass marking operation as a chunk task (see #44) - which avoids long running database operations during second pass marking. This also slips in a warning in the operation dialog when an admin tries to mark a second pass, and there are still unsent initials remaining for the campaign, as admins will normally want all initials to be sent beforehand

Motivation and Context

Closes https://github.com/politics-rewired/Spoke/issues/1681

How Has This Been Tested?

This has been tested locally

Screenshots (if appropriate):

Documentation Changes

Checklist: