Hi!
I was just thinking about this issue:
Modules are highly decoupled for now. As an example, if someone wants to create a mod_bookmark
bookmark module today, she will have to somehow add a button in mod_strip
. Or mod_strip
does not have an API for that at the moment, and this is a great question whether breach_core
should provide structures to support that integration among modules or not?
Would it be a good idea to expose a common API for UI widgets, like in Firefox (e.g.
https://developer.mozilla.org/en-US/Add-ons/SDK/Tutorials/Adding_a_Button_to_the_Toolbar)? Then, mod_strip could decide (and let the user decide) which widgets to show and where.
Ideally, the navigation buttons (previous/next), the address bar, the tabs bar would be widgets too. It would have been a great idea to use something like Polymer to do this, web components are perfect: want an adress bar there? Just write <address-bar></address-bar> !
I saw you're using Angular, it can also be achieved using directives.
What do you think?