User:Dietrich/Scratchpad

From MozillaWiki
Jump to navigation Jump to search

Add-on UI in Firefox 4

Stage 1: Core

  • 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

  • Addon bar has settings for big and small sizes (16px or 24px widgets. how to switch? context menu? toolbar customization menu?)
  • What else? Sorting? Pinning? DND ordering?

Open issues:

  • Status-bar removal side-effects
    • Element statusbar-display is gone
    • Progress meter is gone: Resolved - Current plan is to migrate this to the location bar in some fashion (SH)
    • Download monitor is gone: Resolved - The download button+panel would be in the navbar (http://limi.net/articles/improving-download-behaviors-web-browsers/) (SH)
    • Security button and popup blocker are gone: Resolved - There are notifications for this and the security information is performed by larry. (SH)
  • Existing addons' usage of the status bar (already installed): Resolved - 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.

Detection (target TBD):

  • No notifications when addon bar is not visible
  • When addon bar is visible, an icon is shown in addon bar when addon is detected
  • Clicking on the icon loads a panel that displays detected addons and recommended addons
  • 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