Page MenuHomePhabricator

Improving 'Wrong password' error message in Commons app
Closed, ResolvedPublic

Description

  1. Start Commons app for Android.
  2. Introduce wrong username or password.

EXPECTED

Error message tells me that either my login or password are incorrect. It is clear that it's my fault.

Error message is well visible. My wrong credentials are deleted and focus is back to Username, so I can type right away.

ACTUAL

"Login failed!" What happened? Server down? Internet connection down? Or did I do something wrong?

Also, the error message appears with dark background on top of dark keyboard for a second or so. Not the most evident place and form, and probably underneath my thumb as I wait to log in.

My credentials stay on the screen, so my eyes see little change. Also, I have to delete manually those wrong credentials once I ave figured out what is going on.


Version: unspecified
Severity: enhancement
Platform: Smartphone

Details

Reference
bz45370

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:23 AM
bzimport set Reference to bz45370.
bzimport added a subscriber: Unknown Object (MLST).

Fixed in b84d00330ec25e16c72f5320eca6d33f2d74f741.

Current specific Error messages are:

Network failure - 'Unable to login - network failure'
User name issue - 'Unable to login - please check your username'
Password issue - 'Unable to login - please check your password'
Throttled - 'You have had too many unsuccessfull attempts. Please try again in 5 minutes'
Blocked - 'Sorry, this user has been blocked on Commons'
Other (shouldn't really happen) - 'Login failed'

This turns up as a red colored prominent notice right above the username field. I also clear the password field appropriately, but not username. And login button is disabled if both fields are empty.