Page MenuHomePhabricator

Blocked notification when trying to edit hides automatically
Closed, ResolvedPublic


Imagine the following case: You're blocked from editing a page (for whatever reason) and you click the edit button on the mobile phone (using the mobile view). What you get is a notification toast message, which tries to inform you, that you're blocked with the info who and for what reason you were blocked. However, the toast automatically hides after 5 seconds. Depending on the text and the length of the reason this doesn't seem to be enough for the user to get the information what the message aims to provide. The notification should not hide automatically, but only, if the user taps it.

Originally mentioned in OTRS ticket:;TicketID=9984430

Event Timeline

Change 354026 had a related patch set uploaded (by Florianschmidtwelzow; owner: Florianschmidtwelzow):
[mediawiki/extensions/MobileFrontend@master] Do not hide the toast for the blocked message

Jdlrobson added a subscriber: Jdlrobson.

We'll also probably want to make this actionable in some way (see T150189 and T164853)

Change 354026 merged by jenkins-bot:
[mediawiki/extensions/MobileFrontend@master] Do not hide the toast for the blocked message

@Jdlrobson - what would be the best way to test this? Also, which cases does it include - in particular, is it just when the user is blocked, or also for protected articles?

You can test this on reading web staging using the account BlockedUser. You can message me for the password. Now the toast can only be dismissed by clicking it. The experience is still poor because of T155835.