Firefox/Projects/AddonUI: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 4: Line 4:


== Status ==
== Status ==
<onlyinclude>
<onlyinclude>
'''IN FLIGHT''' Spec complete, implementation in progress
'''IN FLIGHT''' Spec complete, implementation in progress
Line 16: Line 15:
* {{bug|568932}} - Jetpack piece
* {{bug|568932}} - Jetpack piece
* {{bug|574688}} - Firefox piece
* {{bug|574688}} - Firefox piece
* {{bug|571548}} - Discovery piece


== Goals ==
== Goals ==


* Remove the status bar
* Remove the status bar
* Implement the addon bar
* Implement the Add-on bar
* Allow placement customizability through the toolbar infrastructure
* Allow add-on placement customization through the toolbar infrastructure
 
== Roadmap ==
 
{| class="fullwidth-table"
|- style="background:#efefef"
| '''Date'''
| '''Milestone'''
| '''Status'''
| '''Notes'''
|-
|}
 
== Spec ==


Stage 1: Core
== Spec/Bugs ==
* Status bar is hidden by default, and re-parented
* Addon bar is hidden by default
* The presence of widgets makes the addon bar visible
* The default location for a widget is the addon bar
* The default widget size in the addon bar is 24px
* Widgets are XUL toolbar buttons
* Widgets have a "container" property, which is the id of their default toolbar
* The default "container" value is the id of the addon bar


Stage 2: customization
Firefox
* Addon bar has settings for big and small sizes (16px or 24px widgets. how to switch? context menu? toolbar customization menu?)
* Add-on bar is a XUL toolbar, hidden by default ({{bug|574688}})
* What else? Sorting? Pinning? DND ordering?
* Presence of add-ons makes the bar visible (currently done by addons)
* Status bar is initially integrated in a backwards-compatible way into the Add-on bar, possibly removed ({{bug|574688}})
* Mode and size customizable independent of the navigation bar (NEEDS BUG)


Detection (target TBD):
Jetpack
* No notifications when addon bar is not visible
* Widgets are XUL toolbar buttons, installed to Add-on bar by default ({{bug|568932}}, {{bug|596202}})
* When addon bar is visible, an icon is shown in addon bar when addon is detected
* Widgets have a "placement" property, which is the id of their default toolbar, which defaults to Add-on bar ({{bug|586029}})
* Clicking on the icon loads a panel that displays detected addons and recommended addons
* Widget API bits to support the mode and size settings of toolbar buttons (NEEDS BUG)
* If the user opts into more aggressive notification, the panel will automatically load when addons are detected
* To improvde discovery of the panel, we could load it automatically the first time an addon is detected
* TODO: New icon from Alex
* TODO: More interaction development from Alex


== Issues ==
Statusbar Feature Relocation


* NEEDS FIX: Status-bar status text is gone ({{bug|586718}})
* Status-bar status text is gone, not getting replaced. ({{bug|586718}})
* RESOLVED: Progress meter is gone: Current plan is to migrate this to the location bar in some fashion (SH) ({{bug|578028}})
* Hover on link moved to location bar. ({{bug|541656}}, {{bug|587908}})
* RESOLVED: Download monitor is gone: The download button+panel would be in the navbar (http://limi.net/articles/improving-download-behaviors-web-browsers/) (SH) ({{bug|564934}})
* Progress meter moved to the location bar in some fashion ({{bug|578028}})
* RESOLVED: Security button and popup blocker are gone: There are notifications for this and the security information is performed by larry. (SH)
* Download monitor is gone. The [http://limi.net/articles/improving-download-behaviors-web-browsers/ download button+panel would be in the navbar] ({{bug|564934}})
* RESOLVED: Existing addons' usage of the status bar (already installed): Hiding and reparenting status bar instead of deleting. Addons will need to release a new version that uses the Widget API, or some other mechanism to get on the addon bar.
* Security button is gone, the security information is performed by larry.
* Popup blocker is gone, there are notifications. Would like to get arrow panels ({{bug|594294}})


== Related Links ==
Open Issues
* How to support statusbar and Add-on bar in a single add-on
* Order of add-ons in bar should be persistent ({{bug|579505}})

Latest revision as of 12:58, 21 September 2010


Design and implement a way for addons to integrate into Firefox UI in a way that plays nice with themes, allows maximum customizability, and eases implementation for addon developers.

Status

IN FLIGHT Spec complete, implementation in progress


Team:

  • Design: Boriss
  • Lead: Dietrich

Bugs:

Goals

  • Remove the status bar
  • Implement the Add-on bar
  • Allow add-on placement customization through the toolbar infrastructure

Spec/Bugs

Firefox

  • Add-on bar is a XUL toolbar, hidden by default (bug 574688)
  • Presence of add-ons makes the bar visible (currently done by addons)
  • Status bar is initially integrated in a backwards-compatible way into the Add-on bar, possibly removed (bug 574688)
  • Mode and size customizable independent of the navigation bar (NEEDS BUG)

Jetpack

  • Widgets are XUL toolbar buttons, installed to Add-on bar by default (bug 568932, bug 596202)
  • Widgets have a "placement" property, which is the id of their default toolbar, which defaults to Add-on bar (bug 586029)
  • Widget API bits to support the mode and size settings of toolbar buttons (NEEDS BUG)

Statusbar Feature Relocation

Open Issues

  • How to support statusbar and Add-on bar in a single add-on
  • Order of add-ons in bar should be persistent (bug 579505)