Skip to content

Commit 3a46471

Browse files
committed
docs: align companion walkthrough with restore behavior
1 parent 69956c8 commit 3a46471

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

docs/GIT_CMS_COMPANION.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The sandbox starts with an intentionally useful state:
4848

4949
- `hello-world` published at v1
5050
- draft v2 and v3 ahead of published
51-
- enough history to make restore interesting immediately
51+
- enough history to make the draft/published split and append-only restore model visible immediately
5252

5353
That means the repo and UI are alive on first load. You do not have to create the interesting state by hand before the stunt becomes visible.
5454

@@ -61,9 +61,10 @@ With `npm run sandbox` running:
6161
3. Compare the current draft with the published ref
6262
4. Open the History panel
6363
5. Preview an older version
64-
6. Restore it and watch a new draft commit appear
64+
6. Try Restore and note that the UI blocks it while the article is published
65+
7. Unpublish, then restore, and watch a new draft commit appear
6566

66-
The important thing is that restore does not rewrite history. It appends a new commit using older content.
67+
The important thing is that restore does not rewrite history. It appends a new commit using older content, but only once the article is no longer in the `published` state.
6768

6869
## Review Lanes
6970

0 commit comments

Comments
 (0)