Closed Bug 1519769 Opened 2 years ago Closed 2 years ago

clean up CSS for ds-list component


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




Firefox 66
66.3 - Jan 7 - 20
Tracking Status
firefox66 --- fixed


(Reporter: dmose, Assigned: dmose)



(Keywords: github-merged)

User Story

How to test:

* go to about:config
* search for stream.config
* set that preference to {"enabled":true,"layout_endpoint":""}
* open a new tab

The first "Trending Stories" is the list to look at.

This should now match, more or less exactly, the 1st list comp at the top of the Lists page on
Changes of note:

* the horizontal rule above the list should be the right color and positioned correctly
* general whitespace and positioning should match the comp
* item title is clamped at 2 lines, the info below the item title is clamped at 1
* individual horizontal lines are above all of the items except those on the top row

Known bugs are already captured as dependents of the ds-list-component bug:


(2 files)

The List component will be landing in bug 1519766 so that we have something in tree, but there will be some rough edges. A few things will need to be cleaned up to make them match the spec are:

  • make an HR appear above each row
  • various whitespace cleanup
  • get rid of the left-indentation of the list
Summary: clean up CSS for list component → clean up CSS for ds-list component
Severity: normal → enhancement
User Story: (updated)
Keywords: github-merged
Blocks: 1521093
Priority: P2 → P1
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 66

Hi, I have some questions wrt mock design. Added comments in the mock Numbered Lists. Will continue testing after clarification.

Flags: needinfo?(dmose)

Questions clarified by @WolasiKonu.

Issues :

  1. There is an issue where if the item title is long, we expect to see "..." at the end of 2nd line which is missing. Attached QA Result : Bug - 1519769.png
  2. As per Figma (Numbered Lists design mock), expected char limit is 34 char, but this exceeds more than the limit.

Original link to the article :

Tested on :

FF Nightly version : 66.0a1 (2019-01-20)

OS : Mac and Windows 10 Pro

Had an offline discussion with the team and agreeing that ellipsis and char count limit implementations will be considered as part of future release.

There's a separate issue tracked for the padding issues between ds-list-item-text and the image to the right here :

Other than that experiment is good.

Closing as verified.

Flags: needinfo?(dmose)
Component: Activity Streams: Newtab → New Tab Page
You need to log in before you can comment on or make changes to this bug.