This The work in this the first cohesive,ask and in T195924 make up the first 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 thesethis user stories:y:
* 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 theto all 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 categoriesIt does not matter what is in the "Set filters" menu. If categories prove difficult to useIt could either be blank, it may also be possible to detect these pages based on values of "[[ https://en.wikipedia.org/wiki/Template:AFC_submission | Template:AFC submission ]]"not able to open, similarly to howor contain the "[[ https://en.wikipedia.org/wiki/Template:AFC_statistics | Template:AFC statistics" page ]] is madesame options as when "New page patrol" is selected. Here are the criteria using categories:
*** **Unsubmitted**: pages in draft space that do not have the following criteria from "Awaiting review", "Under review"The reason this doesn't matter is that the work in this task would likely not roll out until T195924 is also complete, or "Declined".
*** **Awaiting review** [selected by default]: have "[[ https://en.wikipedia.org/wiki/Category:Pending_AfC_submissions | Category:Pending AfC Submissions ]]"which is the work to add the appropriate AfC filters to the "Set filters" menu.
*** **Under review**: have "[[ https://en.wikipedia.org/wiki/Category:Pending_AfC_submissions_being_reviewed_now | Category:Pending_AfC_submissions being reviewed now ]]" It does not matter what is written next to the word "Showing" in the list's header, e.g. "Showing: reviewed". It could just say "Showing: all drafts" for now. Also pending the work in T195924.
*** **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 ]]" Drafts in the feed can all have the blue exclamation point icon.
*** **All**: all pages in draft space.
** The selected state is listed next to the word "Showing" in the list's header, e.g.** When using the New Pages Feed currently, "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" buttonusers with the "new page reviewer" right will see a blue "Review" button next to each entry in the list. That button is simply a link to the page, and we can just keep the existing logic and let it be present next to all entries in the list when AfC is selected, which is a link to the draft's pageas well (for users that have the "new page reviewer" right).
* The page list in the feed remains unchanged, retaining the elements of page title, bytes, edits, number of categories, created date, author, etc.
* When drafts are listed in the feed, their title should include their "Draft:" prefix, e.g. "Draft:Abeotaxane".
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):
{F18584572}603046}