Collection component dismiss
Categories
(Firefox :: New Tab Page, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox75 | --- | verified |
People
(Reporter: thecount, Assigned: thecount)
References
Details
Attachments
(1 file)
Right now the work in progress collection component does not have a working dismiss button.
Doing this work likely also means wiring up telemetry for dismiss.
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Comment 2•5 years ago
|
||
New requirement from Product: We should control the visibility of the collection dismiss button with a pref in case we need to launch without this functionality or we want to test the usefullness of the dismiss button later on.
(Scott, NI for visibility)
Assignee | ||
Comment 3•5 years ago
•
|
||
To test:
- Ensure you can see spocs
- Set "browser.newtabpage.activity-stream.discoverystream.spocs-endpoint" to https://spocs.getpocket.com/spocs?site=1116390
- Set "browser.newtabpage.activity-stream.discoverystream.isCollectionDismissible" to true
- Open a newtab.
expected: You should see a collection on newtabs, above the pocket section.
If you want to dismiss this, you can, if you do that and you want to enable the dismissed items again, do these steps:
- clear the pref browser.newtabpage.blocked
- enable browser.newtabpage.activity-stream.asrouter.devtoolsEnabled
- go to about:home#devtools-ds
- click refresh cache
- restart
expected, the collection should be back if you dismissed it.
You can also test test promo just to make sure it did regress during all this. To test that, do these steps:
- Set browser.newtabpage.activity-stream.discoverystream.endpoints to http,https
- Set browser.newtabpage.activity-stream.discoverystream.config to
{"api_key_pref":"extensions.pocket.oAuthConsumerKey","collapsible":true,"enabled":true,"show_spocs":true,"hardcoded_layout":false,"personalized":true,"layout_endpoint":"https://fdfde809-c40b-4dda-96e1-4df41fab3389.mock.pstmn.io/text-promo-layout"}
Expected: You should see a text promo, and you should be able to dismiss it, and clear the dismiss to test again using the same steps used above for collections.
Comment 5•5 years ago
|
||
bugherder |
Comment 6•5 years ago
|
||
I have verified the following, using Firefox Nightly 75.0a1 (Build ID: 20200302094818) on Windows 10 x64, macOS 10.15, Ubuntu Linux 18.04 x64.
- The “Collection” section is dismissed after the “Dismiss” button was pressed.
- The “Collection” section can be enabled again by following the steps from comment 3.
- The “Text Promo” section is dismissed after the “Dismiss” button was pressed.
Description
•