Files
gerrit/java/com/google
Dave Borowitz 6f3ee4b651 Add API for deleting draft comments of a user
Now that changes with unresolved comments appear in dashboards, some
users are discovering that they have a lot of them and would like to
clean them up. Add an account API endpoint to do so, where callers may
restrict the set of changes to delete draft comments on by passing a
query in the input.

This endpoint is not yet wired up into the UI, but the intent is that
the input structure is flexible enough to accommodate a specialized flow
in the UI to delete draft comments on some or all changes in the
dashboard section, as well as custom queries from the command line.

An interface to select and delete subsets of comments from matching
changes is not in scope, although in theory the DeleteDraftCommentsInput
class could be extended to support this.

Change-Id: Id05adcc1a63b213d67b163d5fcaa47ab8c2679c3
2018-09-14 10:06:56 -07:00
..