Changes and file preview
When an Agent modifies or refactors your code, you need to quickly confirm which files changed and whether the changes are correct. Condr provides built-in views for file changes and previews and lets you make small edits to files directly, so you can review work without opening an external IDE.
Open the changes panel (Changes)
Section titled “Open the changes panel (Changes)”- Shortcut: press
Cmd + Option + B(macOS) orCtrl + Alt + B(Windows/Linux). - From the interface: click the sidebar button in the title bar of the right sidebar.
The Changes view sorts modified files into three groups by Git status:
- Conflicts: files with merge conflicts.
- Tracked: tracked files that have been modified.
- Untracked: files the Agent created that Git does not track yet.
Each file shows how many lines were added and deleted, and the right end of the comparison button’s row above the list sums them up.
The list follows the disk on its own. If it ever falls behind, for example on a network drive, click Refresh at the top right of the sidebar to have the Device scan the Workspace again; it refreshes Files and the open diff too.
Compare against HEAD or the base branch
Section titled “Compare against HEAD or the base branch”The button above the list names what the changes are compared against, such as Against main, and its menu switches it:
- HEAD: only what is not committed yet. Once an Agent commits, those files drop off the list.
- The base branch: the menu shows the branch name, such as
main. The list holds everything this branch changed since it forked, committed or not, and none of the commits the base branch gained since.
When Condr creates a Worktree, it records the branch the parent Workspace was on as the base branch. Other Workspaces use the remote’s default branch (such as origin/main), then a local main, then master. When the current branch is the base branch itself or its upstream, only HEAD is available.
Each Workspace remembers its own choice.
View code diffs (Diff)
Section titled “View code diffs (Diff)”- Click any file in the Changes list, and a Diff Tab opens in the center area automatically.
- The page highlights exactly how the file differs from what you compare against, and the title bar names it, for example
Against main. - Split (the two-column icon) shows the old and new file side by side; Unified (the two-row icon) shows them in one column. The choice in the title bar applies to every Diff Tab and is remembered.
- Unchanged stretches are folded; click a fold to show more lines above or below it, or all of them.
- Click Show File in the title bar to open the file in the Preview Tab at the line you last clicked in the diff.
Tip: For very large binary files, or any single file over 1 MiB, the detailed comparison is hidden automatically to protect performance.
Browse commit history (History)
Section titled “Browse commit history (History)”Switch the right sidebar to History to see the commits of the Workspace’s current branch, newest first, as git log lists them:
- The top row names the branch and, when it has an upstream, how many commits it is ahead (
↑2) and behind (↓1) as of the last fetch. - Each row shows the commit’s subject, short ID, author and age. When an Agent commits, the new commit appears at the top on its own.
- Click a commit to list the files it changed in a pane below the commits, with how many lines each added and deleted; drag the line between them to resize, and click the commit again to hide the pane. Click a file to open it in the Diff Tab as that commit changed it; the header shows the commit’s subject, and the arrow next to it shows the rest of the message.
- Copy the commit ID from the Diff Tab header or a commit’s right-click menu.
- Show more at the end of the list loads the next 100 commits.
History only reads the repository: it does not check out, revert or create commits. Clicking a file in Changes returns the Diff Tab to the working tree.
Browse and preview project files (Files & Preview)
Section titled “Browse and preview project files (Files & Preview)”- Switch to the file tree: switch the tab at the top of the right sidebar to Files to expand and browse project folders as you would in a file manager.
- Change markers: a folder with changes carries a dot, and files ignored by
.gitignoreare grayed out automatically. - Click to preview: click any text file to open it in the Preview Tab. Syntax highlighting and scroll position refresh automatically when the file changes on disk.
- Rendered Markdown and images: Markdown and SVG files open rendered by default; switch between Preview and Source in the Tab header. Images (PNG, JPEG, GIF, WebP, BMP, ICO and TIFF under roughly 2 MiB) scale automatically to fit, and animated images play automatically. Images in Markdown files are loaded locally from the project; web images display their alt text instead.
Edit files (Preview)
Section titled “Edit files (Preview)”The Source view of the Preview Tab is an editor, on local and remote Devices alike:
- Edit and save: type into the file, then press
Cmd + S(macOS) orCtrl + S(Windows/Linux). A dot in the Tab header marks unsaved changes. Nothing is saved automatically, so your edits never race the Agent’s. - Changed lines: beside the line numbers, a bar marks each line added (green) or modified (yellow) and a red mark shows where lines were deleted; the scrollbar shows the same marks, so changes are easy to find in a long file. They compare with what Changes compares with (
HEADor the base branch), follow your unsaved edits as you type, and appear only in Git projects. - Line endings are kept: a file that uses Windows line endings (
CRLF) keeps them for the lines you add. - When the file changes on disk: if the Agent writes the file while you have unsaved changes, your text stays as it is and the header says Changed on disk. Saving then asks whether to Overwrite the file with your text or to Discard and Reload it.
- Unsaved changes are never dropped silently: before you switch to another file, close the Tab or quit Condr, Condr asks whether to save. If another device switches or closes the Tab, you can still save your text, copy it or discard it.
- Read-only files: files that are not valid UTF-8 text, binary files and files over 1 MiB can be viewed but not edited; the header says why.
Right-click menu
Section titled “Right-click menu”Right-click a file in the Changes or Files list to choose one of these common actions:
- Open in …: open the current file or project in a locally installed VS Code, Zed, Cursor or IntelliJ IDEA.
- Insert Path into Terminal: paste the file’s relative path into the most recently used terminal Pane, ready to pass to a command-line tool.
- Copy Relative Path / Copy Path: copy the file’s relative or absolute path in one click.
- Reveal in Finder / Reveal in File Explorer / Open Containing Folder: show the file or folder in the system file manager (local Devices only).
- New File… / New Folder…: create an entry in the Files view: inside a folder, beside a file or at the project root from the empty area below the tree. A new file opens in the Preview Tab, ready to type.
- Rename…: rename a file or folder within its folder. A name that is already taken is refused.
- Delete…: delete a file or a folder with everything in it, after you confirm. Deletion is permanent and skips the system trash.
Condr never changes anything inside .git.