Closed Bug 1430859 Opened 7 years ago Closed 7 years ago

Implement persistence for isEnabled/isCollapsed for sections that works with webextension sections

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
Firefox 62
Iteration:
62.2 - Jun 4
Tracking Status
firefox59 --- wontfix
firefox60 --- wontfix
firefox62 --- fixed

People

(Reporter: k88hudson, Assigned: andreio)

References

(Blocks 1 open bug)

Details

Right now, persistent storage for the isEnabled/isCollapsed state of our sections is implemented with a combination of of different prefs for each section. While this works OK for built-in sections, it's not a scalable solution for supporting Web Extension sections (being implemented in Bug 1401194). We could implement persistence here with either using a single pref to store confguration, or preferably, with IndexedDB via IndexedDB.jsm.
Blocks: 1401194
Iteration: --- → 60.1 - Jan 29
Priority: -- → P2
Iteration: 60.1 - Jan 29 → 60.2 - Feb 12
Severity: normal → enhancement
Whiteboard: [AS60MVP]
Iteration: 60.2 - Feb 12 → 60.3 - Feb 26
Iteration: 60.3 - Feb 26 → 60.4 - Mar 12
Assignee: nobody → andrei.br92
Iteration: 60.4 - Mar 12 → 61.1 - Mar 26
Whiteboard: [AS60MVP]
Priority: P2 → P3
This depended on bug 1438368 to land IndexedDB.jsm into a-s.
Depends on: 1438368
Status: NEW → ASSIGNED
Priority: P3 → P2
Depends on: 1445157
Depends on: 1445158
Iteration: 61.1 - Mar 26 → 61.2 - Apr 9
Depends on: 1449223
Iteration: 61.2 - Apr 9 → 61.3 - Apr 23
Iteration: 61.3 - Apr 23 → ---
Priority: P2 → P3
We're going to go forward with just having section collapse pref stored in indexedDB. There won't be an option to hide it (similar to the built in sections). Instead in the context menu will take you to the addon configuration page where you would just disable the addon if you wish to completely hide it. Closing this as fixed since it was a meta to track the progress for webextensions and all dependents have been closed.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Blocks: 1463943
Iteration: --- → 62.2 - Jun 4
Priority: P3 → P1
Target Milestone: --- → Firefox 62
Component: Activity Streams: Newtab → New Tab Page
You need to log in before you can comment on or make changes to this bug.