The “Collection” section is wrongly dismissed when a collection card is dismissed, archived, or deleted from Pocket
Categories
(Firefox :: New Tab Page, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox73 | --- | unaffected |
| firefox74 | --- | unaffected |
| firefox75 | --- | verified |
| firefox76 | --- | verified |
People
(Reporter: romartin, Assigned: thecount)
References
Details
Attachments
(1 file)
|
1.13 MB,
image/gif
|
Details |
[Affected versions]:
- Firefox Nightly 75.0a1 Build ID: 20200228092428
[Affected Platforms]:
- Windows 10 x64
- macOS 10.15
- Arch Linux 5.3.6 x64
[Prerequisites]:
- Have the value of the pref
browser.newtabpage.activity-stream.discoverystream.endpointsset tohttp,https. - Have the value of the pref
browser.newtabpage.activity-stream.discoverystream.configset to{"api_key_pref":"extensions.pocket.oAuthConsumerKey","collapsible":true,"enabled":true,"show_spocs":true,"hardcoded_layout":false,"personalized":true,"layout_endpoint":"https://e5e8374d-fffa-4a77-a604-31603852b6fd.mock.pstmn.io/1615081-layout"}. - Have the value of the pref
browser.search.regionset toUS.
[Steps to reproduce]:
- Open the browser with the profile from prerequisites.
- Open a new tab and hover a card from the “Collection” section.
- Click the “Open menu” button and select the “Dismiss” option.
- Observe the “Collection” section.
[Expected result]:
- The “Collection” section only has 2 cards left and the dismissed card disappears.
[Actual result]:
- The “Collection” section is completely dismissed.
[Notes]:
- This issue is also reproducible if the “Archive to pocket” or “Delete from Pocket” options are selected instead.
- If a “Sponsored Card” from the “Recommended by Pocket” section that has a URL shared with a card from the “Collection” section is dismissed, archived, or deleted from Pocket, the whole “Collection” section is dismissed.
- Attached a screen recording of the issue.
| Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
| Assignee | ||
Comment 1•6 years ago
|
||
There is a product decision to not display collections with less than 3 items, so initially this test was going to be done with only 3 items, meaning if you dismiss even 1, you end removing the whole collection.
We also had an issue where each item was the same flight_id, which is what we dismiss spnsored content on. So if you dismissed 1, all would go.
We've remedied this by increasing the number of items in the inventory (only 3 are shown, out of 5 or 6).
We've also ensured each item is using a different flight_id.
With these two fixes, you would need to dismiss 3 items, and then the whole section would then go away.
Comment 2•6 years ago
|
||
We'll update when this feature is ready for QA
Comment 3•6 years ago
|
||
Scott - are we ready for QA to reQA this with the changes from #c1 ?
| Reporter | ||
Comment 5•6 years ago
|
||
Hey @Scott,
Given the product decision mentioned in comment 1, we’ve revisited this scenario and found the following:
[Prerequisites]:
- Have the value of the pref
browser.newtabpage.activity-stream.discoverystream.spocs-endpointset tohttps://spocs.getpocket.com/spocs?site=1116390. - Have the value of the pref
browser.search.regionset toUS.
[Steps to reproduce]:
- Open the browser with the profile from prerequisites and open a new tab.
- Open a new tab and hover a card from the “Collection Promo” section.
- Click the “Open menu” button and select the “Dismiss” option.
- Observe the “Collection” section.
[Expected result]:
- The dismissed card is no longer displayed and a new one from the queue has taken its place.
[Actual result]:
- The “Collections Promo” section is dismissed.
After finalizing the above scenario it is possible for the “Collection Promo” to be redisplayed. See bug 1620283. Can you please take a look at this?
| Assignee | ||
Comment 6•6 years ago
|
||
I can confirm the above, both that, and Bug 1620283 are good catches.
I'll look into both, and if related, fix both in 1620283.
Thanks for catching!
| Assignee | ||
Comment 7•6 years ago
|
||
Bug 1620283 is fixed, hoping to be in nightly tomorrow, and I was able to fix both issues in there.
| Assignee | ||
Updated•6 years ago
|
Comment 8•6 years ago
|
||
I have verified that this issue is no longer reproducible on Nightly 75.0a1 (Build ID: 20200309091841) on Windows 10 x64, Mac 10.15, Mint 19.2 Tina.
The prefs were those used in the experiment:
Browser.newtabpage.activity-stream.discoverystream.spocs-endpointset tohttps://spocs.getpocket.com/spocs?site=1116390&country=US®ion=US-CA.Browser.search.regionset toUS.
Dismissing, saving to Pocket, archiving or deleting a single card from Pocket no longer dismisses the section.
However, we noticed that this issue was still reproducible using the setup initially received for the feature:
browser.newtabpage.activity-stream.discoverystream.endpointsset tohttp,https.browser.newtabpage.activity-stream.discoverystream.configset to{"api_key_pref":"extensions.pocket.oAuthConsumerKey","collapsible":true,"enabled":true,"show_spocs":true,"hardcoded_layout":false,"personalized":true,"layout_endpoint":"https://e5e8374d-fffa-4a77-a604-31603852b6fd.mock.pstmn.io/1615081-layout"}.browser.search.regionset toUS.
Also, the cards for the feature are different from those used in the experiment, which makes us think the feature setup is now obsolete.
@Scott, could you please confirm that we should use the experiment setup from now on?
| Assignee | ||
Comment 9•6 years ago
|
||
Correct, we should be using the experiment setup endpoint from now on.
Comment 10•6 years ago
|
||
Considering the previous comment, I can confirm that the issue is no longer reproducible using Firefox Nightly 76.0a1 (Build ID: 20200310094445) and Firefox Beta 75.01b (Build ID: 20200309155231) on Windows 10 x64, Mac 10.15, Mint 19.2 Tina.
Dismissing, saving to Pocket, archiving or deleting a single card from Pocket no longer dismisses the section.
@Scott, do you think we can close this issue?
| Assignee | ||
Comment 11•6 years ago
|
||
Yup, we can close this. Fixed in bug 1620283
Comment 12•6 years ago
|
||
Based on comment 10, I am marking this issue as VERIFIED.
Description
•