
![]() |
Show Changes |
![]() |
Edit |
![]() |
|
![]() |
Recent Changes |
![]() |
Subscriptions |
![]() |
Lost and Found |
![]() |
Find References |
![]() |
Rename |
![]() |
Administration Page |
| Search |
History
| 9/28/2004 8:35:27 PM |
![]() |
List all versions |
This enhancement allows a FlexWiki user to restore an older version of the current page. This creates a new version of the page but uses a copy of the selected version.
Any comments on the above process flow?
I think it should be something besides a checkbox for restoring the version. It needs to be a normal button, I think. Perhaps the code could be written so that "Restore this version" button doesn't appear until you're viewing an older version of the page? Otherwise, I think this is a reasonable flow.
In the future, it might be interesting to see a merge capability. Or maybe not, given how confusing it can be to work with in source control systems.
First, I agree with Tommy: use a button instead of a checkbox.
I think it's important to offer the ability to restore the version the user is looking at. It would be bad to just let them pick a version from the combobox and then restore that without loking at it -- otherwise it's too error prone. So... disable the button if the user is looking at the latest version. And pressing it makes a copy of the currently displayed version and produces a new version of that.
All of which makes me wonder if this shouldn't be 'Restore' option under 'Edit' and not in the versions area on the sidebar at all. Maybe it's just anohter hyperlink command -- since it's really about operating on the topic that the user sees.
I've been thinking about it a bit, and setting up the "Restore" interface to parallel "Edit" makes a lot of sense.
I agree with both of you. Ok I looked at the code and noticed Edit only shows up for the current version. So the Restore link will take the place of the Edit link when viewing the older versions.
For the current version the menu options are as follows
For all other versions the menu option is
-- MikeLinnen
I modified the process flow to reflect the dialog above. Here is my first stab at RestorePreviousVersionCodeChanges. I have only done this localy on my machine and it requires some test code to be written. -- MikeLinnen
This feature is complete and checked into source control. -- MikeLinnen