This is the first cohesive, useful feature change that we could roll out to users. This task is written to attempt to minimize the work needed to get something to users as soon as possible. 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 filter to all drafts (not only those submitted to AfC).
* As a reviewer, I need to not accidentally attempt to review a draft already under review by another reviewer.
Specifically, the work is to:
* Add all pages in draft space to the [[ https://en.wikipedia.org/wiki/Special:NewPagesFeed | New Pages Feed ]]. We do not need to add user pages submitted to AfC.
* Add a radio button toggle at the top of the feed so that a reviewer chooses whether they are doing "New page patrol" or "Articles for Creation". Only one of those options can be selected at a time.
* When "New page patrol" is selected, the New Pages Feed is the same as it has always been.
* 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 "Sort by" options are the same as always, with "Newest" and "Oldest" just referring to creation date, as it does for the feed currently.
** 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 do not have the following criteria from "Awaiting review", "Under review", or "Declined".
*** **Awaiting review** [selected by default]: have "[[ https://en.wikipedia.org/wiki/Category:Pending_AfC_submissions | Category:Pending AfC Submissions ]]".
*** **Under review**: have "[[ https://en.wikipedia.org/wiki/Category:Pending_AfC_submissions_being_reviewed_now | Category:Pending_AfC_submissions being reviewed now ]]".
*** **Declined**: have a category that is like "[[ https://en.wikipedia.org/wiki/Category:AfC_submissions_by_date/10_April_2018 | Category:AfC submissions by date/10 April 2018 ]]", but //does not// have "[[ https://en.wikipedia.org/wiki/Category:Pending_AfC_submissions | Category:Pending AfC Submissions ]]".
*** **All**: all pages in draft space.
** The selected state is listed next to the word "Showing" in the list's header, e.g. "Showing: Awaiting review"
* Drafts in the feed can all have the blue exclamation point icon.
* Drafts in the feed can all have the blue "Review" button, which is a link to the draft's page.
* The page list in the feed remains unchanged, retaining the elements of page title, bytes, edits, number of categories, created date, author, etc.
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):
{F18515990}