New Pages Feed: submitted date sorting option for drafts (2)
Open, NormalPublic8 Story Points

Description

This is the second cohesive, useful feature change that we could roll out to users. The work in the task roughly accomplishes these user stories:

  • As an AfC reviewer, I need to be able to sort the feed by the most recent submission date of the draft, both by newest submission date and oldest submission date.

Specifically, the work is to:

  • For drafts of states "Awaiting review", "Under review", and "Declined", change the "Sort by" radio buttons to a dropdown. If it is easier to change the radio buttons to a dropdown for all use cases (all draft states and for NPP), that's fine.
  • For drafts of states "Awaiting review" and "Under review":
    • The options in the dropdown should be:
      • Created date (newest)
      • Created date (oldest)
      • Submitted date (newest)
      • Submitted date (oldest)
    • "Submitted date" refers to the most recent date that a draft has been submitted to AfC, even if it has been submitted multiple times. Therefore, "Submitted date (oldest)" sorts to those drafts whose most recent submitted date is oldest. Submitted date can be detected in multiple potential ways, giving us options for how to engineer this functionality:
  • For drafts of state "Declined":
    • The options in the dropdown should be:
      • Created date (newest)
      • Created date (oldest)
      • Declined date (newest)
      • Declined date (oldest)
    • "Declined date" refers to the most recent date that a draft has been declined from AfC, even if it has been declined multiple times. Therefore, "Declined date (oldest)" sorts to those drafts whose most recent declined date is oldest. Declined date can be detected in multiple potential ways, giving us options for how to engineer this functionality:
  • For pages not of those three states, the two "Submitted date" options should not be present.
  • The two "Created date" options use the same criteria as the current New Pages Feed uses for "Newest" and "Oldest".

Note: the specifics listed above and the wireframe shown below may be changed by ongoing community conversation around the design, which can be found here.

Here is a wireframe of what the feed would look like after this work, showing the changes to the "Sort by" options:

MMiller_WMF renamed this task from New Pages Feed: submitted date sorting option for drafts to New Pages Feed: submitted date sorting option for drafts (2).May 25 2018, 12:33 AM
MMiller_WMF updated the task description. (Show Details)
MMiller_WMF removed MMiller_WMF as the assignee of this task.
MMiller_WMF updated the task description. (Show Details)May 28 2018, 7:15 PM
MMiller_WMF updated the task description. (Show Details)May 28 2018, 9:28 PM
kaldari set the point value for this task to 8.May 30 2018, 12:04 AM
MMiller_WMF updated the task description. (Show Details)Jun 1 2018, 10:31 PM

@Samwilson @MusikAnimal -- just updated this task to include "Declined date" in the UI for drafts of state "Declined", since you said we would be storing this information anyway.

MusikAnimal moved this task from Ready to In Development on the Community-Tech-Sprint board.

Change 442979 had a related patch set uploaded (by MusikAnimal; owner: MusikAnimal):
[mediawiki/extensions/PageTriage@master] Allow sorting of AfC drafts by submission date

https://gerrit.wikimedia.org/r/442979

Vvjjkkii renamed this task from New Pages Feed: submitted date sorting option for drafts (2) to gbcaaaaaaa.Sun, Jul 1, 1:08 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii removed MusikAnimal as the assignee of this task.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed the point value for this task.
Vvjjkkii removed subscribers: gerritbot, Aklapper.
Niharika renamed this task from gbcaaaaaaa to New Pages Feed: submitted date sorting option for drafts (2).Mon, Jul 2, 3:11 PM
Niharika lowered the priority of this task from High to Normal.
Niharika assigned this task to MusikAnimal.
Niharika updated the task description. (Show Details)
Niharika set the point value for this task to 8.
kostajh added a subscriber: kostajh.Tue, Jul 3, 5:51 PM

Change 442979 merged by Samwilson:
[mediawiki/extensions/PageTriage@master] Allow sorting of AfC drafts by submission date

https://gerrit.wikimedia.org/r/442979

@Etonkovidova -- this is now ready for your review on Beta. It will be on Test Wiki with the Tuesday train.