Closed
Bug 1185038
Opened 10 years ago
Closed 10 years ago
Include/Suggest bookmarks in in-browser search results
Categories
(Firefox for iOS :: Data Storage, defect)
Tracking
()
RESOLVED
FIXED
4.0
People
(Reporter: aaronmt, Assigned: rnewman, Mentored)
References
Details
(Whiteboard: relnote)
Attachments
(3 files)
Currently we cease to suggest bookmarks are clearing private data
Visit http://techmeme.com
Add it as a bookmark
Type 'tech', see it suggested
Clear Private Data
Type 'tech', see it not suggested
Reproducible on master (2531f5)
Reporter | ||
Comment 3•10 years ago
|
||
Morph?
Summary: Bookmarks are not suggested after Clearing Private Data → Search suggest bookmarks
Assignee | ||
Comment 4•10 years ago
|
||
This will involve touching the getFilteredSites* queries, figuring out how bookmarks affect frecency, where to put bookmarks that have no visits, and also badging results with a star.
Component: General → Data Storage
Hardware: ARM → All
Summary: Search suggest bookmarks → Include bookmarks in Awesomebar results and domain autocompletion
Assignee | ||
Updated•10 years ago
|
Keywords: reproducible
![]() |
||
Comment 5•10 years ago
|
||
Targeting 1.0.x would be my preference, but could fall back to 1.1 :)
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Updated•10 years ago
|
Reporter | ||
Comment 7•10 years ago
|
||
Pains me we don't have this yet but 2.0-
Assignee | ||
Updated•10 years ago
|
Reporter | ||
Comment 8•10 years ago
|
||
Reporter | ||
Comment 9•10 years ago
|
||
Dependency resolved/re-summarize so I can find this better
Summary: Include bookmarks in Awesomebar results and domain autocompletion → Include/Suggest bookmarks in in-browser search results
![]() |
||
Updated•10 years ago
|
Assignee: nobody → randersen
![]() |
||
Comment 10•10 years ago
|
||
Surface Bookmarks to the top of the list, in order of last-accessed if there are multiple results. Add Bookmark star to cell, vertically centered, 16px from right edge. Truncate long titles with an ellipsis if they reach within 16px to the left of the Bookmark star.
![]() |
||
Comment 11•10 years ago
|
||
![]() |
||
Updated•10 years ago
|
Assignee: randersen → nobody
Assignee | ||
Comment 12•10 years ago
|
||
Robin: what's the limit on returned bookmarks? E.g., if I search for "http", at what point should we split and start showing history?
![]() |
||
Comment 13•10 years ago
|
||
(In reply to Richard Newman [:rnewman] from comment #12)
> Robin: what's the limit on returned bookmarks? E.g., if I search for "http",
> at what point should we split and start showing history?
I think 5 is sufficient. That's enough to fill the viewport on our smallest supported device when the keyboard drops on tap and isn't overwhelming.
Assignee | ||
Comment 14•10 years ago
|
||
I've got this done apart from showing the star in results and excluding bookmarks from the subsequent history rows.
Assignee: nobody → rnewman
Status: NEW → ASSIGNED
Assignee | ||
Comment 15•10 years ago
|
||
I noticed that table rows have an accessory view already, so I skipped the heavyweight approach in Bug 1168849 and decided to use that.
The data access part of this isn't 100% polished:
* We don't seem to retrieve favicons correctly.
* We don't de-dupe bookmarks on URL.
* We don't decorate history items that are bookmarked but aren't in the initial bookmark set (part of Bug 1168849's scope).
* We don't de-dupe history items that are also in the initial bookmark set, so they can be shown twice.
I don't know if those limitations should stop us landing this -- it's better than nothing, but fixing those might involve another database change. We could land in two parts.
Attachment #8734959 -
Flags: review?(etoop)
Assignee | ||
Comment 16•10 years ago
|
||
Robin gave ui+ over IRC. Tested on 5S and 6+.
Assignee | ||
Comment 17•10 years ago
|
||
Note that another way of doing this storage-wise is to FULL OUTER JOIN bookmarks to history, rather than to union two subqueries. That'd fix some of those limitations, with some cost and some edge cases (e.g., what do we GROUP BY on?).
![]() |
||
Comment 18•10 years ago
|
||
Comment on attachment 8734959 [details] [review]
Pull req.
Sorry for the delayed review. just a couple of nits. LGTM.
Attachment #8734959 -
Flags: review?(etoop) → review+
Assignee | ||
Comment 19•10 years ago
|
||
Thanks, Emily! I'll file follow-ups for anything I don't address immediately.
Assignee | ||
Comment 20•10 years ago
|
||
I'm just wrapping this up with a commit that fetches icons.
Assignee | ||
Comment 21•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 4.0
Assignee | ||
Updated•10 years ago
|
status-fxios-v4.0:
--- → fixed
Whiteboard: relnote
You need to log in
before you can comment on or make changes to this bug.
Description
•