Making WordPress.org

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#3886 closed enhancement (fixed)

Add the ability to selectively reset contributor note scores

Reported by: drewapicture's profile DrewAPicture Owned by: drewapicture's profile drewapicture
Milestone: Priority: normal
Component: Developer Hub Keywords: has-patch has-screenshots
Cc:

Description

Since the fantastic work in #1504 adding a user feedback form to contributed notes in the Code Reference, we've been getting more and more feedback about published notes in the queue.

Because of the voting system for notes, however, notes with errors typically end up with scores in the negatives like you'd expect. Since feedback can now be directly addressed, it would be nice for admins to be able to selectively reset the scores for those adjusted notes to 0.

For example, just today, I fixed an error in an otherwise great contributor note that had a score of -3. I mean, I can upvote it to -2, but having a negative score is likely to turn others off to it whether it's justified based on the current reality or not.

Attachments (2)

3886.patch (3.6 KB) - added by keesiemeijer 6 years ago.
Reset votes in the comment edit screen
3886.1.png (28.3 KB) - added by keesiemeijer 6 years ago.
submit meta box

Download all attachments as: .zip

Change History (7)

@keesiemeijer
6 years ago

Reset votes in the comment edit screen

#1 @keesiemeijer
6 years ago

  • Keywords has-patch has-screenshots added

In 3886.patch a checkbox to reset votes is added to the submit metabox in the edit comment screen. The checkbox is not displayed if the voting score is already zero. The current user needs to have the edit_comment capability to reset the notes.

@keesiemeijer
6 years ago

submit meta box

#2 @DrewAPicture
6 years ago

Beat me to it! Looks good :-)

#3 @drewapicture
6 years ago

  • Owner set to drewapicture
  • Resolution set to fixed
  • Status changed from new to closed

In 7797:

Developer: Allow moderators to selectively reset the vote counts on contributed notes.

Props keesiemeijer.
Fixes #3886.

#4 @keesiemeijer
6 years ago

Thanks @DrewAPicture

I'm sorry if you were already working on this. I just really liked this enhancement and had some time to spare :)

#5 @DrewAPicture
6 years ago

Very much appreciated! I hadn't actually started yet ;-)

Note: See TracTickets for help on using tickets.