Component Code Versioning
Skill Studio allows users to customize certain components using the Customize tab, which includes a versioning feature. This enables users to save, view, and restore different versions of their code. This guide explains how to manage versions within the Customize tab.
Saving a Version
- When editing a component inside the Customize tab, users can make modifications to the existing code.
- Once changes are made, the Save a Version button becomes active.
- Clicking Save a Version creates a read-only saved version of the current working version (the actively edited code).
- A success or failure toast message will appear after saving.
- The dropdown menu next to Save a Version will display all saved versions for the customized component.
Understanding Version Scope
- Versions are instance-specific.
- If you add another instance of the same component, it will not include saved versions.
- Deleting a component instance from a skill will also remove all associated versions.
Viewing and Restoring a Version
- Select a saved version from the dropdown to view a read-only version of the code.
- Use the Copy context menu option to manually copy the code if needed.
- To restore a version:
- Click Copy to Working Version.
- A diff panel will appear, showing the differences between the current working version and the selected saved version.
- Click Confirm to restore and overwrite the working version.
⚠️ Important: Restoring a version will override any unsaved changes in the working version.
Additional Notes
- You can save as many versions as needed.
- Each saved version includes a timestamp for reference.
By following these steps, you can effectively use the versioning feature in Skill Studio's Customize tab to manage and track code changes.
Updated 3 months ago