Page MenuHomePhabricator

Add wishes parser function and Vue app to fetch and display wishes on wish index page
Closed, ResolvedPublic8 Estimated Story Points

Description

What + Why

We need a new Vue app that gets loaded by the {{#CommunityRequests: wish-index}} parser function. It needs pagination, so we no longer need to list all wishes on one page as we do with the bot/gadget.

As a starting point, we'll have just a basic list of wishes with sortable columns. Filters and other features will come later.

Acceptance criteria

  • The parser function {{#CommunityRequests:wish-index}} should render wishes. It should take the following optional arguments:
    • lang – which translations to fetch (defaults to site language)
    • sort – either created, title, or votecount (default created)
    • dir – either ascending or descending (default descending)
  • The parser function should render a table of wishes with the columns "Title", "Focus area", "Votes", "Created" and "Status"
  • You should be able to paginate through wishes
  • You should be able to change the sorting for the "Title", "Votes" and "Created" columns

QA Results - Commtech.toolforge

ACStatusDetails
1T401270

Event Timeline

Cparle renamed this task from New Vue app to fetch and display wishes to <community-requests /> parser tag and new Vue app to fetch and display wishes.Mar 7 2025, 11:50 AM
Cparle renamed this task from <community-requests /> parser tag and new Vue app to fetch and display wishes to Add <community-requests> parser tag and new Vue app to fetch and display wishes.
MusikAnimal renamed this task from Add <community-requests> parser tag and new Vue app to fetch and display wishes to Add <community-requests> parser tag and Vue app to fetch and display wishes on wish index page.Mar 10 2025, 6:04 PM
MusikAnimal updated the task description. (Show Details)
MusikAnimal set the point value for this task to 8.Apr 29 2025, 5:05 PM
KSiebert updated the task description. (Show Details)
KSiebert updated the task description. (Show Details)
KSiebert updated the task description. (Show Details)
MusikAnimal renamed this task from Add <community-requests> parser tag and Vue app to fetch and display wishes on wish index page to Add <wishes> parser tag and Vue app to fetch and display wishes on wish index page.Jun 26 2025, 10:27 PM
MusikAnimal updated the task description. (Show Details)
MusikAnimal renamed this task from Add <wishes> parser tag and Vue app to fetch and display wishes on wish index page to Add wishes parser function and Vue app to fetch and display wishes on wish index page.Jul 10 2025, 8:02 PM
MusikAnimal updated the task description. (Show Details)

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

[mediawiki/extensions/CommunityRequests@master] Wish index page

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

KSiebert changed the task status from Open to In Progress.Jul 16 2025, 9:49 AM

Change #1167986 merged by jenkins-bot:

[mediawiki/extensions/CommunityRequests@master] Add WishIndexTemplateRenderer and WishIndexTable; fix issue with LIMIT

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

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

[mediawiki/extensions/CommunityRequests@master] WishIndexTable: hide 'last page' button and rm related logic

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

We decided to hide the "last page" button to remove the dependency on T401027. I've adjusted the acceptance criteria accordingly.

Change #1177457 merged by jenkins-bot:

[mediawiki/extensions/CommunityRequests@master] WishIndexTable: hide 'last page' button and rm related logic

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

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