Issue 10 in freebase-suggest: Better support for 'soft' suggest

3 views
Skip to first unread message

codesite...@google.com

unread,
Dec 2, 2009, 3:07:19 PM12/2/09
to freebase...@googlegroups.com
Status: New
Owner: ----

New issue 10 by will.moffat: Better support for 'soft' suggest
http://code.google.com/p/freebase-suggest/issues/detail?id=10

In 'soft' mode

* There's no notification when the user enters free-text. How about
triggering 'fb-select' with data=null ?

(I need notification so I can wipe any previously selected Freebase topic)

* And if you type a string that's not in freebase you still get the message:
"No suggested matches. Tips on getting better suggestions [snip]"

Since the developer is allowing free-text, perhaps the default message
should just be "No suggested matches. Press enter to use this text".




--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Dec 10, 2009, 1:37:24 AM12/10/09
to freebase...@googlegroups.com
Updates:
Owner: daepark

Comment #1 on issue 10 by daepark: Better support for 'soft' suggest
http://code.google.com/p/freebase-suggest/issues/detail?id=10

There is an "fb-textchange" event that is triggered on textchange.

You should be able to set a "nomatch" option (html).

So as a recap:

$("#myinput").suggest({
nomatch: "No suggested matches. Tips on getting better suggestions [snip]"
}).bind("fb-textchange", function(e) {
// do something on textchange
});

codesite...@google.com

unread,
Dec 10, 2009, 1:41:25 AM12/10/09
to freebase...@googlegroups.com
Updates:
Status: Accepted

Comment #2 on issue 10 by daepark: Better support for 'soft' suggest
http://code.google.com/p/freebase-suggest/issues/detail?id=10

(No comment was entered for this change.)

codesite...@google.com

unread,
Dec 11, 2009, 9:15:15 AM12/11/09
to freebase...@googlegroups.com

Comment #3 on issue 10 by will.moffat: Better support for 'soft' suggest
http://code.google.com/p/freebase-suggest/issues/detail?id=10

Thanks! nomatch and fb-textchange solve my problem.

But I found another bug. Typing 'sdfsdfdsfddf' and then pressing enter does
not dismiss
the suggest dropdown.
Reply all
Reply to author
Forward
0 new messages