Open Bug 1489530 Opened 7 years ago Updated 3 years ago

The "frecency" score value is no longer counted, after the website was removed from the "Top Site" area

Categories

(Firefox :: New Tab Page, defect, P3)

Unspecified
All
defect

Tracking

()

REOPENED
Firefox 64
Tracking Status
firefox-esr60 --- unaffected
firefox62 --- unaffected
firefox63 --- affected
firefox64 --- affected

People

(Reporter: mcoman, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Attached image rec of the issue.gif
[Affected versions]: - Firefox 63 and above [Affected Platforms]: - All Windows - All Linux - All Mac [Prerequisites]: - Have a Firefox profile with the following prefs in the "about:config" page: - "browser.newtabpage.activity-stream.asrouterExperimentEnabled" with "true" value; - "browser.search.region" with "US" value. - "devtools.chrome.enabled" on true. - Have the "Browser Console" opened. [Steps to reproduce]: 1. Open the browser with the profile from prerequisites. 2. Open a new tab and click the "Youtube" Top Site. 3. Open another new tab and dismiss the "Youtube" top site. 4. Navigate to the "youtube.com" in five separate tabs and focus the "Browser Console". 5. Enter the following string in the console: "NewTabUtils.activityStreamProvider.getTopFrecentSites({numItems: 25}).then(r => console.log(r.map(s=>`${s.url} [${s.frecency}]`).join('\n')))". 6. Observe the displayed "frecency". [Expected result]: - The "frecency" score is equal or over "10000". [Actual result]: - There is no "frecency" score displayed at all. [Notes]: - This issue is reproducible for each website with a card in the "Top Sites" area. - Also, after following the steps above, the "CFR" recommendation button is no longer triggered for that website. - This issue is not reproducible if the "Top Site" was deleted before accessing its website. - Attached a screen recording of the issue.
This happens because blocked sites are removed from the top sites targeting added in bug 1471350: const FRECENT_SITES_IGNORE_BLOCKED = true; Was there a decision then to explicitly ignore blocked?
Depends on: 1471350
Flags: needinfo?(ahillier)
I don't think it was an explicit decision, more just a choice that had to be made when implementing the top sites targeting before it had any consumer message providers. I guess you could make the argument that it might depend on the type of message and that some hypothetical future message provider might only want to only target un-blocked sites. For CFR though I think you're right that it makes sense to not ignore blocked.
Flags: needinfo?(ahillier)
Iteration: --- → 64.1 (Sep 14)
Priority: -- → P3
Iteration: 64.1 (Sep 14) → 64.2 (Sep 28)
Assignee: nobody → khudson
Priority: P3 → P1
We've decided this is working as intended since we want to be looking at organic top sites rather than a user's top sites on their new tab page (just because someone has blocked them from their new tab doesn't mean they don't visit them frequently) If we want to look at blocking of new tab tiles as a signal, we can do so separately.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Sorry, I was reading this as the opposite change. As described above, we should *not* filter out blocked sites so this patch is needed.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Status: REOPENED → RESOLVED
Closed: 7 years ago7 years ago
Resolution: --- → FIXED
Blocks: 1493794
The issue is still reproducible on the latest Nightly 64.0a1 (Build ID 20180925220052) on Windows 10 x64, Mac 10.13.3, and Arch Linux x64. Frecency is still not counted if the website is dismissed from Top Sites and we don't show a recommendation regardless of how many times the website is visited. I've even tried blocking a website that already had over 10k frecency and I didn't get a recommendation.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Iteration: 64.2 (Sep 28) → 64.3 (Oct 12)
Iteration: 64.3 (Oct 12) → 65.1 (Nov 2)
Iteration: 65.1 (Nov 2) → 65.2 (Nov 16)
Assignee: khudson → nobody
Priority: P1 → P3
Iteration: 65.2 (Nov 16) → ---
Component: Activity Streams: Newtab → Messaging System
Component: Messaging System → New Tab Page
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: