We are working on being able to create snapshots of a view. This will work much the same as a revision would on a content entity.
The sandbox is at http://drupal.org/sandbox/tim.plunkett/1799554
Editing a view is a rather complex thing due to many possible options. For example often people don't really know the performance consequences of their changes. To better document what changed on a view, but also really important have a way to revert
changes to previous versions snapshots of views are introduced.
Create a new configuration entity type called view_snapshot which extends a normal view by adding the create date,
a note/message for the change and an snapshot it which will could look like $view_name:$number. Prefixing the view-name
allows us to easily list snapshots by view. This will be used a new ViewSnapshotStorageController to create new snapshots.
POSTPONED: Additional we introduce new form controllers for all the different options on a snapshot (delete/revert).
- code review
- POSTPONED: Get a good UX experience based on a review
- Maybe more?
User interface changes
POSTPONED: A new "view snapshots" link in the view edit UI
PASSED: [[SimpleTest]]: [MySQL] 48,771 pass(es). View
PASSED: [[SimpleTest]]: [MySQL] 48,580 pass(es). View
FAILED: [[SimpleTest]]: [MySQL] 48,021 pass(es), 3 fail(s), and 3 exception(s). View