[Ml-yokadi] undo ;-)
Sébastien Renard
Sebastien.Renard
Lun 8 Déc 23:59:33 CET 2008
Well, it will be after the first release, but I would like to implement a
basic undo feature to Yokadi.
Basically, for each function that is « undoable », the object before change is
save on a stack (in memory). When undo is called, the last object put in the
undo stack is poped and written in database.
I am just wondering how to proper save the object state properly. Sqlobject
does not seem to provide such mechanism. We could imagine a task structure (a
dict) - if we make undo only for task as a short term target.
Do you feel that it would be nice or just crazy/stupid ?
a+
--
Sébastien
Plus d'informations sur la liste de diffusion Ml-yokadi