cthiel / cardboard

A simple web-based card grouping application with a bit of collaboration
https://github.com/cthiel/cardboard
Other
4 stars 0 forks source link

Undo (& redo?) #44

Open garrett opened 13 years ago

garrett commented 13 years ago

We should report undo and redo. This would be really useful especially for destructive changes (removing cards, columns, etc.)

garrett commented 13 years ago

From issue #43:

garrett commented 13 years ago

Note: There's also versioning support on the server too, in issue #17 (closed)

cthiel commented 13 years ago

We should use the versioning on the server-side to provide the undo. Or where you thinking of doing it all client-side?

garrett commented 13 years ago

The versioning should definitely be handled by the server, but I think it's pretty easy and quick to have local client-side undos. Reloading the page would break the undos, but it's mainly to handle the case of deleting the cards, so I think it's probably the right approach.

If we implement undos this way, then rollbacks would include the intermediate state (which I think is fine).