001adee34f
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1.1 KiB
1.1 KiB
Manual smoke — F9 authorship view in the preview
Confirms the rendered preview's Authorship mode colors Claude's vs your text. One live turn hits the SDK.
Prereqs
npm run build; launch the Extension Development Host (F5) withsandbox/open.
Steps
- Open a markdown file. Open Cowriting: Open Track-Changes Preview (
Ctrl+Alt+R). - The header shows a
[ Track changes | Authorship ]toggle. It opens in Track changes (unchanged behavior). - Select a sentence → Ask Claude to Edit Selection → instruct → accept.
- Click Authorship. Expect: Claude's accepted text is tinted (blue) and your own typing is tinted (green); the header shows a legend (Claude / You). Text you never touched (original content) is plain.
- Type a few words yourself, mixing into a Claude sentence. Expect: the colors split mid-paragraph at the exact boundaries.
- If the doc has a mermaid or code fence Claude authored, expect the whole fence to carry a small author badge (not per-character).
- Flip back to Track changes. Expect: the diff view is exactly as before.