-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OX-475] Versioned tracings / Reset button #51
Comments
[author="tmbo", created="Wed, 6 Mar 2013 00:58:10 +0100"] At an earlier stage of the project (august if I remember correctly) we had a discussion about this feature and decided that a back feature is not necessary. Should we reconsider this decision? Daniel Werner, Georg Wiese: How much effort would a general back feature cost? |
[author="", created="Wed, 6 Mar 2013 01:02:10 +0100"] My understanding at that point was that a general undo feature is hard to implement. Also it's not reallu nexessary because there are few operations that can destroy a lot of work. |
[author="georg", created="Wed, 6 Mar 2013 12:22:21 +0100"] My guess is that for those features it would be hard and for non-critical operations it would be easy. So, if we are going to implement undo, it would probably make sense to implement a general undo, just to avoid confusions. I've no experience with implementing undo, but it shouldn't be too hard. Maybe a day of work during the upcoming session, as a rough approximation. |
[author="", created="Wed, 6 Mar 2013 13:41:04 +0100"] I'm sorry - I still think we shouldn't do it. There are more important challenges ahead and we're still struggling to polish current Oxalis to a level where it feels finished. Best, |
[author="tmbo", created="Sat, 6 Apr 2013 21:10:41 +0200"] Currently there is only one version for each tracing. Therefore it is not possible to go back in time on the server. It is not to hard to implement this, but it would take some time (implement version saving and make the versions accessible in the front end). |
[author="", created="Sun, 7 Apr 2013 00:31:28 +0200"] I think it would be neat if this could be included in the Reset button. Best, |
I propose the backend supporting an updateAction in the format
which will create a new version just like any other updateAction, but with the content copied from the sourceVersion. |
I would certainly like the backend to provide this, since it allows users to revert to versions prior to their current session. |
I can think of two ways for versioning:
|
Just to make this clear and have everyone on the same page, Undo (Ctrl+Z) and Tracing-Version support are two "different" things to me. The first will be implemented as part of #1925, will be frontend-only and will only support to undo the last x changes made in the current session of the user. (This will likely cause performance problems when reverting the deletion of a very large tree, as all the nodes need to be recreated and sent to the server as update actions) The second phase which can be implemented after #1900 lands in master and every user action results in a separate tracing version. Then we can introduce the new update action @fm3 mentioned (revertToVersion) to avoid sending lots of update actions when reverting a tree deletion. The Tracing-Version support should be separate from the Undo (Ctrl+Z) functionality to avoid confusion imo. It could be implemented as a sort of "Tracing History" kind of view with support to revert to an earlier version. Do you agree with this? |
I agree. 👍 |
@daniel-wer Please coordinate the frontend support with @jfrohnhofen and @fm3. Thank you Frontend ToDos
Other
|
One central question is, whether these snapshots or labels should be part of the tracing (i.e. versioned themselves). Say you have two snapshots (A at v100 and B at v200) and are currently at v300. Now you revert to A. What will happen behind the scenes is that the server creates a new version v301, that resets the tracing to v100. But no data is lost. If you continue tracing, new versions v302 etc. will be created. |
I understand that the need for this feature is greatly reduced due to the front-end side undo functionality, but I still think, that this feature would be sensible to implement. All the groundwork has already been done, as far as I understand. The feature would probably give users a greater confidence level and lower the need to download / re-upload NMLs. In general, it could also give us an edge over competitive tools. @daniel-wer @fm3 What do you think? Should we tackle this in the next sprint? Is the to do list defined above still valid? |
[reporter="autoreporter", created="Tue, 5 Mar 2013 21:44:14 +0100"]
I just wish there was an undo button for a node that has been accidentally deleted or for other such mistakes!
Reported by: Raksha Ravikumar ([email protected])
Log Time
The text was updated successfully, but these errors were encountered: