Difference between revisions of "Development:Planning:Toolbar item validation"

From Camino Wiki
Jump to navigation Jump to search
(thoughts)
Line 1: Line 1:
* Go Back
+
This is an ongoing attempt at auditing the validation state of all our toolbar items. A similar page exists for [[Development:Planning:Menu item validation|menu item validation]] (cross-reference relevant discussion in [[Development:Planning:Internal URIs|Internal URIs]] also). 
** Must have at least one non-about:blank page previous to the current page in the current tab/window's session history to be enabled
+
 
* Go Forward
+
Any toolbar items that don't specify validation parameters are always enabled.
** Must have at least one non-about:blank page subsequent to the current page in the current tab/window's session history to be enabled
+
 
* Reload Page
+
==Go Back==
** Disable when a page is in the "Looking up" stage.  Disable when about:blank, about:bookmarks, or about:history are showing.
+
Must have at least one non-about:blank page previous to the current page in the current tab/window's session history to be enabled
* Stop Loading
+
:do we already do this?
** Disable when a page and all its associated elements have finished loading
+
 
**: what about post-initial-load ajax stuff?
+
==Go Forward==
* Go Home
+
Must have at least one non-about:blank page subsequent to the current page in the current tab/window's session history to be enabled
** Disable when the current tab/window is displaying the home page
+
:do we already do this?
**: what about multiple home pages?
+
 
* Location/Search
+
==Reload Page==
** '''Always enabled'''
+
Disable when a page is in the "Looking up" stage ({{bug|foo}}).  Disable when about:blank, about:bookmarks, or about:history are showing.
* Manage Bookmarks
+
 
** '''Always enabled''' because it is a toggle; change icon state when the manager is open ({{bug|235863}}
+
==Stop Loading==
* Progress
+
Disable when a page and all its associated elements have finished loading
** Same as Stop Loading above?
+
: what about post-initial-load ajax stuff?
* Print
+
 
** Disable when viewing about:blank, about:config, about:history, about:bookmarks
+
==Go Home==
* View Page Source
+
Disable when the current tab/window is displaying the home page
** See discussion in [[Development:Planning:Internal URIs]]
+
: what about multiple home pages? when any one of the pages is in view? is there discussion in the bug?
* Bookmark Page
+
 
** See discussion in [[Development:Planning:Menu item validation]]
+
==Location/Search==
* New Tab
+
 
** '''Always enabled'''
+
 
* Close Tab
+
==Manage Bookmarks==
** Disable when no tabs are present in the window, or when one tab is present but the tab bar is always shown
+
Always enabled because it is a toggle; change icon state when the manager is open ({{bug|235863}}
* Bigger Text
+
 
* Smaller Text
+
==Progress==
** Disable both for about:blank, about:config, about:history, about:bookmarks, and tabs/windows of solely binary content
+
* Active (spinning) the same as "Stop Loading" above
* Email Page Location
+
* Is a button for the Camino home page, so always enabled
** Disable for all about: URIs and all view-source: URIs
+
* Has no "inactive state" image (compare to Cocoa throbber)
* Customize
+
* Should really be a Cocoa throbber
** Disable when currently customizing the toolbar (we already do this)
+
 
* Downloads
+
==Print==
** '''Always enabled'''; it either opens the Downloads window or focuses it if open (we already do this)
+
Disable when viewing about:blank, about:config, about:history, about:bookmarks
* Fill Form
+
 
** Disable on all about: URIs, all view-source: URIs, all URIs of solely binary content, and, if possible, any page without form fields
+
==View Page Source==
* History
+
See discussion in [[Development:Planning:Internal URIs]]
** Disable only when the History view of the Bookmarks Manager is active
+
 
 +
==Bookmark Page==
 +
See discussion in [[Development:Planning:Menu item validation]]
 +
 
 +
==New Tab==
 +
 
 +
 
 +
==Close Tab==
 +
Disable when no tabs are present in the window, or when one tab is present but the tab bar is always shown
 +
 
 +
==Bigger Text & Smaller Text==
 +
Disable both for about:blank, about:config, about:history, about:bookmarks, and tabs/windows of solely binary content
 +
 
 +
==Email Page Location==
 +
Disable for all about: URIs and all view-source: URIs
 +
 
 +
==Customize==
 +
Disable when currently customizing the toolbar ('''we already do this''')
 +
 
 +
==Downloads==
 +
It either opens the Downloads window or focuses it if open ('''we already do this''')
 +
 
 +
==Fill Form==
 +
Disable on all about: URIs, all view-source: URIs, all URIs of solely binary content, and, if possible, any page without form fields
 +
 
 +
==History==
 +
Disable only when the History view of the Bookmarks Manager is active
 +
 
 +
 
 +
''Still need to cross-reference all of these with the discussions on the other two pages.''

Revision as of 22:56, 25 June 2006

This is an ongoing attempt at auditing the validation state of all our toolbar items. A similar page exists for menu item validation (cross-reference relevant discussion in Internal URIs also).

Any toolbar items that don't specify validation parameters are always enabled.

Go Back

Must have at least one non-about:blank page previous to the current page in the current tab/window's session history to be enabled

do we already do this?

Go Forward

Must have at least one non-about:blank page subsequent to the current page in the current tab/window's session history to be enabled

do we already do this?

Reload Page

Disable when a page is in the "Looking up" stage (Bug foo). Disable when about:blank, about:bookmarks, or about:history are showing.

Stop Loading

Disable when a page and all its associated elements have finished loading

what about post-initial-load ajax stuff?

Go Home

Disable when the current tab/window is displaying the home page

what about multiple home pages? when any one of the pages is in view? is there discussion in the bug?

Location/Search

Manage Bookmarks

Always enabled because it is a toggle; change icon state when the manager is open (Bug 235863

Progress

  • Active (spinning) the same as "Stop Loading" above
  • Is a button for the Camino home page, so always enabled
  • Has no "inactive state" image (compare to Cocoa throbber)
  • Should really be a Cocoa throbber

Print

Disable when viewing about:blank, about:config, about:history, about:bookmarks

View Page Source

See discussion in Development:Planning:Internal URIs

Bookmark Page

See discussion in Development:Planning:Menu item validation

New Tab

Close Tab

Disable when no tabs are present in the window, or when one tab is present but the tab bar is always shown

Bigger Text & Smaller Text

Disable both for about:blank, about:config, about:history, about:bookmarks, and tabs/windows of solely binary content

Email Page Location

Disable for all about: URIs and all view-source: URIs

Customize

Disable when currently customizing the toolbar (we already do this)

Downloads

It either opens the Downloads window or focuses it if open (we already do this)

Fill Form

Disable on all about: URIs, all view-source: URIs, all URIs of solely binary content, and, if possible, any page without form fields

History

Disable only when the History view of the Bookmarks Manager is active


Still need to cross-reference all of these with the discussions on the other two pages.