Skip to content

Preview Version Rollback #68

@JeremyCaney

Description

@JeremyCaney

Instead of calling IRepository.Rollback(), instead call IRepository.Load() to preview the prior version, and then include a "Rollback" and "Cancel" button in the navigation to allow the version to be restored, or to return to the current version.

Notes

  • A warning may need to be displayed at the top of the page notifying the user that this is a preview of a previous version.
  • Since we can't add a path variable after a wildcard, it might make sense for the version to be passed as a query string parameter
  • Alternatively, we could add a new action, with a path format:
    /OnTopic/Version/YYYY-MM-DD%20HH:M:S/WebPath*
    
  • We can disable all of the fields so they can't be edited and then call IRepository.Rollback() or we can allow the fields to be edited and then just call IRepository.Save() when they click "Rollback"; the latter is likely more intuitive.

Metadata

Metadata

Assignees

Labels

Area: InterfaceRelates to the overall user interface design and implementation.Priority: 1Severity 2: MajorStatus 1: RoadmapPlanned for a future, indeterminate release.Type: FeatureIntroduces a major area of functionality.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions