Page MenuHomePhabricator

Display list of wishes in focus area page
Closed, ResolvedPublic5 Estimated Story Points

Assigned To
Authored By
HMonroy
Sep 16 2025, 7:39 PM
Referenced Files
F66332099: 2025-09-23_12-26-12.png
Sep 23 2025, 10:55 PM
F66331707: 2025-09-23_12-23-49.mp4
Sep 23 2025, 10:55 PM
F66331580: 2025-09-23_12-13-41.png
Sep 23 2025, 10:55 PM
F66331516: 2025-09-23_12-13-10.mp4
Sep 23 2025, 10:55 PM
F66330963: 2025-09-23_12-11-20.mp4
Sep 23 2025, 10:55 PM
F66331045: FASupport.webm
Sep 23 2025, 10:55 PM

Description

Steps to replicate the issue (include links if applicable):

  • Scroll to "Wishes in this focus area" section

What happens?:

  • There is no listed wishes in the focus area

What should have happened instead?:

  • There should be listed wishes in the focus area if there are any wishes associated to the focus area.

Derived Requirement

On a Focus Area page (e.g., Community_Wishlist/Focus_areas/FA7), the “Wishes in this focus area” section must:

  • Display a list of wishes that are associated with the given focus area.
  • Show wish titles as links to their detail pages.
  • Display an empty state message (e.g., *“No wishes have been added to this focus area yet”*) if no wishes exist.

Test Result - Beta|Prod

Status: ✅ PASS / ❓Need More Info / ❌ FAIL
Environment: beta/MetaWiki
OS: macOS Tahoe 26.0
Browser: Chrome 140
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: Focus Area with Wishes

  1. Navigate to a focus area page that has associated wishes (e.g., Community_Wishlist/Focus_areas/FA7).
  2. Scroll to the “Wishes in this focus area” section.
  3. ✅❓❌⬜ AC1: List of wishes is displayed and each wish title is clickable and links to the correct wish detail page.

Test Case 2: Focus Area with No Wishes

  1. Navigate to a focus area page with no associated wishes.
  2. Scroll to the “Wishes in this focus area” section.
  3. ✅❓❌⬜ AC2: An empty state message is displayed (e.g., *“No wishes have been added to this focus area yet”*).

Test Case 3: Data Consistency Check

  1. Use the API (list=communityrequests-wishes&crwfocusareas=FA7) to fetch wishes for the same focus area.
  2. Compare API results with the wishes displayed on the page.
  3. ✅❓❌⬜ AC3: The list on the page matches the API results.

QA Results - Meta Beta

ACStatusDetails
1Pass per T404763#11212335
2Pass per T404763#11212335
3Pass per T404763#11212335

Event Timeline

MusikAnimal set the point value for this task to 5.Sep 17 2025, 9:02 PM

Change #1189369 had a related patch set uploaded (by MusikAnimal; author: MusikAnimal):

[mediawiki/extensions/CommunityRequests@master] Show wish index table on focus area detail page

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

Change #1189369 merged by jenkins-bot:

[mediawiki/extensions/CommunityRequests@master] Show wish index table on focus area detail page

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

Change #1189917 had a related patch set uploaded (by MusikAnimal; author: MusikAnimal):

[mediawiki/extensions/CommunityRequests@master] WishIndexTable.vue: hide the focus area when filtering by a single FA

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

Change #1189917 merged by jenkins-bot:

[mediawiki/extensions/CommunityRequests@master] WishIndexTable.vue: hide the focus area when filtering by a single FA

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

@MusikAnimal Please review the issues below. If you have any questions, please let me know. Thanks!

Test Result - Meta Beta

Status: ❌ FAIL
Environment: Meta Beta
OS: macOS Tahoe 26.0
Browser: Chrome 140
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: Focus Area with Wishes

  1. Navigate to a focus area page that has associated wishes (e.g., Community_Wishlist/Focus_areas/FA7).
  2. Scroll to the “Wishes in this focus area” section.
  3. AC1: List of wishes is displayed and each wish title is clickable and links to the correct wish detail page.

Support says 2 people supported but there are 3 wishes supported. Did you want "Supported by" and "View wishes in the area" both to go to the same place? Repetitive no?

Test Case 2: Focus Area with No Wishes

  1. Navigate to a focus area page with no associated wishes.
  2. Scroll to the “Wishes in this focus area” section.
  3. AC2: An empty state message is displayed (e.g., *“No wishes have been added to this focus area yet”*).

On the FA card it has 0 people supported but it shows multiple wishes still, even with votes.

Test Case 3: Data Consistency Check

  1. Use the API (list=communityrequests-wishes&crwfocusareas=FA7) to fetch wishes for the same focus area.
  2. Compare API results with the wishes displayed on the page.
  3. AC3: The list on the page matches the API results.
Supported byWishes in FA w/Support
2025-09-23_12-13-41.png (967×983 px, 194 KB)

Pulling the wishes from the table but the FA card supposed to have 0 support

Supported byWishes in FA w/no Support
2025-09-23_12-26-12.png (892×938 px, 152 KB)
GMikesell-WMF changed the task status from Open to In Progress.Sep 23 2025, 10:56 PM
GMikesell-WMF updated the task description. (Show Details)
GMikesell-WMF moved this task from QA to In Development on the Community-Tech (Sea Lion Squad) board.

Test Case 1: Focus Area with Wishes

  1. AC1: List of wishes is displayed and each wish title is clickable and links to the correct wish detail page.

Support says 2 people supported but there are 3 wishes supported.

  1. AC2: An empty state message is displayed (e.g., *“No wishes have been added to this focus area yet”*).

On the FA card it has 0 people supported but it shows multiple wishes still, even with votes.

  1. AC3: The list on the page matches the API results.

Pulling the wishes from the table but the FA card supposed to have 0 support

The support count shown on the focus area card refers to the number of votes on the focus area itself, not the sum of votes of all wishes belonging to the focus area. But it might be nice to reveal that info, though! Feel free to file a task for this as a feature request :)

Did you want "Supported by" and "View wishes in the area" both to go to the same place? Repetitive no?

Yeah we discussed this with Joy and I think we want the "Supported by" to link to the #Votes section, and we'll make the focus area title the link, and change "View all wishes in this focus area" to simply show the count of wishes.

Test Case 1: Focus Area with Wishes

  1. AC1: List of wishes is displayed and each wish title is clickable and links to the correct wish detail page.

Support says 2 people supported but there are 3 wishes supported.

  1. AC2: An empty state message is displayed (e.g., *“No wishes have been added to this focus area yet”*).

On the FA card it has 0 people supported but it shows multiple wishes still, even with votes.

  1. AC3: The list on the page matches the API results.

Pulling the wishes from the table but the FA card supposed to have 0 support

The support count shown on the focus area card refers to the number of votes on the focus area itself, not the sum of votes of all wishes belonging to the focus area. But it might be nice to reveal that info, though! Feel free to file a task for this as a feature request :)

@MusikAnimal I see now, that makes sense. Ok, I will pass this task, but I did create a feature request task regarding the wishes votes on FA cards, as seen on T405768: Show total votes from wishes within a Focus Area card

GMikesell-WMF updated Other Assignee, removed: GMikesell-WMF.
GMikesell-WMF updated the task description. (Show Details)