Changes

Jump to: navigation, search

Features/Jetpack/Addons In Toolbar

2,907 bytes added, 19:07, 13 March 2012
Created page with "{{FeatureStatus |Feature name=Addons In Toolbar |Feature stage=Planning |Feature health=OK |Feature status note=Undergoing design and specification }} {{FeatureTeam |Feature prod..."
{{FeatureStatus
|Feature name=Addons In Toolbar
|Feature stage=Planning
|Feature health=OK
|Feature status note=Undergoing design and specification
}}
{{FeatureTeam
|Feature product manager=Dave Mason
|Feature feature manager=Dave Townsend
|Feature lead engineer=Matteo Ferretti
|Feature ux lead=Stephen Horlander
}}
{{FeaturePageBody
|Feature open issues and risks=Mobile is the biggest concern here, it is unclear how the proposal fits in on phones and tablets.

We will also be restricting the size of the widget that developers can use now, we should consider how to support existing add-ons with larger widgets.
|Feature overview=The SDK currently allows add-on developers to create widgets in the add-on bar in Firefox. Widgets have the following appearance options:

* Display as a simple icon
* Display any sized complex UI using HTML

Widgets can have either of the following behaviours:

* Clicking runs some code provided by the developer
* Clicking opens a panel of a more complex UI using HTML

Developers have long wanted to see their widgets appear in the navigation bar and with Australis the add-on bar is going away so it is time to make that move with the support of the UX team as well as give developers more capabilities than they currently enjoy.
|Feature users and use cases=Add-on developers will use this to create awesome experiences for their users.
|Feature non-goals=* Developing a full set of UI primitives and widgets for developers to use
* Allowing add-on developers to customise any aspect of Firefox's UI.
|Feature functional spec=We will need to define an area of the main Firefox toolbar for add-ons. Any widgets added by add-ons will appear there and there will be an overflow chevron for the case where there are too many to display.

We already have the widget API but it must be extended so that we have the following display options available:

* Display as a simple icon within the location bar
* Display as a simple icon
* Display as a small widget in the toolbar (this is a restriction over what we currently support)

The following behaviours need to be supported:

* Clicking runs some code provided by the developer
** Fire event when clicked
* Clicking opens a panel of a more complex UI using HTML
** Fire event when the panel opens and closes
* Clicking toggles the widget on and off (only supported for the two icon styles of widget)
** Fire events when toggled on/off
* Clicking toggles a toolbar on and off
** The add-on developer provides a url to use for the toolbar content
** Fire events when toggled on/off
* Clicking toggles a sidebar on and off
** The add-on developer provides a url to use for the sidebar content
** Fire events when toggled on/off

|Feature ux design=Woo mockups: http://people.mozilla.com/~shorlander/files/addons-in-toolbar-i01/addons-in-toolbar.html
}}
{{FeatureInfo
|Feature priority=Unprioritized
}}
{{FeatureTeamStatus}}
Canmove, confirm
1,567
edits

Navigation menu