Well regarding > timeouts to the history

Well it depends you don't need timeout of course if you're caching noun data
into locally but for example in my case where I need to suggest bugs I cant
cache the data about it, cause state of the bug can change and user wont
know it, so basically what happens is that if you did not enabled cache and
set timeout suggestion from history will pass same input as it was passed
originally by user to the suuges method of the noun and will renew data.

So if you cache data locally (by adding cache property with value true ) it
makes no sense to have delay for suggestion

in case if you renew history data from server it makes sense to have delay
no matter is your noun suggest async sync way as the whole idea of delay is
to wait until user stops typing and then send request to the server. (like
if you type "home" without delay set it will send for requests h, ho, hom,
home)

P.S.: The idea of async suggestions


--
Irakli Gozalishvili
Web: http://rfobic.wordpress.com/
Address: Taksteeg 3 - 4, 1012PB Amsterdam, Netherlands


On Thu, Mar 26, 2009 at 3:55 AM, "mitcho (Michael 芳貴 Erlewine)" <
[email protected]> wrote:

>
> Irakli,
>
> This is an exciting command, and I like a lot of the extensions to
> noun you've proposed! Assuming argument values based on history is
> interesting, but should there be some timeout to that history?
>
> I myself haven't gotten to the point where I have to worry about async
> suggestions with the new parser yet, but it's definitely on the
> horizon. I'd love to incorporate some of your cache and delay ideas in
> a future iteration. ^^
>
> mitcho
>
> > Any feedback is more then welcome
> >
> http://rfobic.wordpress.com/2009/03/26/adjectives-ubiquity-bugzilla-love/
> > --
> > Irakli Gozalishvili
> > Web: http://rfobic.wordpress.com/
> > Address: Taksteeg 3 - 4, 1012PB Amsterdam, Netherlands
> >
> > >
>
> --
> mitcho (Michael 芳貴 Erlewine)
> [email protected]
> http://mitcho.com/
> linguist, coder, teacher
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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