dark icon indicating copy to clipboard operation
dark copied to clipboard

Make undo/redo multiplayer

Open pbiggar opened this issue 3 years ago • 1 comments
trafficstars

This article is a good discussion, and lots of the things they mention are things we do poorly or wrong. https://liveblocks.io/blog/how-to-build-undo-redo-in-a-multiplayer-environment

A good starting point would be a list of things we do wrong/badly.

Off the top of my head:

  • we make a user undo through all canvas moves
  • no animation on undo/redo
  • users do not have separate undo/redo from other users
  • there is no "debouncing" - eg if you type a string you have to undo through each step

pbiggar avatar Jun 18 '22 18:06 pbiggar

  • selection is not in the undo state
  • neither is cursor position

pbiggar avatar Jun 18 '22 18:06 pbiggar

Folding this into #5237 until it comes up again

StachuDotNet avatar Jan 08 '24 22:01 StachuDotNet