Version history

Preview older versions, revert, and navigate the chat with version history.

Every successful build in a Layout project becomes a version. Version history is where you preview, revert, and jump back to the message that produced any version. This guide covers the panel and its controls.

Open version history

Click the clock icon in the top bar of the workspace. The panel lists every version, newest first.

Each row shows the version number and how long ago it was built. Tags appear next to rows that have special status:

  • current — the head of the project; the next build runs from here
  • published — the version currently served at your layout-app.com subdomain

Preview a past version

Click any row to load that version into the preview pane on the right. The code tab and preview both switch to the selected version. Nothing is written — previewing does not change the project.

When you are on any version other than the current one, an amber banner appears across the top of the preview:

You are previewing Version N
[Revert to this version]  [Go to latest]

Those two buttons give you the two ways out of the preview.

Revert to a version

Reverting makes an older version the new current version. The next chat message builds from there.

Start the revert

Either click Revert to this version in the amber banner while previewing, or hover the row in the version panel and click the undo icon.

Confirm in the dialog

A confirmation dialog appears. Confirm to apply the revert.

You are on the reverted version

The preview now shows that version as current. The project's chat jumps to the message that produced it.

Reverts are not destructive. The versions you leave behind stay in history, collapsed into a "reverted edits" group you can expand and revisit any time.

"Reverted edits" groups

After a revert, the versions you skipped over collapse into an accordion labeled N reverted edits. Click the accordion to expand it and see the skipped versions. You can preview or revert into any of them the same way.

This keeps the version list short when you have been experimenting, without losing anything.

Jump to the message

Each version row has a speech-bubble Go to message button. Clicking it scrolls the chat to the message that produced that version and closes the history panel. Handy when you want to re-read what you asked for — or copy and rephrase a past prompt.

Rules of thumb

  • Preview before you revert. Click rows to find the last good version, then revert from there.
  • Revert early when a build goes off-course. Two failed follow-up prompts is usually a sign to roll back and re-describe the change.
  • Revert does not touch the published site. Publishing pushes the current version. To update the live URL after a revert, open the publish panel and click Publish again.

On this page