Skip to content

Refactor undo/redo handling #586

@pcardune

Description

@pcardune

There are a few problems with this:

  • undoableAction in the redux store is mutated directly. nothing in the redux store should ever be mutated.
  • it doesn't handle the case when there is no "topmost action" to undo/redo very well. See the call sites for ReadonlyCMBEditor.getTopmostAction for examples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    code qualityIssues that involve improving code quality but don't necessarily contribute to features/bug fixes

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions