Closed Bug 1520514 Opened 2 years ago Closed 2 years ago

Add memoized selector to add feed data and spocs to layout

Categories

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

enhancement

Tracking

()

VERIFIED FIXED
Firefox 66
Iteration:
66.3 - Jan 7 - 20
Tracking Status
firefox66 --- fixed

People

(Reporter: k88hudson, Assigned: k88hudson)

References

Details

(Keywords: github-merged)

Attachments

(1 file)

In order to calculate a persistent setting for spocs based on layout, spoc, and feed data, we need to add a memoized selector that can be used by components.

Instead of accessing DiscoveryStream.layout directly, components will use a function to process the state coming from the reducer.

Note for QA: No additional testing is needed for this patch beyond ensuring no regressions have been introduced.

Keywords: github-merged
Blocks: 1520691
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 66
Status: RESOLVED → VERIFIED
Component: Activity Streams: Newtab → New Tab Page
You need to log in before you can comment on or make changes to this bug.