Update the dashboard to use the new batch endpoint for archive and mute.

Review Request #12716 — Created Nov. 8, 2022 and submitted

Information

Review Board
release-6.x

Reviewers

The way the dashboard currently does batch operations is to iterate
through the entire list of checked items and do an API call for each
one. This works OK but is quite inefficient, and our new batch view
allows doing it all in a single HTTP request.

This change moves the visibility operations (archive, mute, and
unarchive/unmute) over to that new endpoint.

  • Did a bunch of tests with various dashboard states and saw that
    visibility was always changed appropriately.
  • Ran unit tests.
  • Ran js-tests.
Summary
Update the dashboard to use the new batch endpoint for archive and mute.
maubin
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-6.x (9891da7)
Loading...