Closed Bug 1937172 Opened 2 months ago Closed 9 days ago

Remove the ability to move sections from the 2017-era SectionsManager, and remove dependency on ASRouterStorage

Categories

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

task

Tracking

()

RESOLVED FIXED
136 Branch
Iteration:
136.1 - Jan 6 - Jan 17
Tracking Status
firefox136 --- fixed

People

(Reporter: mconley, Assigned: pdahiya)

References

(Blocks 2 open bugs)

Details

(Keywords: perf-alert, Whiteboard: [hnt-trainhop])

Attachments

(1 file, 1 obsolete file)

The SectionsManager is from a bygone era, and isn't actively used in the way it was designed for. We should remove it if we can, or shrink it considerably if it's inextricably tied to the functioning of today's New Tab.

One of the things that SectionsManager does make use of is ActivityStreamStorage, so this blocks bug 1937170.

Blocks: 1905254
Whiteboard: [hnt-trainhop]
Assignee: nobody → npypchenko
Status: NEW → ASSIGNED
  • Removed unused moveSection function and associated tests.

  • Removed unused actions originating in SectionsManager and assiciated tests.

Assignee: npypchenko → nobody
Status: ASSIGNED → NEW
No longer blocks: 1937170
Depends on: 1937170
Assignee: nobody → pdahiya
Iteration: --- → 136.1 - Jan 6 - Jan 17
Priority: -- → P1
Attachment #9459824 - Attachment description: WIP: Bug 1937172 - Remove SectionManager and TopSitesFeed dependancy on ASRouterStorage → Bug 1937172 - Remove SectionManager and TopSitesFeed dependancy on ASRouterStorage

Attaching patch that removes NewTab codebase (SectionManager, TopSitesFeed, PrefsFeed) dependency on ASRouterStorage by removing unused sectionprefs indexedDb table. In addition it removes unused SECTION_MOVE action handling from SectionManager

It seems that SectionManager is still pretty intertwined with New Tab. We can, however, remove it's dependency on ASRouterStorage.

Summary: Remove the 2017-era SectionsManager from New Tab → Remove the ability to move sections from the 2017-era SectionsManager, and remove dependency on ASRouterStorage
Pushed by pdahiya@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6fba96c11ef5 Remove SectionManager and TopSitesFeed dependancy on ASRouterStorage r=home-newtab-reviewers,omc-reviewers,mconley,emcminn
Status: NEW → RESOLVED
Closed: 9 days ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
Attachment #9445150 - Attachment is obsolete: true

(In reply to Pulsebot from comment #5)

Pushed by pdahiya@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6fba96c11ef5
Remove SectionManager and TopSitesFeed dependancy on ASRouterStorage
r=home-newtab-reviewers,omc-reviewers,mconley,emcminn

Perfherder has detected a talos performance change from push 6fba96c11ef5f66ce2b38de72acbd8cae528c2af.

Improvements:

Ratio Test Platform Options Absolute values (old vs new)
2% startup_about_home_paint windows11-64-shippable-qr e10s fission stylo webrender-sw 430.17 -> 421.33

Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests.

If you need the profiling jobs you can trigger them yourself from treeherder job view or ask a sheriff to do that for you.

You can run these tests on try with ./mach try perf --alert 43477

For more information on performance sheriffing please see our FAQ.

Keywords: perf-alert
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: