Page MenuHomePhabricator

FR: Support metrics calculation and display for more than 100 pages
Closed, ResolvedPublicFeature

Description

Feature summary (what you would like to be able to do and where):

I would like the TechDocs dashboard to not truncate PagePiles that contain more than 100 pages.

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):

As a user of the technical documentation dashboard, I may need to assess the quality, freshness, or other doc data for collections of pages larger than 100. For example:

https://www.mediawiki.org/wiki/Category:MediaWiki_development has 203 pages (not including any of those in subcategories)
https://wikitech.wikimedia.org/wiki/Category:Data_platform has 228 pages

Benefits (why should this be implemented?):

This enables users of the dashboard to assess all pages in a collection, rather than just a subset of pages.
The current behavior is hidden and a bit confusing -- how does the application decide which pages to include and which to drop?

Event Timeline

KBach changed the task status from Open to In Progress.Nov 5 2024, 2:58 PM
KBach claimed this task.
KBach triaged this task as Low priority.

I have submitted a patch that increases the PagePile size limit to 230. We'll test the application with this higher limit and, if we see no issues, increase it further.

I have also fixed a bug that prevented us from making this change more dynamically via configuration.

This change is now live. I've set the size limit to 230, which means the dashboard only ever processes the first 230 pages in a given page pile. The truncated list of pages that will be processed is displayed immediately after you click "Load".

Closing this as resolved, please feel free to reopen if necessary.