Closed Bug 1551359 Opened 5 years ago Closed 5 years ago

Fill cards with longer excerpts for shorter titles

Categories

(Firefox :: New Tab Page, enhancement, P1)

enhancement

Tracking

()

VERIFIED FIXED
Firefox 68
Iteration:
68.4 - Apr 29 - May 12
Tracking Status
firefox68 --- verified

People

(Reporter: Mardak, Assigned: Mardak)

References

Details

(Keywords: github-merged)

Attachments

(7 files)

Attached image existing clamp 3 always

Cards currently have at most 6 lines -- 3 for title and 3 for excerpt. If the title uses fewer, there can be blank space.

Similarly lists with excerpts seem to be 4 lines and split 2/2.

Attached image card: clamp total 6
Attachment #9064632 - Flags: ui-review?(wkonu)
Attached image list: clamp total 4
Attachment #9064633 - Flags: ui-review?(wkonu)

What does this look like for the 3 column card grid?

Flags: needinfo?(edilee)

All these screenshots haven't implemented the 5-title 6-total that you suggested on slack. These are all 3-title 6-total.

Flags: needinfo?(edilee)
Attachment #9065427 - Flags: ui-review?(wkonu)
Comment on attachment 9064633 [details] list: clamp total 4 Looks good
Attachment #9064633 - Flags: ui-review?(wkonu)
Comment on attachment 9065427 [details] 3-column grid (and 4-): clamp total 6 Clamp looks good here. Is the 5-title max 6-total for cards out of scope for this bug? If so, let’s file another bug for it.
Attachment #9065427 - Flags: ui-review?(wkonu)

I completely rewrote the clamping to support "take up as many lines while keeping at least 1 for excerpt" as the behavior is a bit different from the current behavior of only allowing 3 for the title.

Attachment #9065614 - Flags: ui-review?(wkonu)
Comment on attachment 9065614 [details] card: total 6 with at least 1 line for each Let’s go with the following *Cards and Hero* 4 line max for title, 2 line minimum for excerpt (6 Ines total) *List with Excerpt* 3 line max fo excerpt (4 line total)
Attachment #9065614 - Flags: ui-review?(wkonu)

What changed since you last said to go with Let’s go with title taking (max-1) lines and the excerpt taking at least one line I already rewrote the implementation twice for the previous two, so I guess I'll do it again…

Attachment #9064632 - Flags: ui-review?(wkonu)
Blocks: 1552596
Blocks: 1552599
Status: NEW → RESOLVED
Closed: 5 years ago
Keywords: github-merged
Resolution: --- → FIXED
Target Milestone: --- → Firefox 68
No longer blocks: pocket-newtab-69

I have verified that cards use more lines for descriptions if the title allows it on the latest Firefox Nightly 68.0a1 (Build ID 20190519213707) on Windows 10, macOS 10.14, and Arch Linux 4.14.3.

Status: RESOLVED → VERIFIED
Regressions: 1552596
Component: Activity Streams: Newtab → New Tab Page
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: