From 40a9f9889603e113eca054db3c4ff6696c65d063 Mon Sep 17 00:00:00 2001 From: m4air Date: Tue, 15 Sep 2026 23:18:21 -0700 Subject: [PATCH] docs: remove unavailable diff shortcuts --- docs/site/content/docs/editing/monaco.mdx | 2 +- docs/site/content/docs/recipes/review-ai-diff.mdx | 4 ++-- docs/site/content/docs/review/commit-push.mdx | 2 +- docs/site/content/docs/review/diff-viewer.mdx | 6 +----- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/docs/site/content/docs/editing/monaco.mdx b/docs/site/content/docs/editing/monaco.mdx index e5998c904e30..2baf82fdfaf5 100644 --- a/docs/site/content/docs/editing/monaco.mdx +++ b/docs/site/content/docs/editing/monaco.mdx @@ -16,7 +16,7 @@ Files save on blur and after short idle periods. There is no "dirty" dot because ## Changes view mode -Toggle **Changes view mode** in any editor tab to flip the file into an in-tab HEAD-vs-working-tree diff without leaving your cursor position. Same shortcuts as the [Diff viewer](/docs/review/diff-viewer) — `n`/`p` to walk hunks, `s` to stage. Toggle again to return to the regular file view. +Toggle **Changes view mode** in any editor tab to flip the file into an in-tab HEAD-vs-working-tree diff without leaving your cursor position. Toggle again to return to the regular file view. ## Word wrap diff --git a/docs/site/content/docs/recipes/review-ai-diff.mdx b/docs/site/content/docs/recipes/review-ai-diff.mdx index 98aaa1db9981..38ec8b52a73c 100644 --- a/docs/site/content/docs/recipes/review-ai-diff.mdx +++ b/docs/site/content/docs/recipes/review-ai-diff.mdx @@ -7,8 +7,8 @@ Reviewing an AI diff well is the difference between shipping fast and shipping b ## Steps 1. Open the worktree's diff view. -1. Go file-by-file with `j` / `k`. For each hunk, ask: is the change necessary? is it minimal? does it match the rest of the file? -1. Drop comments with `c` on anything you want changed — full sentences work best. +1. Review each changed file. For each hunk, ask: is the change necessary? is it minimal? does it match the rest of the file? +1. Use **Annotate AI Diff** to leave comments on anything you want changed — full sentences work best. 1. When you've been through the whole diff, click **Send to agent**. Orca batches all comments into one prompt. 1. Watch the agent revise. The state dot will go yellow (waiting for more input) or green (working). 1. When it's idle, re-open the diff. Your comments are pinned; resolve the ones that are fixed and leave follow-ups on the rest. diff --git a/docs/site/content/docs/review/commit-push.mdx b/docs/site/content/docs/review/commit-push.mdx index 7afbcb813c6c..4fbc09df4ddf 100644 --- a/docs/site/content/docs/review/commit-push.mdx +++ b/docs/site/content/docs/review/commit-push.mdx @@ -6,7 +6,7 @@ You can commit, push, and open the review without leaving Orca. The commit panel ## Commit -1. Stage changes by hunk or by file from the diff. +1. Stage changed files from the Source Control panel. 1. Write a commit message in the bottom panel, or use **Generate with AI** when you want Orca to draft one from the staged changes. 1. Hit **Commit** (`Cmd-Enter` on macOS, `Ctrl-Enter` on Windows / Linux) when focus is in Source Control and the primary action is Commit. diff --git a/docs/site/content/docs/review/diff-viewer.mdx b/docs/site/content/docs/review/diff-viewer.mdx index 00f5f92660ce..75925f078c62 100644 --- a/docs/site/content/docs/review/diff-viewer.mdx +++ b/docs/site/content/docs/review/diff-viewer.mdx @@ -11,7 +11,7 @@ Orca's diff viewer is designed for serious review of AI-generated code — not a - **Image diffs** — side-by-side, swipe, and onion-skin modes for binary images. - **HTML preview** — in **View all** / combined diffs, HTML sections that still exist in the working tree show **Open Preview to the Side** (eye) next to the always-visible open-file control. Preview opens the working-tree HTML in a side browser split. Deleted HTML and commit-only combined surfaces skip the eye. - **Merge-conflict UI** with three-way view and inline resolution. -- **Staging by hunk or line** — same as `git add -p` but visual. +- **File staging** from the Source Control panel. ## Scoping @@ -27,8 +27,4 @@ Combined diffs can show a collapsible file tree beside the hunks. Drag the tree' ## Keyboard shortcuts -- `j` / `k` — next / previous changed file. -- `n` / `p` — next / previous hunk. - `F7` / `Shift+F7` — next / previous change in the active editor. -- `s` — stage the hunk under the cursor. -- `c` — start a comment ([Annotate AI Diff](/docs/review/annotate-ai-diff)).