Skip to content
This repository was archived by the owner on Apr 15, 2020. It is now read-only.

v0.3.0

Choose a tag to compare

@dxinteractive dxinteractive released this 05 Jan 04:53
· 143 commits to master since this release
  • Reshaped config to be organised by prompts[actionName][type] so defining your own prompts is generally much less typing
  • Added optional onConfirm, onSuccess and onError hooks that can be passed into actions.
    • onConfirm will fire immediately after an action is confirmed, or immediately when an action is called if there is no confirmation. It is passed the same object that the action was passed.
    • onSuccess will fire immediately after the action function has succeeded, before any success prompts or success actions are called. It is passed the result of the action function.
    • onError will fire immediately after the action has failed, before any error prompts are called. It is passed the result of the action function.
  • Config no longer throws an error when afterAction and successActions are not set
  • Re-organised and renamed router files
  • The entityEditor and entityEditorRouter props can now be renamed by setting entityEditorProp or entityEditorRouterProp in the EntityEditorList or EntityEditorItem config obects
  • The promise returned from actions now has a payload of actionProps
  • Re worded saveNew confirmation message
  • Split modal and modal content components
  • Allowed for all modal class names to be overridden by props
  • Docs: Moved dogs routes to dogs folder