Page MenuHomePhabricator

Provide an empty state message to indicate when there is no suggested edit type for a given task level
Open, Needs TriagePublic

Description

Problem

In this case:

Capture d’écran_2021-03-30_15-28-40.png (519×528 px, 54 KB)

We should do something to avoid this odd blank space we have now.

Of course, the ideal plan is to have the right templates that would fit there. But sometimes it is not the case.

  • Some communities we work with on scaling may not have the templates we need. This is the case for Serbio-Croatian, where I took this screenshot.
  • We can have communities that could remove things from MediaWiki:NewcomerTasks.json without us noticing it.
Proposed solution

When any level of task difficulty has zero task types, show a explanatory text string (copy TBC)

image.png (1×1 px, 132 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Trizek-WMF added a subscriber: RHo.

Serbio-Croatian will probably get Suggested Edits without any Easy tasks.

We have two possibilities there:

  • Hide the "Easy" section, which would probably confuse users
  • Leave a message saying something like "no tasks have been defined for this wiki".

@RHo, what do you think?

Serbio-Croatian will probably get Suggested Edits without any Easy tasks.

We have two possibilities there:

  • Hide the "Easy" section, which would probably confuse users
  • Leave a message saying something like "no tasks have been defined for this wiki".

@RHo, what do you think?

Hi @Trizek-WMF - I agree it would be confusing to hide a difficulty level, and think your message idea works well. Maybe something like "No tasks at this level at the moment" to indicate that this might change? Also, we could then re-use the same message for any level where there are zero task types attached.

RHo renamed this task from If there is no suggested edit for a given task level, it should be indicated or we should hide this level to Provide an empty state message to indicate when there is no suggested edit type for a given task level.Apr 15 2021, 12:02 PM
RHo updated the task description. (Show Details)
MMiller_WMF added a subscriber: Urbanecm_WMF.

I think that there is one other thing we'll need to change to be robust to this case. Right now, we say that all users should default to the Easy tasks. But for this wiki's case, we would want to default them to Medium tasks. In other words, I think we should generalize the rule from "default to the easy tasks" to "default to the easiest tasks available".

@Urbanecm_WMF -- can you comment on everything in this task? It is likely that this work would go to you for scaling purposes.