Page MenuHomePhabricator

[SPIKE] Investigate creating a top-level model class for Edit Check
Open, Needs TriagePublic5 Estimated Story Points

Description

We currently do not have an overarching EditCheck model class (in the sense of model-view-controller) that represents the totality of the state of edit checks. Instead, the state lives across various classes: the EditCheck controller, individual edit checks, actions, and the DM document cache.

We should investigate the merits of building a true top-level model class, similar to the way ve.dm.Document models the document state. It would store state including

  • What checks have been run on which parts of the document
  • What actions have been determined for which ranges
  • Whether an action has been dismissed, hidden, or is currently known to be stale.

This should interoperate well with the persistence model for edit suggestions: T431606

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenNone
Duplicatedchan
OpenNone
Openppelberg
OpenNone
OpenNone
OpenNone
OpenNone
Opendchan
Opendchan
OpenSpikeNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
Openppelberg
Opendchan

Event Timeline

dchan set the point value for this task to 5.Apr 15 2026, 4:51 PM

Boldly estimating this as 5 points