With T303985: Suggested edits: make task feed reusable, the non-UI logic for the task queue is abstracted into ext.growthExperiments.DataStore module in order to show the full task feed in the post-edit dialog. This task tracks related changes that are not necessarily required for the post-edit dialog changes.
Changes required
- ext.growthExperiments.Homepage.mobile There are a few FIXMEs in this module to move suggested edits-related logic (to update the mobile summary view when the task feed changes in the overlay). With the refactor, this can be moved. ext.growthExperiments.Homepage.SuggestedEdits should no longer have to require ext.growthExperiments.Homepage.mobile in order to update the mobile summary view.
- Instead of each of the following modules requiring a set of virtual files in order to use TaskTypesAbFilter, the module should instead include ext.growthExperiments.DataStore and get the task-related data from constants.
- ext.growthExperiments.HelpPanel
- ext.growthExperiments.Help
- ext.growthExperiments.StructuredTask.PreEdit
Acceptance criteria
- No functional changes
- No instrumentation changes