Task to improve the Suggested Edits module when no Suggested Edits are available, and address: {T368405}.
####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}.
In Fall 2020 it was switched to showing the first task right away instead, at least for some variants: {T258021}.
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:
{F55970704}
Current Desktop Suggested Edit layout:
{F55970378}
[[ https://wikimedia.invisionapp.com/console/share/2TU9L4HJAKW/387508119 | Invision mockup ]].
####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.~~
####Designs:
(1) Change the empty state mobile preview to:
{F55981674}
(2) If the arrow is clicked, the mobile Suggested Edits module empty state is shown:
{F55981701}
####Acceptance Criteria:
[] Design a new empty state for the structured tasks mobile preview that does not include the edit count data.
[] Optional: Design a new empty state for desktop.