Pocket newtab remote layouts descriptions broke
Categories
(Firefox :: Pocket, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | unaffected |
firefox95 | --- | unaffected |
firefox96 | --- | unaffected |
firefox97 | --- | fixed |
People
(Reporter: thecount, Assigned: thecount)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
This is a bug caused by bug 1746649.
Bug 1746649 made it so we could add/remove description via a pref for testing purposes, the default is still on.
Where this went wrong and caused this bug is two fold.
We made the pref default to true, and called it "includeDescriptions"
We didn't consider remote layouts.
When remote layouts try to render, they don't use the standard render stack, and end up not getting the "includeDescriptions" default.
Because we don't want to have to maintain or modify the remote layouts, it probably makes more sense to flip "includeDescriptions" to "hideDescriptions", this way old layouts default state is falsy, and in this case, falsy produces the previous experience.
We should still be able to run our test with "hideDescriptions" just fine, just reversing the logic a bit.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Comment 2•2 years ago
|
||
Set release status flags based on info from the regressing bug 1746649
Assignee | ||
Comment 3•2 years ago
|
||
Steps to test:
- Set pref browser.newtabpage.activity-stream.asrouter.devtoolsEnabled to true
- Go to about:home#devtools-ds
- Uncheck "hardcoded_layout"
- Check "staging_spocs"
- Open a new tab
Expected: Stories should have descriptions.
Pushed by sdowne@getpocket.com: https://hg.mozilla.org/integration/autoland/rev/a56b41089893 Fixing Pocket newtab descriptions for remote layouts. r=gvn
Comment 5•2 years ago
|
||
bugherder |
Updated•2 years ago
|
Description
•