Skip to content

Revision

Introduction

The Revisions feature in Erizos Studio allows users to create and manage different versions of their UI, providing a safety net for changes made over time. Each revision captures the state of the UI at a specific point, facilitating easy rollback or reference.

Features

Timeline of Revisions

Users can access a timeline displaying all saved revisions of the project. Each revision displays details such as the revision name, date and time, providing context for the changes made. The newest revision is at the top of the timeline; when a UI has none, the list reads No Revisions.

Creating a New Revision

Users can manually create a new revision at any point to capture the current state of the UI. Users have to name each revision, making it easier to identify specific points in the project's history.

Comparing Revisions

Any two versions of the UI - a revision against the version you are working on, or one revision against another - can be opened side by side in a diff view.

Supports import UI as Revisions

Users also have the option to import UI as revisions, providing flexibility to design the UI at any point in time and place. The reverse also happens automatically: publishing a UI to a remote server stores a revision on that server, and can back the remote UI up as a revision first.

Deleting Revisions

Users can manage their revision history by deleting unnecessary revisions.

Info

The Revisions tab is available for every kind of UI, including Libraries and Web Apps. Both of its icons require the UI Builder Update permission. There is no limit on how many revisions a UI can hold - bear in mind that each one carries a complete copy of the script.

Creating a Revision

After you finish modifying your UI. In UI Builder, click the Revision Icon

Click on the Create revision icon

A Save Revision dialog appears with the prompt "Please Name This Revision". Enter a name for your revision and click OK.

RevisionCreate

Note

The revision is written to the server as soon as you confirm the name - you do not need to save the UI for the revision itself to be kept. Leaving the name empty cancels the action.

Restoring a Revision

In UI Builder, click the Revision Icon

Right click the desired revision from the timeline and click "Load". Alternatively, user can double click the selected Revision to load it.

Studio asks "Are you sure? Current ui will be lost" before loading. Loading a revision replaces the whole script in the editor and closes the script tabs you had open.

RevisionChange

Note

Make sure to save your work before switching revision to avoid loss of changes.

Comparing Revisions

Right click a revision in the timeline and click "Compare". The Compare Revisions window opens with that revision on the left and the version you are currently editing on the right.

Use the two dropdowns above the diff to pick which versions to compare - Select Base Revision on the left and Select Target Revision on the right - and which module of each to show. Tick Show UI to include the UI layout in the comparison alongside the script. Click Close when you are done; if you edited the script inside the comparison you are asked whether to save those changes first.

Deleting a Revision

Right click the revision in the timeline and click "Delete". Studio asks "Are you sure you want to delete revision?" and, once you confirm, removes the revision on the server straight away.

Importing a UI as a Revision

In UI Builder, click the Revision Icon

Click the Import revision button and select a .ezui or .vtw file (maximum 1 MB) in the popup File explorer, then enter a name for the revision.

Note

Unlike creating and deleting a revision, importing one is not written to the server immediately - it changes the UI you have open. Click Save afterwards to keep it.