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)
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)
[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.
Comment 1•7 years ago
|
||
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)
Comment 2•7 years ago
|
||
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)
Updated•7 years ago
|
Iteration: --- → 64.1 (Sep 14)
Priority: -- → P3
Comment 3•7 years ago
|
||
Updated•7 years ago
|
Iteration: 64.1 (Sep 14) → 64.2 (Sep 28)
Updated•7 years ago
|
Assignee: nobody → khudson
Priority: P3 → P1
Comment 4•7 years ago
|
||
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
Comment 5•7 years ago
|
||
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 → ---
Comment 6•7 years ago
|
||
Commit pushed to master at https://github.com/mozilla/activity-stream
https://github.com/mozilla/activity-stream/commit/ba07fb929462f7f66a3d98b837d7adcdf1d6cf26
Bug 1489530: include blocked sites in ASRouter top sites targeting
Updated•7 years ago
|
Status: REOPENED → RESOLVED
Closed: 7 years ago → 7 years ago
Resolution: --- → FIXED
Comment 7•7 years ago
|
||
Target Milestone: --- → Firefox 64
Comment 8•7 years ago
|
||
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.
Updated•7 years ago
|
Iteration: 64.2 (Sep 28) → 64.3 (Oct 12)
Updated•7 years ago
|
Iteration: 64.3 (Oct 12) → 65.1 (Nov 2)
Updated•7 years ago
|
Iteration: 65.1 (Nov 2) → 65.2 (Nov 16)
Updated•7 years ago
|
Assignee: khudson → nobody
Priority: P1 → P3
Updated•7 years ago
|
Iteration: 65.2 (Nov 16) → ---
Updated•6 years ago
|
Component: Activity Streams: Newtab → Messaging System
Updated•6 years ago
|
Component: Messaging System → New Tab Page
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•