2107: autocomplete prefers full name, would be better to prefer username

mattg******@gmai***** (Google Code) (Is this you? Claim this profile.)
Feb. 4, 2014
What version are you running?


What's the URL of the page containing the problem?


What steps will reproduce the problem?
1. post a review
2. navigate to the review's page to add reviewers (people/groups)
3. type a username that's also a first name (for example, say "Joe Andersen" has username "janders", and "Joe Smith" has username "joe" -- type joe)

What is the expected output? What do you see instead?

I'd prefer that if I type something that matches multiple users (by username and/or full name), it prefers to match username. Instead, it sorts alphabetically by full name.

What operating system are you using? What browser?

Chrome 11, Mac OS 10.6.

Please provide any additional information below.

I like to navigate the RB UI from the keyboard. I can fill in reviewers entirely from the keyboard as long as their first names or usernames are unique -- this is more likely true for usernames. However, if usernames and first names collide, I get a list I have to navigate down an arbitrary distance with arrow keys or mouse which is slower. Note that I can't just type enough of the full name to disambiguate, because spaces break autocomplete.
#1 chipx86
  • +Confirmed
  • +Milestone-Release1.6.x
#2 hongb*****@gmai***** (Google Code) (Is this you? Claim this profile.)
  • -Confirmed
  • +hongb*****@gmai***** (Google Code)
#4 owen****@fastm****** (Google Code) (Is this you? Claim this profile.)
If there is to be no way to just enter a username without triggering autocompletion then make sure that the list of choices is sorted shortest matching username first so that if you have 'joe' and 'joesmith' you get 'joe' not 'joesmith' if you type 'joe' - you can always type 'joes' then autocomplete if you want 'joesmith' but if sorted longer name first you are forced into either extra keystrokes or using the mouse.
#5 david
  • -Milestone-Release1.6.x
#6 david
  • -hongb*****@gmai***** (Google Code)
#7 david
Fixed in master (3670907). This will ship in 2.0 beta 3.
  • -PendingReview