WorkroomDocsDownload

The inspector

Review a workroom's history, changes, files and pull request in the right-hand inspector, and commit, push and sync from the app.

The inspector is the panel on the right. It reads each workroom's Git repository directly, so you can review commits, diffs, files and the pull request without leaving the app, and commit and sync from the same place.

Open the inspector

Press ⌘B (View ▸ Inspector) to show or hide it. The icon strip at its right edge, the activity bar, switches between panes:

Pane Shows Shortcut
Details (Nightly only) Where the workroom runs, and its forwarded ports. See Details and ports ⌥⌘I
Changes Three sections: Changes, History and Pull Request ⌥⌘C
Files The workroom's file tree ⌥⌘F

View also has an item for each section of the Changes pane: Changes, History (⌥⌘Y) and Pull Request (⌥⌘P). Each opens the inspector at that section. The Room menu repeats these pane and section items, without the shortcuts, except in Workroom 2.1.0. The sections stack in the Changes pane, and you can collapse them or drag the dividers to resize them.

The inspector follows the workroom you are in.

Workroom headerNightly

The inspector shows the project and workroom name above its panes, led by the icon the sidebar shows for the workroom, or a house for a project's root. The Workroom actions menu beside the name has Move to New Window, the label items and Delete Workroom…. See Workrooms.

Changes

Changes lists the files with uncommitted changes in the workroom, with a count in its header and the lines added in green and removed in red. It is live: it updates as you or a coding agent edit files. When nothing has changed it says No uncommitted changes.

  • Click a file to open its diff in a preview tab. Click again quickly to keep the tab open.
  • ⌘-click a file to open the file itself in your editor.
  • Hover a row for a button that opens the file in the app. Right-click for Open File and Open File in….
  • The refresh button in the header reads the status again.

Read a diff

A diff opens as a tab beside your terminals. The view is Unified by default. Switch to Side by Side from the diff pane's title bar, or from Settings ▸ Appearance ▸ Diff view, which sets the layout for diffs you open afterwards. With Side by Side set in Settings, a pane that is too narrow falls back to unified. A diff you switch from its title bar keeps the layout you chose at any width.

Right-click a diff tab to switch the view, Open File, Open File in…, or Keep Open.

History

History is the log of commits on the workroom's branch, newest first. Under each commit's message, its row shows the short commit id, its authors and how long ago it was made. Hover the time for the full date and time. Click a commit to open its changeset in a preview tab: the message, the authors, the changed files, and a diff for each file you select. Click quickly twice to keep the tab open. Branch and tag names show beside the commits they point at, and a commit that is not pushed yet has an orange up-arrow beside it. Hover it, or open the commit, to read Not pushed.

The list shows the newest commits first. Use Load more at the bottom to go further back.

Commit

Click the check-mark button in the Changes header, or choose Room ▸ Commit… (⌥⌘↩), to open Commit changes. It is off when there is nothing to commit. Workroom 2.1.0 has only the button.

  1. Untick any files you do not want in the commit. A file that appears while the sheet is open arrives ticked. To commit a single file, use Commit Only This File on its row.
  2. Type a Summary. Add a Description (optional) if you want one.
  3. Click Commit N files.

The sheet explains why the button is off, for example when there are unresolved conflicts or no summary. If a file has staged changes that differ from the file on disk, the sheet says so, and the button turns into Commit anyway. The commit records the file as it is on disk.

Amend last commit changes the message of the last commit to what you typed. It touches nothing else about that commit. The sheet names the commit it would rewrite.

Push, pull and sync

The bar at the top of the Changes pane has three parts: the current branch, a sync button and a fetch button.

  • The branch name is on the left. Right-click it for Copy Branch Name.
  • The sync button shows the next sensible step for the branch. It reads Publish branch for a branch that is not on the remote yet, Push when you have commits to push, and Pull with rebase when the remote has commits you lack, with counts of how many. With nothing to do it shows when you last fetched. Click it to run that step.
  • The fetch button, with the tooltip Fetch from the remote, contacts the remote and updates the counts.

The Room menu has the same actions. In Workroom 2.1.0 it is the Source Control menu.

Action Shortcut
Fetch ⇧⌥⌘F
Push ⇧⌘P
Pull with Rebase ⇧⌥⌘P

If you have uncommitted changes when you pull, Workroom asks first. It stashes your changes and puts them back after the rebase.

When a push or pull fails, the sync button turns into a warning. Right-click it and choose Show Error Details… to read why. If a lock file is blocking the repository, the same menu has Copy Lock File Path and Reveal Lock File in Finder. Workroom does not delete the lock file for you, because it cannot tell a running Git from an abandoned lock.

Pull request

Pull Request shows the pull request for the workroom's branch, and its CI checks. It reads them with the GitHub CLI, so it needs gh 2.57.0 or newer, signed in. If gh is missing, too old or signed out, the section says GitHub CLI not found, GitHub CLI too old or GitHub CLI not signed in, with the fix. Run gh auth login to sign in.

When the branch has a pull request:

  • The header shows its number as a badge. Click the badge to open it in your browser. The badge turns red when checks are failing.
  • A summary row and one row per check show the CI result. Click a check to open it on GitHub.
  • A draft pull request has a Ready for Review button.
  • The merge button merges the pull request into its base branch on GitHub, after you confirm. Its drop-down chooses the method: Create a merge commit, Squash and merge or Rebase and merge. Your choice is remembered.
  • The header's Pull request actions menu has Go to Pull Request, Ready for Review or Convert to Draft, Close Pull Request and Reopen Pull Request. Go to Pull Request, and Ready for Review or Convert to Draft, are also in the Room menu, except in Workroom 2.1.0.

With no pull request the section says No pull request. Workroom does not open pull requests itself. Create one with gh pr create in a terminal, or on GitHub. See Review and ship.

CI freshnessNightly

Workroom reuses a CI result for up to five minutes when the repository and commit are unchanged. Selecting a workroom still reloads its pull request details and individual checks. A different commit gets its own CI result.

To check CI again right away, click the refresh button in the Changes header (Refresh workroom status).

Files

Files shows the workroom's working tree as a list you can expand. A click on a file opens it read-only in the main pane, in a preview tab. Click again quickly to keep it open. ⌘-click opens it in your editor. Markdown files open as a rendered preview, with a switch to the source. A mermaid code block is drawn as a diagram in the preview. A diagram Workroom cannot draw shows its source instead. Files are shown with syntax highlighting.

Note

In Workroom 2.1.0 a diagram is drawn in a fixed light or dark style. Nightly draws it in your theme's colours, so a theme change recolours it at once.

The refresh button in the header reloads the tree. A very large tree is cut off, with a line that says how many more there are.

↑↓ to move, ↵ to open, esc to close