Reduce API calls from bulk dismissals

Created on 2 May 2025, about 1 month ago

Problem/Motivation

Bulk dismissals ("Mark all like this as OK") generate a separate JSON API call for each dismissed item. That's a lot of DB activity.

If there are more than ~25 issues dismissed at once the editor may leave the page before the back-and-forth finishes, and calls may time out.

Steps to reproduce

Find a page with links to 75 PDFs. Dismiss all...

Proposed resolution

Rewrite the API to allow for a concatenated write.

Remaining tasks

...learn how to rewrite the API to allow for a concatenated write, or pass the request to a batching queue. Each dismissal is stored in a separate row.

πŸ“Œ Task
Status

Active

Version

2.2

Component

Feature and test requests

Created by

πŸ‡ΊπŸ‡ΈUnited States itmaybejj

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024