News for hackers. Stuff that matters.
Re:Redesigning the country selector by mmastrac on Thursday November 10, 2011 @12:01PM (#3220776)
While this has a nice UI, it suffers from a ranking system that fails to weight prefixes correctly.

For those of us in Canada, typing "ca" should probably rank countries that start with the "ca" prefix first, followed by countries that have a word that starts with "ca", finally followed by countries that just happen to contain "ca".

I don't see much use in showing "United States" as the first match for a user who has typed "c" and "a".

The same problem exists for the prefix: "uni". The list in that case is:

  United States
  United Kingdom
  Réunion
  Tanzania, United Republic of
  Tunisia
  United Arab Emirates
  United States Minor Outlying Islands
Re:Redesigning the country selector by ajankovic on Thursday November 10, 2011 @02:41PM (#3221505)
That seams as a minor mistake compared to not be able to type the name of the country in my native language. I guess that is not so obvious to the native English speaking users but it's the required feature if you are considering usability improvement as a goal of redesign.
Re:Redesigning the country selector by jisaacstone on Thursday November 10, 2011 @03:13PM (#3221647)
Yes this is missing the oft-overlooked option of synonyms.

There is no reason why the auto-complete cannot have something like this:

     <option value="DE">DE</option>
     <option value="DE">Germany</option>
     <option value="DE">Deutschland</option>
Re:Redesigning the country selector by Someone on Thursday November 10, 2011 @05:36PM (#3222210)
A reason for not doing that is that it looks ugly to show multiple options for the same country.

Another is that that can be confusing. Suppose I want to enter a country whose spelling/native name I am not sure of, and after a few characters, four options remain, three of which are correct, but I do not know that. That can cause a needless google to find out, say, the difference between Liberia, Libya, and Libië.

Re:Redesigning the country selector by thatjoshguy on Thursday November 10, 2011 @08:19PM (#3222881)
In this instance it wouldn't look ugly as they are just three different results that could show up in the search.
Re:Redesigning the country selector by ceol on Friday November 11, 2011 @09:21AM (#3224642)
It would be confusing to the user to give three separate options for the same country and expect them to know they are the same. What it should do is if you type "deuts", it should return

    Germany (Deutschland)
or if you're on a German site and type "germa", it should return

    Deutschland (Germany)
The default/preferred language should be the same as the language of the website, and it should tell the user why it's returning a value that's different than what they're typing.
Re:Redesigning the country selector by kbatten on Thursday November 10, 2011 @04:34PM (#3221987)
This has alternate spellings (data-alternative-spellings). So you can type America and it will show United States.
Re:Redesigning the country selector by steadicat on Thursday November 10, 2011 @12:15PM (#3220824)
I typed 'ita' and the first option was 'United Kingdom'.
Re:Redesigning the country selector by raldi on Thursday November 10, 2011 @03:33PM (#3221745)
The full name is the United Kingdom of Great BrITAin and Northern Ireland.
Re:Redesigning the country selector by vacri on Thursday November 10, 2011 @10:50PM (#3223294)
That's not good enough to explain why United Kingdom (or "the united kingdom of greAt britAin And northern ireland") sits up near the top when you type in 'A'. Who the hell formally refers to the UK with any word starting with 'A'? Anyone claiming to be from 'Albion' in a web form is just intentionally being difficult...
Re:Redesigning the country selector by afterburner on Thursday November 10, 2011 @04:10PM (#3221884)
Wow, I think this autocomplete is too smart for its own good.
Re:Redesigning the country selector by benjoffe on Thursday November 10, 2011 @09:02PM (#3223017)
Precisely, I can't think of any situation where a user would search for a substring of a single word in the country name. If there is some edge-case where the first letter or so can be omitted that should be handled with the alternate-spellings feature.
Re:Redesigning the country selector by mooism2 on Friday November 11, 2011 @02:42AM (#3223808)
But still, Italy should come before the UK for "ita", except maybe if geoip lookup places you in the UK.
Re:Redesigning the country selector by ibelimb on Thursday November 10, 2011 @12:29PM (#3220884)
Perhaps adding a geo-ip look up to help weight the results would make this better? None the less this is a huge improvement then a drop-down with every known country.
Re:Redesigning the country selector by craz on Thursday November 10, 2011 @02:12PM (#3221358)
I've always wondered why more sites don't do this. Even without the fancy auto-complete, just set the default country using a geo-ip lookup.
Re:Redesigning the country selector by mwexler on Thursday November 10, 2011 @04:02PM (#3221857)
Double Edged Sword. While many times I am interested in the country I am in, in many cases, I'm getting info for the next country I am going to. It's frustrating to have to change a default box from where I am to where I want to go, or even not notice that it's set wrong. The real question is: how many people do I annoy compared to how many people are helped? If I help most people, and don't annoy my best customers, then that's a great idea. If my site is used by folks to find out info about countries other than their own, then it might turn out to be a bust.

I would say: test it and see.

Re:Redesigning the country selector by ramy_d on Thursday November 10, 2011 @12:20PM (#3220837)
indeed, still doesn't beat typing 'c' 3 times.
Re:Redesigning the country selector by AlexC04 on Thursday November 10, 2011 @02:01PM (#3221312)
I actually laughed at this. It's a total Canandian "in joke"
Re:Redesigning the country selector by larrik on Thursday November 10, 2011 @02:23PM (#3221406)
It also works for Connecticut on state selections!
Re:Redesigning the country selector by sjs on Thursday November 10, 2011 @03:01PM (#3221595)
That seems odd, I always just type "can".
Re:Redesigning the country selector by astrodust on Thursday November 10, 2011 @07:23PM (#3222677)
It depends on your OS. On some you can type and have it pick the best match, on others 'C' goes to the first C, then 'A' would go to the first A. C+C goes to the second C.
Re:Redesigning the country selector by samgro on Thursday November 10, 2011 @03:20PM (#3221679)
Can anyone explain why 'United States' could possibly be an autocomplete result for 'CA'? I am staring at United States and just can't see a 'C' anywhere... have I totally lost it?
Re:Redesigning the country selector by jqueryin on Thursday November 10, 2011 @03:31PM (#3221736)
Funny enough, I already proposed the same problem and solution with a blog post and sample code for "Re-thinking the State Dropdown with Autocompletion" back in May. Same issues applied, but there was at least some feedback on reddit and optional changes.

http://skookum.com/blog/re-thinking-the-state-dropdown-with-...

http://www.reddit.com/r/Design/comments/h37gb/rethinking_the...

    My blog post links to jsbin sample source so feel free
    to optimize it with all of your proposed fixes.
http://jsbin.com/oxifa3/18/
Re:Redesigning the country selector by raldi on Thursday November 10, 2011 @03:32PM (#3221738)
United States of AmeriCA
Re:Redesigning the country selector by Gormo on Friday November 11, 2011 @02:26AM (#3223778)
For the same reason 'sco' and 'eng' both autocomplete to 'United Kingdom'.
Re:Redesigning the country selector by stuaxo on Friday November 11, 2011 @11:18AM (#3225060)
Came here to say the same thing, it's annoying United Kingdom not coming top when I'm here + typing Uni...