Closed Bug 997888 Opened 11 years ago Closed 11 years ago

Exclude sites from suggested sites

Categories

(Firefox for Android Graveyard :: Awesomescreen, defect)

All
Android
defect
Not set
normal

Tracking

(firefox32 verified, firefox33 verified)

VERIFIED FIXED
Firefox 32
Tracking Status
firefox32 --- verified
firefox33 --- verified

People

(Reporter: lucasr, Assigned: lucasr)

References

Details

Attachments

(2 files, 1 obsolete file)

To avoid having duplicate top and suggested sites in the grid.
Blocks: 1008210
Attachment #8421696 - Attachment is obsolete: true
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)
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)
Attachment #8421695 - Flags: review?(mark.finkle) → review+
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+
(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.
Blocks: 1009574
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 32
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
QA Contact: ioana.chiorean
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: