Page MenuHomePhabricator

Edit conflict notification on Preview/Show Changes
Open, MediumPublicFeature

Description

Author: equazcion

Description:
As long as the previewing of edits requires a server query, previews should also check if the proposed edit would produce an edit conflict, and return a notification to be displayed to the user in the rendered preview screen. This should apply for the Show Changes function as well.


Version: unspecified
Severity: enhancement

Details

Reference
bz17467

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:27 PM
bzimport set Reference to bz17467.
bzimport added a subscriber: Unknown Object (MLST).

Mmm, this could indeed be a nice plus. Would probably want to do a merge test, and only throw up the warning if there is an issue -- at which point one could click for further details. (No sense cluttering up the view with a giant conflict screen while you're still working.)

Warn of other revisions saved during edit-preview (not quite the same thing but similar) apparently got a decent amount of votes on the 2019 Community Wishlist.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 12:24 PM
Aklapper removed a subscriber: wikibugs-l-list.

Instead of showing this notification on just previews, it should also be possible to show them "live" – API requests for edit stash are already being sent by the client periodically. If another revision was saved in between, that can be included in ApiStashEdit response which can be surfaced to the user as a pop-up via JS.