Skip to content
Snippets Groups Projects

PoC: Task List Update Conflicts

All threads resolved!

A strategy for handling task list change conflicts:

Update the issue description and show an error message when the task list is updated from a stale copy of the description.

See #19745 (moved)


Alice views an issue containing a task list:

Screen_Shot_2016-10-18_at_6.05.29_PM


Alice checks off some task list items:

Screen_Shot_2016-10-18_at_6.06.27_PM


Bob views the issue, adds more items to the list, and saves the updated description:

Screen_Shot_2016-10-18_at_6.07.40_PM


Alice attempts to check off another item, but is presented with a message explaining that the issue was changed by another user:

Screen_Shot_2016-10-18_at_6.08.40_PM


The issue description updated automatically, so Alice is free to continue checking off list items:

Screen_Shot_2016-10-18_at_6.09.09_PM

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Added 1 commit:

    • e2d11291 - Cleanup fetching original issue

    Compare with previous version

  • I like the idea of this PoC. So we need specs, and the same implementation for MR.

  • username-removed-441905 Resolved all discussions

    Resolved all discussions

  • Added ~164274 label

  • Added 1476 commits:

    • e2d11291...579383ef - 1473 commits from branch gitlab-org:master
    • 67cd0c64 - Update the issue description when the task list is stale
    • da7a87f6 - Cleanup fetching original issue
    • abebad53 - Debounce task list updates in a promise chain

    Compare with previous version

  • @vsizov I'm probably not going to invest any time in testing this. Closing this since the concept has been fleshed out.

  • username-removed-441905 Status changed to closed

    Status changed to closed

  • mentioned in merge request !8567 (merged)

  • Please register or sign in to reply
    Loading