Review Changes

Ask NocoAI

Copy a prompt, paste it into NocoAI in a factory session, and replace the words in [brackets] with your own.

  • Explain the changes of the last turn, file by file
  • Undo the changes to [package.json] and keep the rest
  • Run the tests and fix what fails before I review

The Changes tab of a Noco Factory session shows the code changes of the session as a diff. Review the work of NocoAI here before you push it. Comment on lines, and send the comments to NocoAI to fix.

The Changes tab with a line comment and Send to agent

Choose what to compare

The scope menu at the top of the Changes tab sets which changes show. The default is Branch.

ScopeWhat it shows
Last turnThe changes from NocoAI's last reply.
UncommittedAll changes that are not committed.
UnstagedUncommitted changes that are not staged.
StagedChanges that are staged for the next commit.
CommittedThe changes of one commit. Select the commit.
BranchAll changes on the branch since the session started. To compare with a different branch, select it in Search branches.

When the session has no changes, the tab shows "Nothing changed yet".

Read the diff

In the Changes tab of a Noco Factory session, the list of changed files is next to the diff. Each file shows as Added, Modified or Deleted. Use these controls:

ControlWhat it does
Split or unifiedShows the old and new code side by side, or in one column.
Word wrapWraps long lines.
Word diffsMarks the changed words in a line.
Hide white spaceHides changes that are only spaces or line breaks.
Expand all diffs, Collapse all diffsOpens or closes the diff of every file.
Jump to fileFinds a file in the list.
Show files, Hide filesShows or hides the file list.
ViewedMarks a file as reviewed and collapses it. If the file changes again, the mark goes away.
Copy git apply commandCopies a command that applies the changes to your local copy of the repository.

Send comments to NocoAI

  1. Hover over a line in the diff, and click + next to its line number. The Comment on [line] box opens.
  2. Type the change that you want in Request change, and click Comment.
  3. Add more comments on other lines if you need to. A bar at the bottom shows the number of comments.
  4. Click Send to agent. NocoAI gets all comments in one message and makes the changes.

To remove all comments without sending them, click Clear in the bar.

Commit or push the changes

Click Commit or push at the top of the Changes tab. NocoAI gets the message "Commit the changes and push the branch." and does it. See Branches and pull requests.

Only the person who started the session can comment and commit. Other members can read the diff.

Last updated on

Latest product updates?See Changelog
Stay in the loop? Follow us onLinkedInLinkedInYouTubeYouTubeXX