Closed Bug 1162142 Opened 9 years ago Closed 9 years ago

[User Story] Search Suggestions in the AwesomeBar should be clearly identified as such

Categories

(Firefox :: Search, defect, P1)

40 Branch
defect

Tracking

()

RESOLVED FIXED
Firefox 41
Iteration:
41.3 - Jun 29
Tracking Status
firefox40 --- affected
firefox41 --- fixed

People

(Reporter: kev, Assigned: adw)

References

Details

(Whiteboard: [suggestions][UX][fxsearch])

User Story

As a user, I will be able to differentiate suggested searches from other content types presented in the AwesomeBar dropdown to help me differentiate suggested searches and to understand why they are appearing from other list entries such as URIs or other content.

Attachments

(2 files, 1 obsolete file)

Ensure search suggestions presented in the AwesomeBar drop-down list can be clearly identified as a suggest, for the purpose of helping users understand that selecting a suggestion will result in a search being performed.
Rank: 5
Flags: firefox-backlog+
Priority: -- → P1
Summary: Search Suggestions in the AwesomeBar should be clearly identified as such → [User Story] Search Suggestions in the AwesomeBar should be clearly identified as such
this bug relates to user story 3 here https://docs.google.com/document/d/1de2o8Osl_z98BBfkt243i-dHdcKmQB15xJ9rShkwk3Q/edit... which was the last part of initial talk for v1 minimum.
Rank: 5 → 8
Whiteboard: [fxsearch][searchsuggestions] → [suggestions][fxsearch]
initial work is done, but we should have enough to start and take what crops up as it does.  STeve - attach info
Flags: needinfo?(shorlander)
Whiteboard: [suggestions][fxsearch] → [suggestions][UX][fxsearch]
Assignee: nobody → shorlander
Iteration: --- → 41.2 - Jun 8
When performing a search from the AwesomeBar the Search Indicator Icon (Magnifying Glass) appears next to the search suggest entry and in the AwesomeBar field.

A search action label "— Search <Provider Name>" appears next to the entry when it is highlighted or hovered.
Flags: needinfo?(shorlander)
Iteration: 41.2 - Jun 8 → 41.3 - Jun 29
Hi Drew - for priority this is after the "opt-in/opt-out" - but looks like the UX is ready to go if Bug 959565 is blocked for UX.  I just need info'd Steve to ask about the UX for that other bug.
Assignee: shorlander → nobody
Flags: needinfo?(adw)
(In reply to Stephen Horlander [:shorlander] from comment #3)
> When performing a search from the AwesomeBar the Search Indicator Icon
> (Magnifying Glass) appears next to the search suggest entry

We do this already...

> and in the AwesomeBar field.

... but not this.

> A search action label "— Search <Provider Name>" appears next to the entry
> when it is highlighted or hovered.

We do this already too.

So the only thing to do in this bug is to show the magnifying glass in the awesomebar.
Assignee: nobody → adw
Status: NEW → ASSIGNED
Flags: needinfo?(adw)
Attached patch patch (obsolete) — Splinter Review
This seems to work...  The selectors and values are based on those for the identity-box in each theme's CSS.
Attachment #8626004 - Flags: review?(mak77)
so, why don't we just put the icon in identity-box and switch it with page-proxy-favicon, instead of copying over all the code? regardless, afaict, when using autocomplete we always use the generic icon there, the risk should be low.
Attached patch patch v2Splinter Review
This actually uses page-proxy-favicon itself and switches its image.
Attachment #8626404 - Flags: review?(mak77)
Comment on attachment 8626404 [details] [diff] [review]
patch v2

Review of attachment 8626404 [details] [diff] [review]:
-----------------------------------------------------------------

This is definitely simpler and less likely to break.

::: browser/themes/osx/browser.css
@@ +1809,5 @@
>    }
>  }
>  
> +#urlbar[actiontype="searchengine"] > #identity-box > #page-proxy-favicon {
> +  -moz-image-region: inherit;

it looks to me the osx theme is only overriding -moz-image-region from identity-block.inc.css, do we really need to set everything rather than just that?
Attachment #8626404 - Flags: review?(mak77) → review+
https://hg.mozilla.org/integration/fx-team/rev/bfa8b42bd280

You're right, I removed the OS X-specific CSS and it still worked, so the final patch only modifies identity-block.inc.css, nice.
Attachment #8626004 - Attachment is obsolete: true
Attachment #8626004 - Flags: review?(mak77)
https://hg.mozilla.org/mozilla-central/rev/bfa8b42bd280
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 41
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: