Closed Bug 1221608 Opened 9 years ago Closed 8 years ago

[meta] Spotlight integration

Categories

(Firefox for iOS :: General, defect)

Other
iOS 9
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jhugman, Assigned: jhugman)

References

(Depends on 1 open bug)

Details

Attachments

(2 files, 2 obsolete files)

Initial pass on this would be to get open tabs into Spotlight. 

Followups might include indexing on device history and tab content.

Theme: iOS9 integration.
Assignee: nobody → jhugman
Status: NEW → ASSIGNED
There doesn't seem to be a lot of UI here. 

What should the Firefox icons be replaced with?

Obvious choices: favicons, screenshots.
Attachment #8690985 - Flags: ui-review?(randersen)
Attachment #8690985 - Flags: ui-review?(dhenein)
Search results next to other favicons provided by the iOS on the simulator.
Comment on attachment 8690985 [details]
Simulator Screen Shot Nov 23, 2015, 8.24.31 PM.png

Hmm. Screenshots would be nice but maybe small in this context (they seem to have a fixed width)?

Favicons may be small, too... might be nice to see/test these options. Let's see what Robin says as well.

Can the subtitle in the other screenshot say "Firefox — {domain.com here}"
Attachment #8690985 - Flags: ui-review?(dhenein)
The "fennec (jhugman)" text is taken from the app name.
Attachment #8697101 - Flags: ui-review?(randersen)
Comment on attachment 8697101 [details]
Simulator Screen Shot Dec 9, 2015, 4.55.01 PM.png

LGTM!

Definitely prefer favicons over screenshots.
Attachment #8697101 - Flags: ui-review?(randersen) → ui-review+
Attached file Pull request
Attachment #8690985 - Attachment is obsolete: true
Attachment #8690986 - Attachment is obsolete: true
Attachment #8690985 - Flags: ui-review?(randersen)
Attachment #8697420 - Flags: feedback?(sleroux)
Comment on attachment 8697420 [details] [review]
Pull request

Added :st3fan for feedback.
Attachment #8697420 - Flags: feedback?(sarentz)
Comment on attachment 8697420 [details] [review]
Pull request

This is pretty cool! Left some comments on the PR.

Also noticed that when selecting a search result from spotlight it opens the link in a new tab and not in the existing tab. Is that expected?
Attachment #8697420 - Flags: feedback?(sleroux) → feedback+
(In reply to Stephan Leroux [:sleroux] from comment #8)
> Also noticed that when selecting a search result from spotlight it opens the
> link in a new tab and not in the existing tab. Is that expected?

No that sounds like a bug. The Quick Search results should mirror the open tabs in Firefox. So selecting a result should simply open the existing tab. Not a new one.
Flags: needinfo?(jhugman)
Comment on attachment 8697420 [details] [review]
Pull request

I'd like to land this to get more people to find bugs.

There are at least two issues which are increasingly out of scope of this bug.
Attachment #8697420 - Flags: feedback?(sarentz) → review?(etoop)
Comment on attachment 8697420 [details] [review]
Pull request

A couple of comments on PR but essentially :+1:

(It's a really cool feature, I love it :) )
Attachment #8697420 - Flags: review?(etoop) → review+
Nits addressed, and merged. 

Followups filed.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Testing this out on master (01/14)

Working great thus far, verification testing

Questions:

 * Queries yielding both or either 'Top Hits' (app icon/site) vs just our application 'Fennec' (app icon/site); what's the differentiator here?

 * Most queries just yielding the application icon and not the site icon – does it take a while for this metadata to get pulled in?
I saw the icons not appearing on first visit, and have filed Bug 1239028.

The search query processing and search results aren't anything we do. I filed Bug 1239023 to explore how we can change our ranking. Top Hits, afaik is based on frequency of usage, though it's difficult to definitively know.
Depends on: 1239023
Depends on: 1239028
Depends on: 1241190
Depends on: 1241223
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: