The work in this task and in T195545 and T196181 make up the first useful feature change that we could roll out to users. The work in the task roughly accomplishes these user stories:
* As a reviewer, I need to be able to filter to only those drafts that have been submitted to AfC and are awaiting review. This would include drafts that are awaiting their second, third, etc. review, but it would exclude drafts that have been submitted for review, have already been reviewed, and awaiting resubmission by their authors.
* As a reviewer, I need to not accidentally attempt to review a draft already under review by another reviewer.
Specifically, the work is to build on T195545 by doing these things:
* When "Articles for Creation" is selected:
** The feed is filtered by default to the pages in the draft namespace that are of state "Awaiting review" (see bullets below for exact criteria of the different types of drafts).
** The "Set filters" menu contains only the "State" options, with the default setting being "Awaiting review". These options are radio buttons -- only one can be selected at a time. Below are the "State" options and the criteria for identifying them with categories. If categories prove difficult to use, it may also be possible to detect these pages based on values of "[[ https://en.wikipedia.org/wiki/Template:AFC_submission | Template:AFC submission ]]", similarly to how the "[[ https://en.wikipedia.org/wiki/Template:AFC_statistics | Template:AFC statistics" page ]] is made. Here are the criteria using categories:
*** **Unsubmitted**: pages in draft space that are not redirects AND do not have "[[ https://en.wikipedia.org/wiki/Category:Pending_AfC_submissions | Category:Pending AfC submissions ]]" AND do not have the "AFC_submission/declined" template.
*** **Awaiting review** [selected by default]: pages in draft space that are not redirects AND have "[[ https://en.wikipedia.org/wiki/Category:Pending_AfC_submissions | Category:Pending AfC submissions ]]".
*** **Under review**: pages in draft space that are not redirects AND have "[[ https://en.wikipedia.org/wiki/Category:Pending_AfC_submissions_being_reviewed_now | Category:Pending_AfC_submissions being reviewed now ]]".
*** **Declined**: pages in draft space that are not redirects AND do not have "[[ https://en.wikipedia.org/wiki/Category:Pending_AfC_submissions | Category:Pending AfC submissions ]]" AND //do have// the "AFC_submission/declined" template.
*** **All drafts**: all pages in draft space that are not redirects.
** The selected state is listed next to the word "Showing" in the list's header, e.g. "Showing: Awaiting review"
Note: the specifics listed above and the wireframe shown below may be changed by ongoing community conversation around the design, [[ https://en.wikipedia.org/wiki/Wikipedia_talk:WikiProject_Articles_for_creation/AfC_Process_Improvement_May_2018 | which can be found here ]].
Here is a wireframe of what the feed would look like after this work, showing the NPP/AfC toggle and the filter menu (note that this wireframe does not show many of the details that should remain unchanged, like the info listed with each page in the list):
{F18603224}