mozilla / idea-town-addon

DEPRECATED: see idea-town repo
https://github.com/mozilla/idea-town/tree/master/addon
Mozilla Public License 2.0
2 stars 4 forks source link

Notifications api #2

Closed meandavejustice closed 9 years ago

meandavejustice commented 9 years ago

https://developer.mozilla.org/en-US/Add-ons/Code_snippets/Alerts_and_Notifications

lmorchard commented 9 years ago

Possibly handy too: https://github.com/lmorchard/idea-town-addon/blob/8c18fe3b6ae48694e04060dcc4994624bf5f59b1/index.js#L93

I really liked the Notification Box UI, but had to jump through a few hoops in one of my projects to get it to work. That code up there is basically it. It's a slight cross between old-style extensions and new-style addons. Might help in figuring out how to get at other APIs like that

meandavejustice commented 9 years ago

Unless this changes from @johngruen or @bryanbell we are probably going to go the route of badges as the only route for notifications.