🎁 Product Update: Code Diff View

The code viewer in Gradient experiments now includes a visual diff tool targeted at developers to better visualize code changes within experiments.

5 years ago   •   1 min read

By Dillon

[12/2/2021 Update: This article contains information about Gradient Experiments. Experiments are now deprecated, and Gradient Workflows has replaced its functionality. Please see the Workflows docs for more information.]

The code viewer in Gradient experiments now includes a visual diff tool targeted at developers to better visualize code changes within experiments.

How it works

The diff view helps you compare files, directories, and version controlled projects within Gradient. It provides two-way comparison of both files to make understanding code changes easier.

Gradient code diffing tool

Toggling side-by-side view

The new diff viewer supports both "side-by-side" and "line-by-line" visual representations. Toggle between the two with the toggle button as seen in the animation below:

Spread the word

Keep reading