Page MenuHomePhabricator

Wishlist Archive
Closed, ResolvedPublic

Description

User Story:

Given that I am viewing the community wishlist survey homepage and I want to view all old wishes, then I should see a link to "view all" archived wishes, and clicking that should open a table with all wishes that are archived

Acceptance criteria:

  • Wish name
  • # of votes
  • Assigned focus area ('uncategorized' if not in one)
  • Category/type
  • Project(s)
  • I should be able to sort by all columns
  • I should be able to paginate wishes (30)
  • I should be able to search by title
  • make sure status column is not available as it will always be archived here

Benefits (why should this be implemented?):

  • review archived wishes

Derived Requirement

Implement a comprehensive wishlist archive page where users can view, sort, paginate, and search archived wishes with specific details.

BDD

Feature: Wishlist Archive Page

Scenario: View all archived wishes

Given I am on the community wishlist survey homepage
When I click the "view all" archived wishes link
Then I should see a table with all archived wishes

Scenario: Sort archived wishes by columns

Given I am viewing the archived wishes table
When I click on a column header
Then the table should sort by that column

Scenario: Paginate archived wishes

Given I am viewing the archived wishes table
When I navigate to the next page
Then I should see the next set of 30 wishes

Scenario: Search archived wishes by title

Given I am viewing the archived wishes table
When I enter a title in the search box
Then I should see wishes matching that title
Test Steps

Test Case 1: View Archived Wishes

Open the community wishlist survey homepage.
Click on the "view all" archived wishes link.
✅❓❌⬜ AC1: Confirm the display of a table with all archived wishes.
Test Case 2: Sort Archived Wishes by Columns

View the archived wishes table.
Click on any column header.
✅❓❌⬜ AC2: Confirm the table sorts by the selected column.
Test Case 3: Paginate Archived Wishes

View the archived wishes table.
Navigate to the next page of the table.
✅❓❌⬜ AC3: Confirm the display of the next set of 30 wishes.
Test Case 4: Search Archived Wishes by Title

View the archived wishes table.
Enter a title in the search box.
✅❓❌⬜ AC4: Confirm the display of wishes matching the title.

Impact:

Designs:

https://www.figma.com/design/JcTMFwbEJPpCKBiZ16Jkel/Future-of-the-Wishlist?node-id=1769-37098&t=YJyl1iXqxPTVv2M8-1

QA Results - Wishlist-test.toolforge

Details

Other Assignee
GMikesell-WMF

Event Timeline

• KSiebert updated the task description. (Show Details)
• KSiebert updated the task description. (Show Details)
MusikAnimal subscribed.

I think this is done? Refer to Figma for designs

GMikesell-WMF updated the task description. (Show Details)
GMikesell-WMF updated the task description. (Show Details)
dom_walden subscribed.

I have tested archiving a few wishes and seeing them added to the Template:Community Wishlist/Wishes/Archive/<lang>.

Differences to the AC:

  • We don't have # of votes (voting not implemented yet)
  • We don't have pagination (will be implemented in T367244)

@JWheeler-WMF Please review errors below. Not sure how much detail you want but I'm just basing what I see from the Figma link. I do not include any of the table lines and header colors since I think I remembered that Figma wasn't updated, though we should have comments on the Figma saying this is for future use but not current, along with anything else that I should not count as an issue.

Test Result - Wishlist-test.toolforge

Status: ❌ FAIL
Environment: Wishlist-test.toolforge
OS: macOS Sonoma 14.5
Browser: Chrome 126
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: View Archived Wishes

Open the community wishlist survey homepage.
Click on the "view all" archived wishes link.
✅ AC1: Confirm the display of a table with all archived wishes.

image.png (1,286×1,107 px, 204 KB)

Test Case 2: Sort Archived Wishes by Columns

View the archived wishes table.
Click on any column header.
✅AC2: Confirm the table sorts by the selected column.

2024-07-15_10-04-08.mp4.gif (794×976 px, 704 KB)

Test Case 3: Paginate Archived Wishes

View the archived wishes table.
Navigate to the next page of the table.
⬜ AC3: Confirm the display of the next set of 30 wishes.
Unable to test right now.

Test Case 4: Search Archived Wishes by Title

View the archived wishes table.
Enter a title in the search box.
❌AC4: Confirm the display of wishes matching the title.

  1. Cosmetic issues of not matching Figma.
2024-07-15_07-34-31.png (1,278×705 px, 138 KB)
2024-07-15_07-38-48.png (898×295 px, 38 KB)
  1. Unable to search by title

2024-07-15_07-33-25.mp4.gif (1,274×648 px, 350 KB)

  1. Where are we supposed to see "# of votes" since it's in the description of this task but it's also not even in Figma? Where on the intake form can we have it populate "Focus area" besides having it "Unassigned"?