Give admins the ability to destroy all problems associated with an app #640
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Due to some recent changes in errbit fingerprinting, my apps are littered with Problems that represent the same underlying error, but are not successfully clustered into different Errs of the same Problem by errbit.
I'd like to make fingerprinting more configurable (more to come later), but in the meantime I need to clean up my errbit apps, now that I have worked around the fingerprinting problem temporarily.
This feature is my attempt to enable admins to cleanup an app. It adds a "delete all errs" button to an app's edit screen that performs a one-shot destroy of all Problems. (The alternative is to page through hundreds or thousands of problems and use the selecct-all checkbox to delete each page worth of problems.)
A more elegant version of this feature would avoid adding an admin-only action, and instead would modify the table-select functionality of errbit so that the "select all" checkbox could be made to apply to all selected problems regardless of which page of search results they appear on.
Comments about this proposal, or about the more elegant proposal, are welcome.