Closed Bug 1513253 Opened 3 years ago Closed 2 years ago

Activity Stream layout configuration for rapid experiment creation


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




Firefox 66
66.3 - Jan 7 - 20


(Reporter: thecount, Assigned: gsuntop)



We need a way to reconfigure the layout of activity stream rapidly.

The idea is something remote would send us data on how to render the layout, then render the layout.

This bug is dealing with:
1. The retrieval of the data.
2. Render the page based on the data.
3. Coming up with a structure for the data.
4. Coordinate with server engineers for sending us that data.

We can totally split this into smaller bugs if it makes sense.
Blocks: 1512725
Iteration: --- → 66.1 - Dec 10-23
Priority: -- → P2
I predict we do want to split this up into smaller bugs, but we might want do a very simple prototype our final approach first, and that could potentially happen in this bug.
I've extracted the high level pattern from the example wireframes and put them into a more "API" definition here:

Generally, there's 3 layout areas (full width area above the two columns split 2/3 and 1/3). Within each of these areas, there can be any (0+) number of sections (each optionally titled with own views (components bug 1513353) and other settings).

For example, the current new tab page with search, topsites, pocket, highlights could be defined as:
  full: [
    { title: "Recommended by Pocket", view: "card", limit: 3 },
  left: [],
  right: []

… where the 2/3 left and 1/3 right columns are unused/empty.
Assignee: nobody → gsuntop
Depends on: 1514337
Severity: normal → enhancement
Blocks: 1514880
Iteration: 66.1 - Dec 10-23 → 66.2 - Dec 24 - Jan 6
Iteration: 66.2 - Dec 24 - Jan 6 → 66.3 - Jan 7 - 20
Depends on: 1518921
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 66
Component: Activity Streams: Newtab → New Tab Page
You need to log in before you can comment on or make changes to this bug.