bmad4ever ee2a12c063 Update README.md
note about using this extension alternatively, as it currently allows cloning, it may still be of use temporarily.
2023-11-28 23:19:04 +00:00
2023-11-28 15:17:31 +00:00
2023-06-16 01:59:36 +01:00
2023-11-28 23:19:04 +00:00

Bmad's Dirty Undo-Redo for ComfyUI

IMPORTANT: as of Nov 28, 2023 ComfyUI has the undo/redo functionality, thus making this extension obsolete.

After updating your local ComfyUI you will have to remove or disable the extension as it will conflict with the now existing functionality.

To completely remove the extension you may need to delete the ZZZ-Bmad-DirtyUndoRedo inside the web/extensions directory. (the latest version of this extension will delete this folder after starting ComfyUI)

Alternatively, if you wish to keep using the extension you will have to remove the undoRedo.js from the web\extensions\core directory.

As of time of writing (Nov 28, 2023), I noticed the following differences:

  1. this extension allows to undo/redo after cloning, which appears to not be yet supported in the default implementation;
  2. some actions not captured by this extension are captured in the default implementation;
  3. this extension will clean the undo/redo history when loading a new workflow (this grants no advantage whatsoever in workflow recoverability, is just a personal preference)

ComfyUI extension that adds undo (and redo) functionality.

Undo: Ctrl/⌘ + Z

Redo: Ctrl/⌘ + Y ; or Ctrl/⌘ + Shift + Z

Keeping the keys pressed will repeat the undo/redo operation at an ever-increased pace.

Installation:

  • Navigate to /ComfyUI/custom_nodes/ folder;
  • git clone https://github.com/bmad4ever/ComfyUI-Bmad-DirtyUndoRedo.

Why "dirty"?

I was mainly concerned with getting a somewhat working solution quickly and not so much with implementing it "right". For example, the undo/redo data contains snapshots of the entire serialized workflow (this is overkill), and I'm not considering changing it.

S
Description
No description provided
Readme MIT
68 KiB
Languages
JavaScript 97.7%
Python 2.3%