Show Changes Show Changes
Edit Edit
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Rename Rename
Administration Page Administration Page
Search

History

9/28/2004 8:35:27 PM
List all versions List all versions

RSS feed for the FlexWiki namespace

Restore Previous Version
.

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.

Here is how it should work

  1. User navigates to an existing TopicName
  2. User selects a previous version from the Versions drop down
  3. User slects the Show button to display the selected version
  4. The Edit link is replaced with the Restore link since older versions of a page cannot be edited they can only be restored.
  5. User selects the Restore link to restore the selected vesion
  6. A new version is created form the selected previous version
  7. The user is taken to the new 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.

-- TommyWilliams

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.

-- DavidOrnstein

I've been thinking about it a bit, and setting up the "Restore" interface to parallel "Edit" makes a lot of sense.

-- TommyWilliams

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

Not logged in. Log in

Welcome to the home of FlexWiki, an experimental collaboration tool, based on WikiWiki.

This is FlexWiki, an open source wiki engine.

This site supports the new NoFollow anti-spam initiative.
Change Style

Recent Topics