Version history
Every change to your site is saved as a version, so you can look back, bookmark the ones that matter and go back when something goes wrong.
History keeps numbered versions of your website code: v1 is your first build, v2 the next change, and so on. Use it to look back at any version in the preview, bookmark the ones worth keeping, and restore earlier code if a change didn't work out. Your business content and records aren't part of a version, so they stay current.
What is saved as a version
A new version is saved each time your site changes, whoever makes the change:
- a request in the chat that changes your site
- applying new colours or fonts with Apply to site
- applying text you edited on the page
- swapping a photo on a page from Manage → Media
A question YAH answers in the chat, or a build you stopped, doesn't create a version.
Open your history
Select History (the clock) at the top of the chat. It appears once your site has at least two versions, while the preview is open. Your versions cover the chat, newest first, with the preview still beside them. The version your site is using is marked Current. A version a team member saved shows their name.
To close History, select the clock again.
On a phone, open History from ⋯ under the preview, or from the project menu at the top of the chat.
Look at an earlier version
Select any row to show that version in the preview. The bar above the preview shows its name, with Back to latest on the left and Restore this version on the right.
Looking changes nothing. While you look at an older version, the editing tools in the preview and the theme editor are switched off.
On a phone, the bar under the preview shows which version you're looking at, such as v3 of 5, with Latest on the left.
Undo the latest change
Under YAH's newest reply that changed your site, select the curved arrow (Undo latest edit). It opens the previous version in the restore steps below. Under older replies, the arrow is Restore this version, and opens the version that reply made.
Restore website code
Restoring brings an earlier version's code back as a new version. YAH saves your current code first, so nothing is deleted from History and you can go forward again. The restore panel calls a version's saved code a checkpoint.
- In History, point at the version and select the curved arrow (Restore this version). On a phone, tap ⋯ on the version.
- Select Check checkpoint. YAH checks the saved code and builds a separate preview, while your current code stays in place.
- Look over the list of code changes, then select Preview checkpoint and check the site.
- Select Apply as new version and confirm. Wait for the result before editing or publishing.
- Select Finish.
- Publish again when you want the restored code on your live website.
To choose a different version before applying, select Discard checked preview, close the panel and pick another. A checked preview lasts 30 minutes, so check again if it runs out.
What a restore changes
- It changes your design, code, theme and photo choices, and any text or image written directly into the code. Changes you made to these after that version are replaced.
- It doesn't change your Content, business details, settings, customers, bookings, stock, orders, payments, invoices, team access, connected services or uploaded files.
Continue an interrupted restore
If your connection drops, or you close the panel, the restore isn't cancelled. Reopen the website, select Continue saved restore in History, then Check status to see where it got to, and follow what it offers. Don't start another restore until the first is finished.
Bookmark a version
Bookmark the versions you might want to come back to, such as the one you launched with.
- Point at the version and select Bookmark.
- Type a name, such as "Launch day", and press Enter or select the tick.
To take it off, point at the version and select Remove bookmark.
On a phone, tap ⋯ on the version, then Bookmark. To change the name or take it off, tap ⋯ again.
Find a version
- Search history... finds versions by number (such as v12), by name or by what you asked for.
- The filter menu beside it, All changes to begin with, narrows the list to Saved (your bookmarks) or to one kind of change: Feature, Style, Bug fix, Refactor, Initial or Other.
On a phone, the search box says Search versions, and the filter opens as a list called Show.
Other actions on a version
Point at a version to see these as well. On a phone, tap ⋯ on the version.
- Open preview in new tab opens that version in a browser tab of its own. On a phone, it's Open in new tab.
- ⋯ (Version details) shows how long YAH Worked for on it and the Credits used.
Troubleshooting
There is no History button. Your site needs at least two versions, and the preview has to be open. If you closed the preview, select Open panel at the top right.
A version can't be checked or applied. Your current code stays in place. Its saved code may have expired or be incomplete, so choose another version. If you already selected Apply as new version, use Check status on the saved restore before doing anything else.