Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#45 expose undo redo config #51

Merged
merged 15 commits into from
Oct 1, 2020
Merged

Conversation

andrewbeng89
Copy link
Member

Enables optionally exposing/inspecting the done and undone stacks to the store or module using the plugin.

  • undoRedoConfig object containing done and undone stacks are scaffolded to the state/module via a flag
  • The internal setConfig function dispatches the updateUndoRedoConfig mutation (which is ignored by the plugin and not tracked in done and undone
  • Unit test coverage for both namespaced and non-namespaced stores.

@andrewbeng89 andrewbeng89 merged commit e7efa50 into master Oct 1, 2020
@andrewbeng89 andrewbeng89 deleted the #45-expose-undo-redo-config branch October 1, 2020 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant