User Story:
As a user engaging with the wishlist, when I want to find a particular wish, I should be able to sort by certain criteria.
Acceptance criteria:
Given that I'm engaging with the wishlist, when I want to see the data by a different look, then I should be able to sort specific columns
- date
- status
- type
- And sorting should be local to my computer.
And I should not see a sort option for name, project, or focus area(This is not simple to implement at this stage, so is being left out for now. All columns will be sortable.)
Details for QA:
- Sorting of any column should work.
- Note that dates should sort correctly (i.e. in date order, not alphabetical). They sort by time, even though the time is not shown (so that wishes created on the same day should still sort in the correct order of time of creation).
- The sort buttons should display correctly for RTL languages as well (e.g. not overlap with the column header label).
Impact:
- find wishes of interest, user will be able to sort list of all wishes to their preference
Designs:
- The sorting system is part of MediaWiki core, so doesn't need any special design considerations.
Derived Requirement
Ensure the table of wishes on the wish index page supports sorting by date, status, and type, with correct handling of dates and compatibility with RTL languages.
BDD
Feature: Sorting Functionality for Wish Table
Scenario: Enable sorting by date, status, and type
Given the user is on the wish index page When the user clicks on the column headers for date, status, or type Then the table should be sorted accordingly
Test Steps
Test Case 1: Enable Sorting by Date, Status, and Type
Open Wikipedia on the Minerva skin and navigate to the wish index page.
Click the "Date" column header to sort by date.
Click the "Status" column header to sort by status.
Click the "Type" column header to sort by type.
✅❓❌⬜ AC1: Confirm that the table sorts correctly by date, status, and type.
✅❓❌⬜ AC2: Confirm that the table sorts correctly by date, status, and type with RTL.
QA Results - Wishlist-test.toolforge
AC | Status | Details |
---|---|---|
1 | ✅ | T367160#9931793 |
2 | ✅ | T367160#9997176 |