add bundle resets on redirect
Resolves: https://github.com/maproulette/maproulette3/issues/2222, https://github.com/maproulette/maproulette3/issues/1845 Backend: https://github.com/maproulette/maproulette-backend/pull/1107
Features included in this pr:
- The map will stay open when tasks are bundled.
- Bundle reset button for reviewers and mappers when they are working on a task that initially had a bundle.
- Other status's now visible on map. (This adds better context, and also allows allows the map to function as expected in the reviewer mode.
Bugs fixed: 1. Bug: Multiple people were able to work on the same tasks threw bundling. Solution: All tasks in the bundle will be locked when in task review or task completion settings. 2. Bug: New bundle created a bundle object that would never get deleted. Solution: New bundles will no longer persist when a user redirects away from a bundle, and will be broken back up into individual tasks. 3. Bug: When a reviewer edited a bundle, but did not submit the bundle, any changes they made were still saved. Solution: Bundles that are changed in review but are not submitted will be reset to their initial value if the reviewer redirects away.
New bundle. Bundle mode displaying only bundled tasks:
Existing bundle. Bundle mode displayed but actions disabled:
Existing bundle and reviewing. Bundle mode displayed but actions disabled:
Codecov Report
Attention: Patch coverage is 5.86207% with 273 lines in your changes are missing coverage. Please review.
Project coverage is 23.44%. Comparing base (
6435413) to head (5e66ac9). Report is 13 commits behind head on main.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@ Coverage Diff @@
## main #2291 +/- ##
==========================================
- Coverage 23.59% 23.44% -0.16%
==========================================
Files 648 648
Lines 22497 22653 +156
Branches 6944 7033 +89
==========================================
+ Hits 5308 5310 +2
- Misses 14366 14491 +125
- Partials 2823 2852 +29
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.