Page MenuHomePhabricator

Create a way to persist annotations to the VE document across edit sessions
Open, Needs TriagePublic

Description

In T371996, we created a way to store ephemeral/temporary annotations to the VE document.

This task involves the work of implementing a way to store these annotations such that they can be persisted across edit sessions.

In doing the above we will unlock our ability to translate Edit Checks people decline to act on into Suggested Edits that future readers could potentially address.

Event Timeline

Note that we'd need to think fairly hard about when to invalidate these checks. Showing someone a stale check is probably worse than showing them no check at all, after all.

Note that we'd need to think fairly hard about when to invalidate these checks. Showing someone a stale check is probably worse than showing them no check at all, after all.

They could be attached to specific revisions. A bigger issue might be: if we let users mark false positives as such, how that might persist across revisions.

They could be attached to specific revisions.

Blanket invalidation on-edit would be safest, for sure. It'd be nice if we could think of a way to hold on to them across revisions if the area of the check isn't touched, though. We can't rely on VE for that, because we'd want it to apply when someone makes a source edit to the article...