4 ms·
Search-as-you-type would indeed be good for prefix data, but the search box itself checks quite a bit -- one-word searches are regularly in the 1,000-card range
by blinks 18y ago
Search-as-you-type would indeed be good for prefix data, but the search box itself checks quite a bit -- one-word searches are regularly in the 1,000-card range. I'll look into it, though; I agree that it would improve things.
My UI is terrible, I know. "Leftify" is a great term, btw. Do you think it's visible enough from the header, or should I move it down?
As for "known set of data," the query language is a full, SQL-like language (including compiler to SQL). This is another issue with the search-as-you-type, but compiling an 80-character (ish) search and getting a few results back should be quick and easy, so I'll see what I can do.
Also, did you notice the sorting option, or was it too hidden?
- andrewljohnson 18y agoDoing an autocomplete for that is no problem. Just use YUI autocomplete and set up a remote JSON data source. That's what we do, and we have millions of names to complete: http://www.trailbehind.com http://www.trailbehind.com Here's the YUI library: http://developer.yahoo.com/yui/autocomplete/ http://developer.yahoo.com/yui/autocomplete/ I can send you the code for my autocomplete widget if you want. Email me at andrewljonson [at] trailbehind [dot] com
- blinks 18y agoThanks for the link -- I'll take a look. It'll be much more useful when I have dedicated card pages.