You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/GETTING_STARTED.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,15 +103,15 @@ What you should see:
103
103
- the article body inside the commit message
104
104
- an empty-tree commit
105
105
- a published ref behind the current draft ref
106
-
- multiple restore-worthy historical commits
106
+
- multiple historical commits worth browsing and restoring
107
107
108
108
## Seeded Sandbox State
109
109
110
110
The sandbox deliberately starts with an interesting repo:
111
111
112
112
-`hello-world` published at v1
113
113
- draft v2 and v3 ahead of published
114
-
- a history chain you can browse and restore immediately
114
+
- a history chain you can browse immediately and restore after unpublishing
115
115
116
116
That means the UI is alive on first load and the Git inspection commands have something real to show.
117
117
@@ -124,9 +124,10 @@ While `npm run sandbox` is running:
124
124
3. Compare the current draft with the published state
125
125
4. Open the History panel
126
126
5. Preview an older version
127
-
6. Restore it and watch a new commit appear
127
+
6. Try Restore and note that the UI blocks it while the article is still published
128
+
7. Unpublish, then restore, and watch a new draft commit appear
128
129
129
-
The important thing to notice is that restore does **not** rewrite history. It appends a new draft commit with old content.
130
+
The important thing to notice is that restore does **not** rewrite history. It appends a new draft commit with old content, but only after the article leaves the `published` state.
130
131
131
132
## Contributor Path
132
133
@@ -166,7 +167,7 @@ To stop services and remove volumes:
166
167
docker compose down -v
167
168
```
168
169
169
-
That removes the long-lived playground repo volume too.
170
+
That removes the long-lived sandbox repo volume too.
0 commit comments