Commit d87bf15
authored
The design doc at plans/unified-history.md does not exist in the repo
and was never committed. Six @see references pointed at it across the
presentation-editor history coordinator. The surrounding comments
already carry the design rationale inline (participant model, batch
adapter purpose, kill-switch fallback path), so removing the dead
cross-references is the lowest-risk fix.
In history/types.ts the dead "see X" line introduced an inline summary
that is still valid; replaced the prefix with "Design at a glance:" so
the bullets stay anchored. In PresentationEditor.ts:5335 the dead
prefix was inline in a paragraph; dropped it and let the surrounding
sentence reflow. The other four occurrences were standalone @see lines
deleted outright.
If the design doc resurfaces, add a real path back. Until then a
broken cross-reference is actively harmful per the comment policy
("treat stale comments and stale agent-facing docs as bugs").
1 parent 0ab9966 commit d87bf15
5 files changed
Lines changed: 3 additions & 10 deletions
File tree
- packages/super-editor/src/editors/v1/core/presentation-editor
- history
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1648 | 1648 | | |
1649 | 1649 | | |
1650 | 1650 | | |
1651 | | - | |
1652 | | - | |
1653 | 1651 | | |
1654 | 1652 | | |
1655 | 1653 | | |
| |||
5332 | 5330 | | |
5333 | 5331 | | |
5334 | 5332 | | |
5335 | | - | |
5336 | | - | |
| 5333 | + | |
| 5334 | + | |
5337 | 5335 | | |
5338 | 5336 | | |
5339 | 5337 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
228 | 227 | | |
229 | 228 | | |
230 | 229 | | |
| |||
0 commit comments