Update pocket and highlights card box shadow and border radius if newNewtabExperience is enabled
Categories
(Firefox :: New Tab Page, task, P1)
Tracking
()
People
(Reporter: prathiksha, Assigned: prathiksha)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
Assignee | ||
Comment 1•3 years ago
|
||
Pushed by prathikshaprasadsuman@gmail.com: https://hg.mozilla.org/integration/autoland/rev/1139f807e404 Update pocket and highlights card box shadow and border radius if newNewtabExperience is enabled. r=ewright
Comment 3•3 years ago
|
||
Backed out changeset 1139f807e404 (Bug 1687827) for causing bc failures in browser_parsable_css.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/be339641243e3fd6c82ff588cf58113c8a7b1209
Failure logs:
-bc: https://treeherder.mozilla.org/logviewer?job_id=328145601&repo=autoland&lineNumber=1599
Pushed by prathikshaprasadsuman@gmail.com: https://hg.mozilla.org/integration/autoland/rev/a9d27a32ec85 Update pocket and highlights card box shadow and border radius if newNewtabExperience is enabled. r=ewright
Assignee | ||
Updated•3 years ago
|
Comment 5•3 years ago
|
||
bugherder |
Assignee | ||
Comment 6•3 years ago
•
|
||
Comment on attachment 9198326 [details]
Bug 1687827 - Update pocket and highlights card box shadow and border radius if newNewtabExperience is enabled.
Beta/Release Uplift Approval Request
- User impact if declined: Some small styles like the border-radius and box-shadow will not be updated on the newtab page for an experiment we plan to run in 86.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: 1. Set
browser.newtabpage.activity-stream.newNewtabExperience.enabled
pref to true.
-
Verify that the border radius of Pocket and Highlights cards is 8px.
-
Verify that new box-shadow on focus is added to Pocket and Highlights cards as per the spec.
-
Verify that a new box shadow is added to Pocket and Highlights cards as shown in the spec.
-
Set
browser.newtabpage.activity-stream.newNewtabExperience.enabled
pref to false and verify that (2), (3) and (4) are not effective.
spec: https://www.figma.com/file/hGOaTi5ufs2Ese6agbUN4G/New-New-Tab
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Small style changes behind a pref (will only affect experiment users).
- String changes made/needed: None
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 7•3 years ago
|
||
I have verified the following based on a Slack conversation with @Prathiksha and based on the steps provided in comment 6 using Firefox Nightly 87.0a1 (Build ID: 20210201213620) on Windows 10 x64, macOS 10.15.6, and Ubuntu Linux 20.04 x64:
- With the
browser.newtabpage.activity-stream.newNewtabExperience.enabled
pref set totrue
for the Pocket cards:- The
box-radius
is 8px. - The
box-shadow
has the "0 3px 8px var(--newtab-card-first-shadow), 0 0 2px var(--newtab-card-second-shadow)" value which is expected as per figma.
- The
- With the
browser.newtabpage.activity-stream.newNewtabExperience.enabled
pref set totrue
for the "Recent activity" cards:- The
box-radius
is 8px. - The
box-shadow
has the "0 3px 8px var(--newtab-card-first-shadow), 0 0 2px var(--newtab-card-second-shadow)" value which is expected as per figma.
- The
- With the
browser.newtabpage.activity-stream.newNewtabExperience.enabled
pref set tofalse
for the Pocket cards:- The
box-radius
is 4px. - The
box-shadow
has the "0 1px 4px 0 rgba(12, 12, 13, 0.1)" value.
- The
- With the
browser.newtabpage.activity-stream.newNewtabExperience.enabled
pref set tofalse
for the "Highlights" cards:- The
box-radius
is 3px. - The
box-shadow
has the "var(--newtab-card-shadow)" value.
- The
Comment 8•3 years ago
|
||
Comment on attachment 9198326 [details]
Bug 1687827 - Update pocket and highlights card box shadow and border radius if newNewtabExperience is enabled.
Approved for 86 beta 5, thanks.
Updated•3 years ago
|
Comment 9•3 years ago
|
||
bugherder uplift |
Comment 10•3 years ago
|
||
I have verified the following based on the steps provided in comment 6 using Firefox Beta 86.0b5 (Build ID: 20210202185823) on Windows 10 x64, macOS 10.15.6, and Ubuntu Linux 20.04 x64:
- With the
browser.newtabpage.activity-stream.newNewtabExperience.enabled
pref set totrue
for the Pocket cards:- The
box-radius
is 8px. - The
box-shadow
has the "0 3px 8px var(--newtab-card-first-shadow), 0 0 2px var(--newtab-card-second-shadow)" value which is expected as per figma.
- The
- With the
browser.newtabpage.activity-stream.newNewtabExperience.enabled
pref set totrue
for the "Recent activity" cards:- The
box-radius
is 8px. - The
box-shadow
has the "0 3px 8px var(--newtab-card-first-shadow), 0 0 2px var(--newtab-card-second-shadow)" value which is expected as per figma.
- The
- With the
browser.newtabpage.activity-stream.newNewtabExperience.enabled
pref set tofalse
for the Pocket cards:- The
box-radius
is 4px. - The
box-shadow
has the "0 1px 4px 0 rgba(12, 12, 13, 0.1)" value.
- The
- With the
browser.newtabpage.activity-stream.newNewtabExperience.enabled
pref set tofalse
for the "Highlights" cards:- The
box-radius
is 3px. - The
box-shadow
has the "var(--newtab-card-shadow)" value.
- The
Description
•