Understanding Layouts and Versioning on the Hyperscience Platform
Introduction to Layouts and Layout Variations
When working with the Hyperscience platform, particularly when modifying layouts, it's crucial to comprehend the concepts of layouts and their variations. The layout defines the visual structure and arrangement of elements within your content. Variations of a layout refer to different configurations of the same base layout that you can choose to apply, depending on the requirements of your project.
What Are Layout and Layout Variations?
Layouts on the Hyperscience platform can be structured with multiple variations. These variations allow for tailored designs and functionalities while ensuring consistency across different sections or pages. Conversely, semi-structured layouts can have only one layout variation, meaning that any modifications made to the layout become the new standard.
Layout Versioning
As you work on a layout, it undergoes changes that are recorded as multiple versions. The versioning occurs at the layout level, not the layout variation level. This means each time you edit the layout, a new version is created, allowing you to maintain a history of your changes and revert to previous states if necessary.
Table of Levels
What Are Layout UUID and Layout Version UUID?
Layout UUID and Layout Version UUID are unique identifiers used to track and manage the versions of a layout on the Hyperscience platform.
What Is a Layout UUID?
A Layout UUID is a unique identifier that represents the specific layout of a component on the Hyperscience platform. It's used to recognize diverse layouts and track modifications made to a component’s layout over time. For example, if you're making changes to the CSS code of a layout, the Layout UUID helps in tracking these changes.
How to Find and Use Layout UUID and Layout Version UUID
Go to your Hyperscience account settings. Under “My Account Profile Settings Component Appearance,” click on the “Layout UUID” box of the component you want to inspect. Copy the value in “Layout UUID” and paste it into the “Layout Version UUID” box next to the component. For Layout Version UUID, follow the same process but focus on the “Layout Version UUID” box. Click on the “Layout Version History” box to view the timestamped list of changes made to that layout version. To revert to a previous version, follow steps 1 and 2, and then paste in a timestamped list of changes since your last saved version into the “Reversion History” box.Conclusion
Understanding the concepts of layouts, layout variations, and versioning on the Hyperscience platform is essential for effective project management and content customization. By leveraging Layout UUIDs and Layout Version UUIDs, you can meticulously track and revert to previous versions of your layouts, ensuring flexibility and consistency in your work.