Compare changes

The compare view shows what goes live, next to what is live now. You see each page as it will look, with the differences marked on it. A content item shows its fields, and a settings change shows its settings.

Open the compare view

  1. Open the Publish screen.
  2. Click a card, or click the arrow in its header (View changes).

The compare view opens over the Publish screen.

PartWhat it does
HeaderShows the column, who made the changes and when. Open staging site or Open live site opens that site.
Item list (left)Shows the items of the card. Click a name to look at the item. The tick selects the item for the next step.
Compare area (right)Shows the item that you look at
FooterDiscard, the count, Edit this, and the green button
  • Click the name of an item to look at it. Click its tick to select it. These are two different controls.
  • Click the sidebar button above the list to fold the list to a strip of icons.
  • Press Escape or click × to close the compare view.

Compared to

Compared to selects the version that the item is compared with.

CardChoices
Your changesLive now, and Staged when something is staged
StagedLive now, Your changes
A publishThe publish before, and Live now when the publish is not live

Note: For an item with a Conflict, a message at the top says what happened. On Staged, the item opens compared to Your changes.

The Visual tab

The Visual tab shows a page, a component, a picture or a content item as it looks.

The Your changes card open on Home, Visual tab, Redline: the new Feature card instances outlined green, the old cards dashed red.
Redline marks what your changes add and remove, compared to what is live now.

Show selects what you see:

ChoiceWhat it shows
RedlineThe new version, with each difference marked on it
The left version, for example Live nowThat version alone
The right version, for example Your changesThat version alone

The redline marks each change with an outline. The page keeps its own colours.

MarkMeaning
Green outlineAdded
Red dashed outline, dimmedRemoved
Red line through words, green line under wordsText changed
Amber outlineStyle changed

The counter shows the change that you look at, for example Change 2 of 5 · text changed. Click the arrows next to it to go to the previous or the next change. The page scrolls to it.

Notes:

  • A new page says "This page is new." A deleted page says "Removed. Publish takes this page off the live site."
  • When only a stylesheet or a setting changed, a message says: "Nothing changed in the page itself." It names the file. Click View code to see it.
  • The Visual tab does not run the scripts of the page. Content that a script adds does not show.

Content templates

A content template shows one item of its collection. Select another item in Preview item. This choice is for the compare view only.

Components

A component shows with test values. Both versions get the same values, so only the component differs.

  1. In Test component, change a value under PROPERTIES, or select a variant under VARIANTS.
  2. Click Reset to use the default values again.

Nothing in Test component is saved.

Pictures

A picture shows both versions side by side, with the file size of each.

The Fields tab

A content item has the Fields tab. A table shows each field that differs, with the old value and the new value.

  • A list of records shows as a table of its own. Each row has a pill: New, Edited or Removed.
  • Rich text and the body show the lines that differ.
  • The last line says how many fields are the same.

A content item with a template also has the Visual tab. It shows the item in its template, with the redline.

The Settings tab

A settings file has the Settings tab, for example the site settings or a collection. A table shows each setting that differs. The last line says how many settings are the same.

The Code tab

The Code tab shows the lines that differ.

The Your changes card open on Home, Code tab: the live HTML on the left and your changed HTML on the right, with the changed lines in red and green.
The Code tab shows the changed lines side by side.
  • Click a file name above the lines to see that file. The tab opens on the first file that differs.
  • The label on the right says how many files differ.
  • The column heads name the two versions. A line that differs is red in the left column and green in the right column.
  • A grey row hides lines that did not change, for example "12 lines the same".

Notes:

  • A file that is not text, for example a font, has no lines. The tab says: "This one is a file, not text."
  • A very large file does not show its lines.
  • If only the order of attributes changed, the tab says that the two versions are the same.

Act from the compare view

ButtonWhat it does
DiscardPuts the ticked items back. See Choose what goes live.
Select all or Clear allAdds or removes the tick on every item
Edit thisOn Your changes: opens the item in the Design panel. On Staged: copies the ticked items to Your changes, then opens them.
Green buttonStages or publishes the ticked items. It counts them, for example Publish 3 items.
Restore this versionOn a publish: puts your changes back to that publish. See Publish history.

Hold the pointer over a button to read what it does.

Preview a page

You can see a page before it goes live in three ways:

WhereWhat you see
The Visual tab of the compare viewThe page as it will go live, without its scripts
Open in browser in the Design panelThe whole site in your own browser, on this computer. Links and scripts work.
Open staging site on the Publish screenThe staged site on the internet. Others can open it too. See Staging.

The Open in browser address works only on your computer. For the steps, see Open the site in a browser.