When having 2 (or more) users editing the same thing at the same time (e.g. a task description), the last person who saved (almost?) always overwrite all changes, silently, and this is a problem.
Minimal steps to reproduce to simulate an edit conflict:
- open a task in 2 tabs (also from same session)
- in tab 1: set title, description, tags, subscribers (and other things) to "foo" (don't save)
- in tab 2: set title, description, tags, subscribers (and other things) to "bar" (don't save)
- from tab 1, save
- from tab 2: save
What happens:
- the last editor overwrote all changes (now task 1 has "bar" everywhere)
- the log is a mess, where "foo" was successfully saved, but then rolled back and overwrote by "bar"
What should happen instead (minimal viable solution):
- The last user is informed that an edit conflict happened
Bonus point:
- User can easily see what changed before, and can see again what they will set if they force save
- User can decide to "Force save" (to do just what happened before silently...)
Super bonus point:
- User can easily fix the edit conflict, looking at A, looking at B, and saving C
Edit Conflict in Other Collaborative Platforms
https://www.mediawiki.org/wiki/Help:Edit_conflict
Past Discussions
This is well-known since 2014: