Comparing Changed Pages

Comparing Changed Pages

Scrivito offers two handy tools for comparing a page with the currently or a previously published version of it.

Comparing an edited page with its currently published version

If you are in a working copy, you can compare the current page with its published version by selecting the “Changes” view mode on the top bar. This enables you to review edits before the working copy in which they were made gets published. If a page is new in the working copy, i.e. doesn’t exist in the published content, every widget on this page is marked as new.

Comparing any published version with a previously published version

The page history lets you view the changes made to a published version of any page compared to the preceding version:

First, select the published content from the “Working copies” sidebar and navigate to the page you would like to inspect regarding the changes that were made to it. Then, activate the “Changes” mode via the top bar and, finally, open the “History” sidebar to select from it the published version you are interested in. The changes that are now displayed refer to the version that was published immediately before.

This way, using the “This page” tab, you can step through all the published versions of the page being displayed to see what has been changed in the course of each individual publish.

The “All content” tab, in contrast, is for creating a working copy from a previous version of the published content. This allows you, for example, to restore content that has been deleted.

How edits are indicated

After activating the “Changes” view mode, the various kinds of changes made to the current page are indicated using distinct widget frame colors and handle icons, depending on the type of the change that was made.

Generally, changed widgets have a blue frame and handle (in the top-right corner), the latter showing a  icon. With widgets displaying a binary object, e.g. an image or a video, the new content is displayed.

If the contents of a widget displaying pure or styled text has been changed, the added parts have a green background, and the deleted parts are stricken out on a reddish background.

New widgets, i.e. those that have been introduced in the selected working copy, have a green frame and a handle showing a  icon.

The frame and handle of deleted widgets are red, the icon shown is , and their background is shaded.

A repositioned widget is displayed at its previous as well as its new position. The former is indicated by a red frame with a shaded background, the latter by a green one. The icon shown on both handles is .

In the properties dialog, altered text such as a title or a description is highlighted using the same colors as on the pages themselves, whereas more extensive options like enumerations or links are presented in a before/after fashion.

For finding the pages to compare in a working copy being reviewed, the “Changes” sidebar and the changes dialog are available. The latter can be opened via the “Working copies” sidebar. Also, the pages to which changes have been made are flagged with a  icon on the hierarchy sidebar panel.