GriffinSauce / Grouplanner

Easy regular planning with groups
0 stars 0 forks source link

Is it possible to add undo actions? #89

Open HalleyInteractive opened 9 years ago

HalleyInteractive commented 9 years ago

Maybe revert database entries to a previous state? Don't know how this works if multiple users are altering data at the same time.

GriffinSauce commented 9 years ago

Where would this be relevant in the app?

Creating group - maybe Inviting people - nope Availability - already recoverable Planning dates - already recoverable (preferably not too easily, could cause a lot of confusion, especially when syncing is done) Removing people - Yes Editing group - Yes Leaving group - Yes, but a confirm is really fine here

An idea I heard a while ago: you could wait with firing the API call until the undo-toast expires. You'd need to insta-fire it on unload though, not sure whether that will be robust.