In progressive workspace questions, the question author can make changes to the file system between levels, adding complexity or removing helper files. As a candidate, figuring out what's changed between levels can be difficult. With the level diff view, you can easily see what's been modified, added, or removed, giving you confidence in your understanding of the problem space.
To open the level diff view, click the white diff icon (circle with arrows) in the filesystem toolbar, and select Level changes.
When you select Level changes, a modal appears over the IDE, showing what changed in the filesystem from the previous level to the current one. The modal will show you which files have been added, modified, or removed by the question author.
Note: In addition to the full level diff view, you can get a quick view of what’s changed by hovering over a file name in the filesystem. A tooltip will appear telling you whether the file is new or modified from the previous level.
New Blank File
If a new file has been added for the level, the level diff view will feature a green plus icon to the left of the file name. Clicking into a new blank file in the level diff view shows that the file has no content.
New File With Content
New files with content also appear with a green plus icon to the left of the file name, but the level diff view now shows the contents of the new file.
Modified File
Modified files are marked with a yellow diff icon featuring two arrows pointing in opposite directions. Clicking into this type of file will pull up a diff view highlighting changes to the file between the previous and current levels.
Deleted File
The level diff view will also show any files that have been deleted since the previous level. This change is shown with a red minus icon next to the file name.
No Change From Previous Level
If there have been no changes to the filesystem since the previous level, the level diff view will show a message saying "no file changes."
Questions? Contact support@codesignal.com.