Open Cowriting Review Panel from the markdown file/tab right-click menu #41
Notifications
Due Date
No due date set.
Depends on
#43 Preview toolbar as the primary interaction surface — adaptive "Ask Claude…" + Pin baseline buttons
benstull/vscode-cowriting-plugin
Reference: benstull/vscode-cowriting-plugin#41
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
As a writer, I can right-click a markdown file in the Explorer or its editor
tab and choose "Open Cowriting Review Panel", so that I can reach the
review surface without remembering the command palette entry or the
ctrl+alt+rkeybinding.Problem / pain
The interactive review surface — the track-changes / interactive-review preview
(
cowriting.showTrackChangesPreview, "Cowriting: Open Review Preview") — is thesingle most important affordance the plugin offers, yet it is currently only
discoverable two ways: the command palette and the
ctrl+alt+rkeybinding. Neither is where a writer's hand naturally goes. Right-clicking a
file or a tab is the muscle-memory gesture for "do something with this document,"
and the review panel is absent from that menu — so first-time and occasional
users don't find it.
Who feels it
Writers using the plugin to review human+machine changes — especially new users
who haven't learned the keybinding, and anyone working mouse-first.
Desired outcome / value
The review panel is discoverable from the right-click context menu on a
markdown document, so a writer can open it the obvious way. Lowers the
discoverability floor for the plugin's central feature.
Acceptance — "done right"
Review Panel" item that opens the review preview for that file.
review preview for that document.
.md), not for other filetypes.
cowriting.showTrackChangesPreviewagainst theright-clicked document (not merely the active editor, when they differ).
ctrl+alt+rkeybinding continue to workunchanged.
preview (per the mandatory E2E tier for UI surfaces).
Scope / non-goals
explorer/contextandeditor/title/contextmenu contributionsin
package.jsonwith a markdownwhenclause, wiring the command to act onthe right-clicked resource URI.
toolbar/title-bar button (
editor/title); no context-menu entry for non-markdownfiles; no rename of the underlying command id.
Assumptions · constraints · dependencies
cowriting.showTrackChangesPreviewalready exists and is thecorrect target; it currently keys off the active markdown editor and may need to
accept a resource URI argument so the explorer/tab right-click targets the
clicked document.
titlein context menus. The requestedlabel "Open Cowriting Review Panel" differs from the current title "Cowriting:
Open Review Preview" — see Solution notes.
its F7 rendered-preview lineage; this issue only adds an entry point to it.
Source / signal
Self-originated — capture session vscode-cowriting-plugin-0035 (operator ask:
"Add 'Open Cowriting Review Panel' to the context menu when you right-click a
markdown file or its tab").
Priority (WSJF)
Value (med — discoverability of the core feature) · Time-criticality (low) ·
Opportunity-enablement (low) ÷ Size (very small) → modest-but-favorable score.
priority/P2.Decomposition
explorer/contextmenu item for.mdresources →cowriting.showTrackChangesPreview.editor/title/contextmenu item for markdown tabs → same command.Solution notes (optional — NOT a design)
To make the menu read "Open Cowriting Review Panel" there are a few options,
none binding: (a) retitle the command to
"Cowriting: Open Cowriting Review Panel"(note the doubled word in palette display) or simply"Open Cowriting Review Panel"; (b) keep the command title and accept the menu showing "OpenReview Preview"; (c) introduce a thin alias command with the desired title that
delegates to
showTrackChangesPreview. The operator's stated wording is "OpenCowriting Review Panel" — pick the option that yields that text with the least
surface churn at implementation time.