Design Tweaks
Categories
(Firefox :: New Tab Page, defect, P1)
Tracking
()
People
(Reporter: wolasi, Assigned: gsuntop)
References
Details
(Keywords: github-merged)
Attachments
(5 files, 1 obsolete file)
Please make the following cosmetic changes…
Update Component Header Styling
.icon {
fill: var(--newtab-text-secondary-color);
}
.ds-header {
color: #737373;
font-size: 13px;
line-height: 20px;
margin: 8px 0;
}
Update Message Styles
- Delete or hide <hr>
- Change pocket icon color to #737373
- Make the following CSS changes
.ds-message .title span {
line-height: 20px;
font-size: 13px;
color: #737373;
}
.ds-message .subtitle {
font-size: 13px;
}
Update Source and Content Text Color
Token for new color is teal-80
.ds-hero .wrapper .meta .source {
color: #005a71;
}
.ds-list-item .ds-list-item-info, .ds-list-item .ds-list-item-context {
color: #005a71;
}
.ds-card .meta .context, .ds-card .meta .source {
color: #005a71;
}
Change Hero Excerpt Line-height
.ds-hero .excerpt {
line-height: 20px;
}
Line Clamping Updates
- Clamp card titles at 3 lines
- Clamp card excerpts at 3 lines
- Clamp list titles at 3 lines
| Reporter | ||
Updated•7 years ago
|
Updated•7 years ago
|
| Reporter | ||
Updated•7 years ago
|
Comment 1•7 years ago
|
||
Need to check line clamping to see if CSS overrides will work -> could bundle line clamping into QA bugs that get fixed.
Updated•7 years ago
|
| Assignee | ||
Comment 2•7 years ago
|
||
Note: Pocket icon in Message icon is an image element with a source URL defined in the layout JSON, so we'll need to upload a new correctly colored image and update the layout to make that #737373 color tweak.
| Assignee | ||
Comment 3•7 years ago
|
||
| Assignee | ||
Comment 4•7 years ago
|
||
@Wolasi – Please see https://bugzilla.mozilla.org/attachment.cgi?id=9043778 for design review. Thanks!
Comment 5•7 years ago
|
||
(In reply to Gavin Suntop :gvn from comment #2)
Note: Pocket icon in Message icon is an image element with a source URL defined in the layout JSON, so we'll need to upload a new correctly colored image and update the layout to make that
#737373color tweak.
If the server set the image to resource://activity-stream/data/content/assets/glyph-pocket-16.svg we could set the fill color via css.
| Reporter | ||
Comment 6•7 years ago
|
||
| Reporter | ||
Comment 7•7 years ago
|
||
@gvn can we get the source in the primary story to be bottom aligned with the source in the last row of secondary stories? See attachment for reference.
| Reporter | ||
Comment 8•7 years ago
|
||
| Reporter | ||
Comment 9•7 years ago
|
||
@gvn Pocket icon attached to ticket
| Assignee | ||
Comment 11•7 years ago
•
|
||
@mathijs can you replace the Message image URL with resource://activity-stream/data/content/assets/glyph-pocket-16.svg?
Comment 12•7 years ago
•
|
||
From bug 1527819 where tall letters of primary hero excerpts are getting cut off:
looks like
.ds-hero .wrapper .meta p {
font-size: 14px
is more specific than
.ds-hero .excerpt {
font-size: 15px;
that was expected for the max-height em usage here
| Assignee | ||
Comment 13•7 years ago
|
||
@Wolasi – Here's a revised version per your feedback. Note that the grey boxes have images, it's just an artifact of how Firefox is generating screenshots.
| Reporter | ||
Comment 14•7 years ago
|
||
Component headers look good, but the layout of the message component isn't to spec https://www.figma.com/file/HAk87Z6QBcu6YxBIoXN6LJcU/Firefox-Home-Modules?node-id=9%3A16
Comment 15•7 years ago
|
||
| Assignee | ||
Comment 16•7 years ago
|
||
(Design approved by Wolasi via Vidyo.)
Updated•7 years ago
|
Updated•7 years ago
|
Comment 17•7 years ago
|
||
Comment 18•7 years ago
•
|
||
Gavin, Can you add some QA steps for this?
Wolasi can you QA?
| Assignee | ||
Comment 19•7 years ago
|
||
Wolasi has already QA'd this and it's gone through code review. I don't believe it needs further QA.
| Reporter | ||
Comment 20•7 years ago
|
||
I have verified in Nightly 67.0a1 on Mac OS 10.14.3 the requested changes for the following…
- header styling
- message layout and styling
- source and context text color
- hero excerpt line-height
- line clamping updates for card and list titles, and card excerpts
Updated•7 years ago
|
Comment 21•7 years ago
|
||
| Assignee | ||
Comment 22•7 years ago
|
||
Comment on attachment 9044313 [details]
Bug 1527370 – Design Tweaks 2 for Discovery Stream
Beta/Release Uplift Approval Request
Feature/Bug causing the regression
User impact if declined
Sub-optimal and less consistent visual layout.
Is this code covered by automated tests?
No
Has the fix been verified in Nightly?
Yes
Needs manual test from QE?
No
If yes, steps to reproduce
List of other uplifts needed
None
Risk to taking this patch
Low
Why is the change risky/not risky? (and alternatives if risky)
Almost all CSS tweaks and a small HTML tweak.
String changes made/needed
Comment 23•7 years ago
|
||
Comment on attachment 9044313 [details]
Bug 1527370 – Design Tweaks 2 for Discovery Stream
Verified in Nightly, part of planned uplifts for pocket+new tab experiment in 66.
Comment 24•7 years ago
|
||
Note, landing order: bug 1527370, bug 1527701, bug 1518258, bug 1527397, bug 1527626.
Comment 25•7 years ago
|
||
Actual, real, correct landing order this time: bug 1519879, bug 1525494, bug 1526861, bug 1524669, bug 1527195, bug 1525391, bug 1527347, bug 1525366, bug 1527626, bug 1527397, bug 1518258, bug 1527701, bug 1527370.
Comment 26•7 years ago
|
||
| bugherder uplift | ||
Comment 27•7 years ago
|
||
(In reply to Wolasi from comment #20)
I have verified in Nightly 67.0a1 on Mac OS 10.14.3 the requested changes
for the following…
- header styling
- message layout and styling
- source and context text color
- hero excerpt line-height
- line clamping updates for card and list titles, and card excerpts
Can you please verify this issue on Firefox 66 Beta 9 (https://archive.mozilla.org/pub/firefox/candidates/66.0b9-candidates/build1/)?
| Reporter | ||
Comment 28•7 years ago
|
||
I have verified in Beta 66.0b9 on Mac OS 10.14.3 the requested changes for the following…
- header styling
- message layout and styling
- source and context text color
- hero excerpt line-height
- line clamping updates for card and list titles, and card excerpts
Updated•7 years ago
|
Comment 29•7 years ago
|
||
(In reply to Wolasi from comment #28)
I have verified in Beta 66.0b9 on Mac OS 10.14.3 the requested changes for
the following…
- header styling
- message layout and styling
- source and context text color
- hero excerpt line-height
- line clamping updates for card and list titles, and card excerpts
Thanks for verifying this!
Updated•7 years ago
|
Description
•