Page MenuHomePhabricator

Show add reference check in mid-edit moment
Open, Needs TriagePublicFeature

Description

The add-reference check is currently only shown pre-save.

Our main reason for not showing it mid-edit originally was that we felt it’d be noisy, since it’d be appearing when the user very-plausibly was still intending to add a reference and just hadn’t finished writing yet. But now we have access to a signal that basically means “I have moved on from this paragraph”, in the form of the branchNodeChange listener that we added for tone check.

In the suggestion mode patch for T399612 I pulled add-reference into mid-edit only for suggestions.

Particularly as we're about to be adding tone and paste as mid-edit checks, this seems like something useful to fill out the ranks.

Event Timeline

Change #1189266 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/extensions/VisualEditor@master] Run AddReferenceEditCheck when exiting a paragraph

https://gerrit.wikimedia.org/r/1189266

I share the intuition that presenting the check mid-edit will be a better user experience than pre-save. However, that depends on the rate of erroneous triggers — if there's a high chance of it triggering when the user hasn't actually moved on, that could be annoying enough to negate the usability benefit.

It's the same trigger as Tone, so it depends on you moving your cursor outside the paragraph, which is presumably unusual if you're not done with that text. (Or at least, we're already going to be annoying people in this exact way with Tone, if we're wrong about that.)

ppelberg removed a project: Editing-team (Planning).

I'm removing this ticket from the planning board as this work is not related to Editing Team priorities in Q2 FY25-26.