User:David Regev/Firefox Search, Revamped: Difference between revisions
Jump to navigation
Jump to search
Firefox Search, Revamped:
David Regev (talk | contribs) m (Created page) |
David Regev (talk | contribs) m (Grammar fixes (and added highlighting)) |
||
| Line 1: | Line 1: | ||
==Firefox Search, Revamped:<br>How to make Firefox’s search capabilities more ''helpful''== | ==Firefox Search, Revamped:<br>How to make Firefox’s search capabilities more ''helpful''== | ||
The following is a workflow that I would like to see made possible in Firefox. The idea here is for Firefox to be as helpful as possible without getting in the way. The goal is to increase efficiency when searching (and, more importantly, finding). I am assuming [http://labs.mozilla.com/projects/ubiquity/ <span title="Mozilla Labs » Ubiquity">Ubiquity</span>] is being used for conducting searches, as it already far more efficient than the standard search mechanisms (such as the Search bar). | The following is a workflow that I would like to see made possible in Firefox. The idea here is for Firefox to be as helpful as possible without getting in the way. The goal is to increase efficiency when searching (and, more importantly, finding). I am assuming [http://labs.mozilla.com/projects/ubiquity/ <span title="Mozilla Labs » Ubiquity">Ubiquity</span>] is being used for conducting searches, as it is already far more efficient than the standard search mechanisms (such as the Search bar). | ||
===The Desired Workflow=== | ===The Desired Workflow=== | ||
| Line 11: | Line 11: | ||
<ol type="a"> | <ol type="a"> | ||
<li>The page scrolls down swiftly to the first instance of either <code>foo</code> or <code>bar</code>, placing said instance centred in the window.</li> | <li>The page scrolls down swiftly to the first instance of either <code>foo</code> or <code>bar</code>, placing said instance centred in the window.</li> | ||
<li>All instances of <code>foo</code> and <code>bar</code> get highlighted, each term with its own colour (''a la'' Google Cache).</li> | <li>All instances of <code style="background-color: yellow;">foo</code> and <code style="background-color: aqua;">bar</code> get highlighted, each term with its own colour (''a la'' Google Cache).</li> | ||
<li>The highlighting slowly fades away, returning the page to normal after 15 seconds or so. ''This allows Bob to concentrate on the information Firefox has now helped him locate more quickly.''</li> | <li>The highlighting slowly fades away, returning the page to normal after 15 seconds or so. ''This allows Bob to concentrate on the information Firefox has now helped him locate more quickly.''</li> | ||
</ol> | </ol> | ||
| Line 27: | Line 27: | ||
</ol> | </ol> | ||
<li>Bob switches back to the previous tab and brings up the find dialogue.</li> | <li>Bob switches back to the previous tab and brings up the find dialogue.</li> | ||
<li>The find text still shows [<code>foo bar</code>] | <li>The find text still shows [<code>foo bar</code>] (since that text is tab-specific).</li> | ||
<li>Bob conducts a | <li>Bob conducts a navigational search on Wikipedia for [<code>foobar</code>].</li> | ||
<li>Bob lands directly on the [http://en.wikipedia.org/wiki/Foobar <span title="foobar - Wikipedia, the free encyclopedia">foobar</span>] page, bypassing any search results altogether. Magic ''does not'' occur.</li> | <li>Bob lands directly on the [http://en.wikipedia.org/wiki/Foobar <span title="foobar - Wikipedia, the free encyclopedia">foobar</span>] page, bypassing any search results altogether. Magic ''does not'' occur.</li> | ||
<li>Bob opens the Find dialogue, revealing [<code>foobar</code>] as it text.</li> | <li>Bob opens the Find dialogue, revealing [<code>foobar</code>] as it text.</li> | ||
</ol> | </ol> | ||
Note how much is done to help Bob find what he seeks with as little extra work for him as possible, all without getting in the way of his goals. In order to make this workflow possible, certain | Note how much is done to help Bob find what he seeks with as little extra work for him as possible, all without getting in the way of his goals. In order to make this workflow possible, certain features must be implemented. | ||
===The Desired Features=== | ===The Desired Features=== | ||
| Line 42: | Line 42: | ||
<li>This should occur only on submission, and not when the search results page is incidentally revisited (via Back/Forward).</li> | <li>This should occur only on submission, and not when the search results page is incidentally revisited (via Back/Forward).</li> | ||
<li>This should require no configuration.</li> | <li>This should require no configuration.</li> | ||
<li>[http://code.google.com/p/searchboxsync/ <span title="searchboxsync - Google Code">SearchBox Sync</span>] does this for the Search bar | <li>[http://code.google.com/p/searchboxsync/ <span title="searchboxsync - Google Code">SearchBox Sync</span>] does this partially for the Search bar.</li> | ||
</ul> | </ul> | ||
<li>Whenever a search result is chosen, '''Magic''' occurs:</li> | <li>Whenever a search result is chosen, '''Magic''' occurs:</li> | ||
| Line 57: | Line 57: | ||
<ul> | <ul> | ||
<li>The next instance of the search terms (the standard find result) would be highlighted differently from the other instances.</li> | <li>The next instance of the search terms (the standard find result) would be highlighted differently from the other instances.</li> | ||
<li>The fade begins only after the Find dialogue is no longer being | <li>The fade begins only after the Find dialogue is no longer being used. It also resets whenever the text is modified.</li> | ||
</ul> | </ul> | ||
<li>Find should perform a ''lazy'' search:</li> | <li>Find should perform a ''lazy'' search:</li> | ||
| Line 64: | Line 64: | ||
<li>Phrases in quotes match only when together (as one term).</li> | <li>Phrases in quotes match only when together (as one term).</li> | ||
<li>Punctuation and diacritics are always ignored, even in phrase searches. ''See [https://bugzilla.mozilla.org/show_bug.cgi?id=442070 <span title="Bug 442070 – the Find Toolbar can't find a word with accents">bug 442070</span>] and [https://bugzilla.mozilla.org/show_bug.cgi?id=202251 <span title="Bug 202251 – Find/FindAsYouType will not find text if entered with diacritics ("nikud") in Hebrew, or accented characters in other languages">bug 202251</span>].''</li> | <li>Punctuation and diacritics are always ignored, even in phrase searches. ''See [https://bugzilla.mozilla.org/show_bug.cgi?id=442070 <span title="Bug 442070 – the Find Toolbar can't find a word with accents">bug 442070</span>] and [https://bugzilla.mozilla.org/show_bug.cgi?id=202251 <span title="Bug 202251 – Find/FindAsYouType will not find text if entered with diacritics ("nikud") in Hebrew, or accented characters in other languages">bug 202251</span>].''</li> | ||
<li>This can | <li>This can be overridden by a strict mode that matches for the exact string in a case-sensitive manner. This mode replaces the current ‘Match case’ mode.</li> | ||
</ol> | </ol> | ||
<li>The Find text should be tab-specific (to retain search context). ''See [https://bugzilla.mozilla.org/show_bug.cgi?id=248955 <span title="Bug 248955 – search box should be tab-specific (content should not persist when switching tabs)">bug 248955</span>].''</li> | <li>The Find text should be tab-specific (to retain search context). ''See [https://bugzilla.mozilla.org/show_bug.cgi?id=248955 <span title="Bug 248955 – search box should be tab-specific (content should not persist when switching tabs)">bug 248955</span>].''</li> | ||
| Line 73: | Line 73: | ||
<ul> | <ul> | ||
<li>The next instance of a term is centred every time this function is executed (like ‘Find again’).</li> | <li>The next instance of a term is centred every time this function is executed (like ‘Find again’).</li> | ||
<li>A nice consequence of this is that ‘Highlight all’ would | <li>A nice consequence of this is that ‘Highlight all’ would be less modal.</li> | ||
<li>[http://code.google.com/p/searchwp/ <span title="searchwp - Google Code">SearchWP</span>] does this partially.</li> | <li>[http://code.google.com/p/searchwp/ <span title="searchwp - Google Code">SearchWP</span>] does this partially for the Search bar.</li> | ||
</ul> | </ul> | ||
<li>'''Nice to have:''' Double-clicking on a search term should centre the next instance of that term.</li> | <li>'''Nice to have:''' Double-clicking on a search term should centre the next instance of that term.</li> | ||
<ul> | <ul> | ||
<li>[http://code.google.com/p/searchwp/ <span title="searchwp - Google Code">SearchWP</span>] does this | <li>[http://code.google.com/p/searchwp/ <span title="searchwp - Google Code">SearchWP</span>] does something like this for the Search bar.</li> | ||
</ul> | </ul> | ||
</ol> | </ol> | ||
Revision as of 17:38, 23 April 2009
Firefox Search, Revamped:
How to make Firefox’s search capabilities more helpful
The following is a workflow that I would like to see made possible in Firefox. The idea here is for Firefox to be as helpful as possible without getting in the way. The goal is to increase efficiency when searching (and, more importantly, finding). I am assuming Ubiquity is being used for conducting searches, as it is already far more efficient than the standard search mechanisms (such as the Search bar).
The Desired Workflow
- Bob searches Google for [
foo bar]. - Bob clicks on one of the search results.
- The following Magic happens:
- The page scrolls down swiftly to the first instance of either
fooorbar, placing said instance centred in the window. - All instances of
fooandbarget highlighted, each term with its own colour (a la Google Cache). - The highlighting slowly fades away, returning the page to normal after 15 seconds or so. This allows Bob to concentrate on the information Firefox has now helped him locate more quickly.
- Bob continues browsing, eventually clicking Back until he finds himself back at the search results page.
- Bob middle-clicks on a different result, putting him in a new tab.
- Magic occurs for the second time.
- Bob brings up the Find dialogue with Ctrl+F.
- The dialogue already has [
foo bar] as its text. - Bob changes the text to [
"foo bar"]. - Magic occurs in the following manner:
- Firefox conducts a lazy search on the phrase as one search term, ignoring punctuation and diacritics. E.g., even ‘
foö, bár’ is matched. - The next occurrence of the phrase is centred and highlighted in the standard Find manner.
- The standard Magic occurs on the phrase.
- Bob switches back to the previous tab and brings up the find dialogue.
- The find text still shows [
foo bar] (since that text is tab-specific). - Bob conducts a navigational search on Wikipedia for [
foobar]. - Bob lands directly on the foobar page, bypassing any search results altogether. Magic does not occur.
- Bob opens the Find dialogue, revealing [
foobar] as it text.
Note how much is done to help Bob find what he seeks with as little extra work for him as possible, all without getting in the way of his goals. In order to make this workflow possible, certain features must be implemented.
The Desired Features
- When one submits a search (whether via GET or POST), it should be detected automatically and the search text copied to the Find dialogue. See bug 270310 and bug 264123.
- This should occur only on submission, and not when the search results page is incidentally revisited (via Back/Forward).
- This should require no configuration.
- SearchBox Sync does this partially for the Search bar.
- Whenever a search result is chosen, Magic occurs:
- The page automatically starts scrolling down swiftly to the first instance of a search term, until that term is centred in the window. This scrolling may be interrupted by the user.
- Every instance of the search terms is highlighted, each term a different colour. See bug 240432 and bug 342101.
- This highlighting gradually fades away, with the fade taking approximately 15 seconds to complete.
- This should occur only on a search result link being clicked, not when a result page is incidentally revisited (via Back/Forward).
- This occurs only on the page after a search results page and not on any other page, nor after navigational searches (such as on Wikipedia).
- When a Find is conducted, Magic also occurs.
- The next instance of the search terms (the standard find result) would be highlighted differently from the other instances.
- The fade begins only after the Find dialogue is no longer being used. It also resets whenever the text is modified.
- Find should perform a lazy search:
- Any term matches (like with a Google search), rather than the exact string being used. See bug 343118.
- Phrases in quotes match only when together (as one term).
- Punctuation and diacritics are always ignored, even in phrase searches. See bug 442070 and bug 202251.
- This can be overridden by a strict mode that matches for the exact string in a case-sensitive manner. This mode replaces the current ‘Match case’ mode.
- The Find text should be tab-specific (to retain search context). See bug 248955.
- A spawned tab, however, copies over its parent’s Find text.
- Nice to have: Find’s ‘Highlight all’ should perform Magic.
- The next instance of a term is centred every time this function is executed (like ‘Find again’).
- A nice consequence of this is that ‘Highlight all’ would be less modal.
- SearchWP does this partially for the Search bar.
- Nice to have: Double-clicking on a search term should centre the next instance of that term.
- SearchWP does something like this for the Search bar.