Page MenuHomePhabricator

"Username taken" warning is too fast and alarming
Closed, ResolvedPublic

Description

Today I helped two women register on Wikipedia, observing them from behind their shoulder. In both cases, while they were typing the username of choice, which started with their first name, the JavaScript red box warning popped up to alert that the username was taken. Both stopped typing to look at the warning, mildly alarmed, and I had to encourage them to just continue typing.

The warning, while helpful and an improvement over reloading the form, is unnecessarily distracting and alarming in many cases.

  • A simple improvement might be to "fire" the warning only some (fraction of) seconds after the user has stopped typing.
  • Alternatively, the level of alarm should be more carefully dosed. For instance it could start as a green informative box "you're doing well, but continue typing" for simple clashes and become a red warning e.g. when a titleblacklist rule was hit.

It would be interesting to know how many times we're showing the warning.


Version: unspecified
Severity: normal

Details

Reference
bz71744

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:51 AM
bzimport set Reference to bz71744.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to Nemo from comment #0)

  • A simple improvement might be to "fire" the warning only some (fraction

of) seconds after the user has stopped typing.

We already do that – the username is checked 250 ms after the user stops typing (plus a couple milliseconds for the API request). This delay was mostly added to prevent unnecessary network requests rather than as user experience improvement, perhaps it should be increased.

(In reply to Bartosz Dziewoński from comment #1)

This delay was
mostly added to prevent unnecessary network requests rather than as user
experience improvement, perhaps it should be increased.

Worth trying, IMHO. I think it's safe to assume the user takes at least 1 second to type password twice and confirm the form?

gerritadmin wrote:

Change 171806 had a related patch set uploaded by Nemo bis:
Let users type their username for 1 s during registration before barking

https://gerrit.wikimedia.org/r/171806

gerritadmin wrote:

Change 171806 merged by jenkins-bot:
Let users type their username for 1 s during registration before barking

https://gerrit.wikimedia.org/r/171806

Aklapper claimed this task.
Aklapper subscribed.

This seems to work fine now (at least for me). Also updates 1sec after changing the username.

If it does not work for you, please describe which issues are left to solve