Skip to content

Add history/operations/batch tab #70

@oleq

Description

@oleq

@rshipp commented on Tue Jan 21 2020

📝 Provide a description of the new feature

Display the history stack, and some way to look at batches/operations and have a basic understanding of what they're doing (e.g. InsertOperation on path [1, 0, 0, 1]). I know undo/redo is an optional plugin, so I'm not sure if this'd be in-scope for the inspector, but it'd be super helpful for me.

My use cases:

  1. I have a bunch of custom components, and I've noticed some of them seem to be breaking undo/redo functionality. When I insert them via a Command, then try to undo, they aren't removed from the editor. I'm going to have to debug why, and it'd be convenient to have an easier way to explore the history / undo batches than clicking through things in the console.

  2. I'm building some persistent undo/redo functionality, where undo batches and operations are stored to a server and manually loaded back into the editor on pageload. This also has me debugging a bunch of batch/operation stuff manually from the console.


If you'd like to see this feature implemented, add a 👍 reaction to this post.


@ma2ciek commented on Wed Jan 22 2020

cc @oleq

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions