User:Dietrich/Scratchpad: Difference between revisions

Jump to navigation Jump to search
Line 1: Line 1:
=Add-on UI in Firefox 4=
=Add-on UI in Firefox 4=


Stage 1: core
Stage 1: Core
* Status bar is hidden by default
* Status bar is hidden by default, and re-parented
* The presence of widgets makes the status bar visible
* Addon bar is hidden by default
* The default location for a widget is the status bar
* The presence of widgets makes the addon bar visible
* The default widget size in the status bar is 24px
* 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: multi-location
Stage 2: customization
* Widgets have a "container" property, the value of which is the id of
* Addon bar has settings for big and small sizes (16px or 24px widgets. how to switch? context menu? toolbar customization menu?)
it's containing element
* The default "container" value is the status bar
* The bookmarks toolbar supports widgets
* Widgets in the bookmarks toolbar are 16px (scaled down as needed)
 
Stage 3: customization
* Users can change the container for a widget (context menu option? dnd?)
* Status bar in big and small sizes (16px or 24px widgets. context menu option?)
* What else? Sorting? Pinning? DND ordering?
* What else? Sorting? Pinning? DND ordering?


Open issues:
Open issues:
* side effects of removing the status bar and it's contents
* Status-bar removal side-effects
** element statusbar-display is gone
** Element statusbar-display is gone
** progress meter 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
** 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
** 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)
* 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
Confirmed users, Bureaucrats and Sysops emeriti
2,088

edits

Navigation menu