[wp-meta] [Making WordPress.org] #762: Themes trac: Magic button to automatically assign reviewers the next available ticket (theme) to review if they don't already have a ticket

Making WordPress.org noreply at wordpress.org
Sun Dec 21 08:32:37 UTC 2014


#762: Themes trac: Magic button to automatically assign reviewers the next
available ticket (theme) to review if they don't already have a ticket
---------------------------+----------------------
  Reporter:  samuelsidler  |      Owner:  nacin
      Type:  enhancement   |     Status:  accepted
  Priority:  high          |  Component:  Trac
Resolution:                |   Keywords:
---------------------------+----------------------
Changes (by nacin):

 * owner:  al_the_x => nacin
 * status:  assigned => accepted


Comment:

 This is implemented. karmatosed, you'll notice there is an inactive widget
 ready for you to drag it to the sidebar make/themes. You can add
 instructions in the text field that will be displayed above the button.
 I'd place it at the top of the sidebar. Once the widget is live, it'll all
 work.

 How it works:
  * If you already have a theme currently assigned to you and "reviewing"
 (which thus excludes "reopened" and "approved", also "not-approved" —
 please tell me if anything should change here), then upon clicking the
 button, you're told to go to your report of open tickets assigned to you.
  * It grabs the ticket off this query, assigns it to you, and redirects
 you to the ticket so you can immediately start to review it:
 https://themes.trac.wordpress.org/query?priority=new+theme&priority=previously+reviewed&status=new&keywords=!~buddypress&order=time&max=1&owner=.
 (Note: That first ticket is awaiting a reply for the reporter, and would
 be bad if we assigned it to someone random — does that happen often?)
  * If the queue is empty (hey, it's happened before), it'll recognize
 that. It also handles errors fairly gracefully and accounts for race
 conditions where two people press the button at the same time.
  * I'll be able to write a report of all tickets assigned using the
 button, once it actually starts to get used. It doesn't CC individuals.
 Please confirm this is what you want.

 Due to directory structures (which are in the process of changing), it was
 easier to commit this code privately for the moment. So for those curious,
 I've uploaded the plugin.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/762#comment:16>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list