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: