Closed Bug 1671670 Opened 4 years ago Closed 4 years ago

Sorting SPOCs primarily by flight priority

Categories

(Firefox :: New Tab Page, enhancement, P1)

enhancement

Tracking

()

VERIFIED FIXED
84 Branch
Iteration:
84.1 - Oct 19 - Nov 01
Tracking Status
firefox84 --- verified

People

(Reporter: thecount, Assigned: thecount)

References

Details

Attachments

(1 file)

Right now spocs are sorted exclusively by score, and it doesn't care if the score was the default score, or a personalized score.

This fix would include:

Order results based on priority, such that higher priority SPOCs are always ahead of lower priority SPOCs
Use personalization to sort SPOCs of the same priority
hierarchical sorting

Assignee: nobody → sdowne
Iteration: --- → 84.1 - Oct 19 - Nov 01
Priority: -- → P1

To test:

  1. Set "browser.newtabpage.activity-stream.discoverystream.endpoints" to "http,https"
  2. Set "browser.newtabpage.activity-stream.discoverystream.spocs-endpoint" to "https://e5e8374d-fffa-4a77-a604-31603852b6fd.mock.pstmn.io/spocs/v2priority"
  3. Open a new tab

Expected, order of spocs in card positions 2, 4, 11, and 20 should be: "Priority 1 spoc a", "Priority 1 spoc b", "priority 2 spoc", "Priority undefined spoc"

Pushed by sdowne@getpocket.com: https://hg.mozilla.org/integration/autoland/rev/8b5452963b2c Update story sort to consider priority prop. r=gvn
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch

I have verified this enhancement using the steps from comment 1 and I can confirm that the "Priority 1 spoc a", "Priority 1 spoc b", "priority 2 spoc",and the "Priority undefined spoc" SPOCs are displayed in order in the 2, 4, 11, and 20 positions from the "Recommended by Pocket" section.

Verified using the latest Firefox Nightly (84.0a1 Build ID - 20201029095639) installed on Windows 10 x64, Mac 10.15, and Ubuntu 18.04 x64.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: