What behavior do you expect when a verb has no args matched
synchronously, then later gets async ones, anyway?

[1] The verb isn't suggested at first, but later (suddenly) pops up.
[2] The verb is suggested with no args filled, then the async suggs
follow.

I'd think [1] can be annoying and not a good UI.
If you want [2], then it can be achieved by suggesting a dummy sugg
(return [{text:''}]).


On Mar 17, 12:16 am, Irakli Gozalishvili <[email protected]> wrote:
> Hi I'm trying  to make async suggestions in noun type but it not seems to
> work as I expected. my noun type looks like
>
> var Suggester = {
>         _name : 'Suggester',
>
>         suggest : function(text, html, makeSuggestion) {
>
>             Utils.setTimeout(function suggestAsync() {
>                 for each (var number in [1,2,3,4]) {
>                     displayMessage(number);
>                     makeSuggestion({
>                         text : number
>                         summary : number,
>                         html : number
>                     });
>                 }
>             }, 300);
>             return [];
>         }
>     }
>
> I was expecting to see the suggestion but unfortunately I don't. I only see
> the numbers through AlertService (displayMessage), any ideas what am I
> doing  wrong?  Or its not even supposed  to work ??
>
> Thanks
> --
> Irakli Gozalishvili
> Web:http://rfobic.wordpress.com/
> Address: Taksteeg 3 - 4, 1012PB Amsterdam, Netherlands
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to