Task to improve the Suggested Edits module when no Suggested Edits are available, and address: T368405: Special:Homepage is rendered much slower (<1 sec to 2+ sec).
User story & summary:
As a newcomer visiting my Homepage, I want the Suggested Edits module to display helpful information even when there are no Suggested Edits available, so that I'm encouraged to contribute to Wikipedia.
Background & research:
this "mobile preview with edit-count" was introduced in Fall 2019 for T235810: Newcomer tasks: mobile preview.
In Fall 2020 it was switched to showing the first task right away instead, at least for some variants: T258021: Variant C/D: mobile preview for suggested edits module with first suggested edit.
The "mobile preview with edit-count" still displays on mobile as the empty state / when there are no suggested edits available. The edit-count is pulled from the Analytics Query Service (AQS) for every Homepage load, even when the the empty state isn't displayed, and is slowing down the page load.
The edit-count is currently rendering as "0". The "0" is the server-rendered response when it failed to retrieve the number of edits from the AQS. Once javascript kicks in, it will show as because the widget does not expect to get something that is not a number. (in this case it gets the error message from the server)
Current Designs:
Current Mobile Preview Suggested Edit empty state:
Current Desktop Suggested Edit layout:
Ideas
Match the current Desktop design: "No suggested edits are available at this time."- Consider different copy: "Currently no structured tasks available. Try selecting more topics and task-types or check back later."
Consider surfacing other information that might be more helpful for newer editors (we could consider using the community configurable "Help panel links" to surface the the first help link).Hide the Suggested Edits module when there are no suggestions available.
New Designs:
(1) Change the empty state mobile preview to:
(2) If the arrow is clicked, the mobile Suggested Edits module empty state is shown:
Acceptance Criteria:
- Update mobile preview "No suggestions" empty state to match "New Designs" above