Closed
Bug 997888
Opened 11 years ago
Closed 11 years ago
Exclude sites from suggested sites
Categories
(Firefox for Android Graveyard :: Awesomescreen, defect)
Tracking
(firefox32 verified, firefox33 verified)
VERIFIED
FIXED
Firefox 32
People
(Reporter: lucasr, Assigned: lucasr)
References
Details
Attachments
(2 files, 1 obsolete file)
3.87 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
2.79 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
To avoid having duplicate top and suggested sites in the grid.
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Comment 2•11 years ago
|
||
Assignee | ||
Comment 3•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Attachment #8421696 -
Attachment is obsolete: true
Assignee | ||
Comment 4•11 years ago
|
||
Comment on attachment 8421695 [details] [diff] [review]
Add API to exclude URLs from suggested sites (r=mfinkle)
API + unit test.
Attachment #8421695 -
Flags: review?(mark.finkle)
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 8421698 [details] [diff] [review]
/1008210 - Exclude pinned/top sites from suggested sites (r=mfinkle)
Change BrowserDB to use new API. The size of excludeUrls will, in practice, be between 5 and 8, pretty small. Using a simple list should be fine. I can micro-optimize it by using something like HashMap (bigger memory footprint) if you feel strongly about it.
Attachment #8421698 -
Flags: review?(mark.finkle)
Updated•11 years ago
|
Attachment #8421695 -
Flags: review?(mark.finkle) → review+
Comment 6•11 years ago
|
||
Comment on attachment 8421698 [details] [diff] [review]
/1008210 - Exclude pinned/top sites from suggested sites (r=mfinkle)
Looks OK. I'm not too worried about the excludeUrls size, as longs as it stays in the <10 range.
These patches favor using the real thumbnail over the suggested thumbnail. We might decide to change that later; just a heads-up.
Also, how does this work with the new "privacy thumbnail" code? Sites that use "no-store" or are SSL will not get a real thumbnail. They just display a favicon+dominatcolor thumbnail. Will suggested thumbnails be used instead, if we have one?
Attachment #8421698 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 7•11 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #6)
> Comment on attachment 8421698 [details] [diff] [review]
> /1008210 - Exclude pinned/top sites from suggested sites (r=mfinkle)
>
> Looks OK. I'm not too worried about the excludeUrls size, as longs as it
> stays in the <10 range.
>
> These patches favor using the real thumbnail over the suggested thumbnail.
> We might decide to change that later; just a heads-up.
Yeah, I'll tackle the overall image precedence behaviour in bug 1009587. Still needs some discussion.
> Also, how does this work with the new "privacy thumbnail" code? Sites that
> use "no-store" or are SSL will not get a real thumbnail. They just display a
> favicon+dominatcolor thumbnail. Will suggested thumbnails be used instead,
> if we have one?
Nope. Right now we only show the suggested thumbnails on suggested sites. I'll change that based on what agree on in bug 1009587.
Assignee | ||
Comment 8•11 years ago
|
||
Comment 9•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/c5a13dbf3154
https://hg.mozilla.org/mozilla-central/rev/6fb2da864ddf
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 32
Comment 10•11 years ago
|
||
Verified this on Latest Nightly (Fennec 33.0a1 ) and Aurora (Fennec 32.0a2)
Try to add one of the 4 suggested sites as pinned tab in top sites grid -> The suggested site will move int he position you choose to pin the URL.
Status: RESOLVED → VERIFIED
status-firefox32:
--- → verified
status-firefox33:
--- → verified
QA Contact: ioana.chiorean
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•