Thanks for making that project page and starting this thread. I have two main questions to start:
1) From a UX perspective, what kinds of things are we going to allow this add-on to put in the snippet/promo banner? The banner itself is going to be made in our native Java UI, so if we want to design a JS API that add-ons can use, we'll have to be explicit about what things that API can do. I was thinking that we would just let them provide an icon and some text, which matches this mock-up that ibarlow created: http://cl.ly/image/3j0i1w2x1s1x. 2) How do you actually see this integrating with the existing snippets service? As I understand it, the snippets service that desktop uses serves up web content, which is rendered directly in about:home (including running JS). I suppose we could have the service serve us an add-on, or we could support some simplified markup that we could convert into the appropriate API calls, but I don't see us ever having the same kind of flexibility that desktop has as long as we're creating this promo banner in native UI. Also, the content from desktop snippets runs with content privileges, so if we do start supporting running JS from this service, we should make sure to take the same security precautions. Margaret On Fri, Aug 16, 2013 at 7:26 AM, Deb Richardson <[email protected]> wrote: > Hello mobile-firefox-dev people, > > To make it easier for everyone to know when we've created new project > pages, I'm going to start posting notes here when they are ready for wider > review & feedback. > > The first of these is the shiny new Dynamic snippets add-on project page > which lives here: > > https://wiki.mozilla.org/Mobile/Projects/Dynamic_snippets_add-on > > If you have questions or feedback, please post 'em to this thread, so we > can sort things out & make any necessary fixes. > > Thanks! > > ~ deb > _______________________________________________ > mobile-firefox-dev mailing list > [email protected] > https://mail.mozilla.org/listinfo/mobile-firefox-dev >
_______________________________________________ mobile-firefox-dev mailing list [email protected] https://mail.mozilla.org/listinfo/mobile-firefox-dev

