Skip to main content

Studio SDLC

Review and commit changes

Legend is integrated with the software development lifecycle (SDLC) supported by GitLab, which lets you review and commit changes.

Follow these steps to review and commit a change.

  1. Press Ctrl+S to sync the local changes to the workspace.

    Sync local changes to workspace

  2. Select the diff view to review the synced changes in workspace.

    Review changes

  3. To create a review, click the highlighted icon in the activity bar or press Ctrl + Shift + M to go to the review panel. Here you can review the code in the current workspace vs. the committed code.

    Create a review

  4. After the review is approved, click Commit.

    Commit the changes

Update workspace with latest changes

When the workspace is out of date, Studio provides a notification in the status bar on the bottom left. Click the update button on the sidebar to bring in the latest changes.

Share and upload recent unsaved local changes via a Patch

This feature allows you to save (or write) a patch that they can then upload and apply to their local workspace. More details here.

patches

Resolve a conflict in the workspace

A workspace update may result in a conflict. Studio will open a new view to aid in resolving the conflict.

  1. Choose one of the following actions:

    • Discard the changes: the workspace changes are removed.

    • Review the changes: the workspace changes will be applied on top of the latest version.

    Discard or review changes

  2. If you chooose to review changes, review and press F9 to compile.

  3. Once the changes compile successfully, either accept or discard the changes.

    Accept or discard changes

Release a new version of your data model and make it available to consumers

Test new data model versions

You can depend on another project's "HEAD" version to dynamically pull in and review incoming changes. As a data producer, you can more safely release new project versions because your consumers can test any data model changes before updating to a new released version.

Create patch release

You can create patch release from any of the previous released versions of your studio project by following below steps

  1. Create a patch from the previously released version of your project.

    create-patch

  2. Create a workspace from the patch you just created.

    create-workspace

  3. Make changes to your workspace and commit them.

  4. Create a review and get it approved, merged.

    create-review

  5. Once you are done with making changes and merging it to the patch you can release it.

    release-patch

Troubleshoot issues with your data model, query or service.

Tutorial coming soon.

Share your project with others in read-only mode

Instead of having to copy the URL of a Studio project to share it with others, you can just click on the 'share project' button in the Project Details view.

share-project

More details and video walkthrough here.

Debug/troubleshoot issues with your query by reviewing execution details (Plan View)

Tutorial coming soon.

Troubleshoot, inspect your code, and make changes to your data model in Text Mode

Tutorial coming soon.

More