Cytomine-core icon indicating copy to clipboard operation
Cytomine-core copied to clipboard

Offer endpoints allowing to undo/redo actions

Open elodieburtin opened this issue 5 years ago • 0 comments

Undo/redo buttons could be very useful in Cytomine viewer. Since actions are already stored in the database, would it be possible to return in responses of creation/update/delete the ID of the performed action? And to offer endpoints allowing to undo/redo a given action (identified by its ID). It seems to me that it can be limited to actions performed on annotations, but it should be discussed.

The undo/redo mechanism may also be the responsibility of the front-end alone, what do you think is best?

elodieburtin avatar Nov 29 '18 13:11 elodieburtin