On Wed, Jan 9, 2013 at 1:21 AM, Brett <
bre...@gmail.com> wrote:
> Howdy,
>
> Really nice work on the SDK. It's fun to develop with it.
On behalf of all the contributors, thanks!
> I hope I can have a place here to make a brain dump.
>
> It looks like you already have two of my priorities on your radar,
> localization (which is a must-have in the Addons builder, and content script
> JS localization is also a must--the docs also don't mention i18n-izing
> properties like the Addon name/description, only the preference
> name/descriptions; and getting the current locale would be a plus).
I agree that localization is important, and I believe we have plans
for some of these things, however we did intentionally pause on l10n
work a few months ago for a few reasons: we got to a decent place with
it, we wanted more feedback from the community, and Alex has been
working on Firefox OS recently. I expect he'll have some ideas on
where he wants to take things, and we expect him to return soon.
> Why doesn't context-menu support port?
context-menu is one of the oldest modules we have, and one of the
biggest sources of problems. One side effect is that it only supports
the 'message' event and related onMessage callback.
Dave Townsend recently did a complete re-write of the module and this
work is on track to be released in 1.13. What Dave has done so far is
re-implement context-menu with the same interface but with a much more
reliable implementation underneath.
We've also been discussing how to make context-menu easier to use, and
there are obvious things we would like to do like add an onClick
handler, eg something like this:
cm.Item({
//...
onClick: function(context) { }
});
In the above scenario context would be say the attributes of the
target node, *not* a reference to the target node.
We're also considering deprecating the use of content scripts with
context-menu. Just curious: do you use content scripts with
context-menu a lot? What are your use cases?
Logged as a bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=828570
> What is the best place to discuss the likelihood of 3rd party APIs making it
> into the SDK, or of modifications making it in, and of helping to make it a
> reality?
This list is a great place to discuss that. We also have a semi-formal
enhancement proposal process that we'd like people to follow:
https://github.com/mozilla/addon-sdk/wiki/JEP
It doesn't seem like too much work. We also have a number of third
party modules either in builder or listed here:
https://github.com/mozilla/addon-sdk/wiki/Community-developed-modules
Thanks for all the great questions! It's been a bit quiet in here of
late so I'm glad my post generated some real discussion!
cheers, Jeff