Hi Edwin,
Thanks for your feedback.
> 1) feedback regarding API compatibility. Next time you are breaking
> the API, I think that it would be nice to not automatically upgrade
> the users from 0.2 to 0.5.
You are right to be concerned. We didn't break backwards
compatibility lightly. We tried to get *everything* forseeable that
would break backwards compatibility together and do it all in this one
release, so we don't think we'll ever have to do another one that
breaks it. I blogged more about this issue here:
http://jonoscript.wordpress.com/2009/06/25/ubiquity-0-5-preview-release-at-last-the-international-edition/
> 2) feedback regarding behavior. In 0.5 I see a bizarre behavior where
> nouns are invoked as the user starts typing (even before a command is
> selected).
That's working as designed -- it is trying to analyze the input to see
if it matches any nountypes; if it does it will produce verb
suggestions based on the nouns. This is to help with the case where
the user selects text and brings up ubiquity; the case where the user
selects text and uses the context menu; cases where no verbs match the
input; and for the benefit of languages that have their nouns before
their verbs in normal sentence order.
> This is problematic from a performance perspective when
> async nouns are defined - ends up generating a lot of unnecessary http
> requests and callbacks.
About an hour ago, I pushed a new version of Ubiquity (0.5pre2) that
includes a performance fix Brandon did in
https://ubiquity.mozilla.com/hg/ubiquity-firefox/rev/582e0e7ca551 . I
haven't publicized it yet, but if you re-download
http://ubiquity.mozilla.com/xpi/ubiquity-latest-beta.xpi now, you
should get 0.5pre2.
You are right that the change in algorithm does do more calls than the
old one used to, but it has a lot of other advantages, and with the
last fix the performance hit has been minimized.
> 3) when the user selects a command which includes and object and an
> alias, the parser seems to select by default the option where the
> object encapsulates everything. If the user selects the second options
> and continues typing, the parser does not seem to remember the user
> choice and reselects the first option in the list.
I'm not sure what you mean by "a command which includes an object and
an alias". Can you please give an example? (What you input, what
gets suggested, what you think should be suggested instead.)
Thanks,
--Jono, Mozilla Labs