Creating undo / redo functions in web application

Hey All,

Been a while since I’ve posted (been busy building :slight_smile: )

I want to create some undo / redo functions for a part of the web app I’m building. The server actions they would normally be running and just DB updates/inserts/deletes etc, but I want to give the user the option to undo or redo some or all of their actions performed in that session.

Has anyone done this in (or outside) of Wappler?

Any general guidelines or directions to point me in to use as much as of Wappler as possible to handle this sort of function?

Any thoughts or input much appreciated!

Cheers!

Hi Philip,

I have not done this before. But what I can suggest is to keep a detailed log of actions and use that to revert the changes.
It does look like a good challenge.

Thanks Sid.

It certainly would be a good challenge, and I’d think an important feature for many of the more complex web applications out there. A great UI feature.

Hopefully I can get some more ideas, in the mean time I’ll keep thinking about it!