Files
photocraft/apps
hnoerenberg 474d3ee067 test(history): cover the CLI report and the tools that share the source (#12845)
The round-one review found that the new default reaches one more report than the local gates covered:
apps/photocraft-cli/tests/it/orientation.rs compares the whole info JSON of a .pcraft with the same
file re-saved, ignoring the path and the names it knows vary. historySource now names the open
snapshot, which carries the document's own name, so the two documents differed. The test's own
ignore-list grows by that name; the command's report is unchanged, and it still has to match
shape for shape.

Same review: the Art History Brush and Fill > History share the document's one source, so the new
default is pinned for them too where the open snapshot and row 0 hold different pixels; a snapshot
taken with replaceExisting under the document's own name drops the open snapshot (ids are never
reused), which takes the default source with it; the panel's source column gets its first click
test; and a source set on the row that is current when a play folds its steps is pinned through the
play. The fill-keys help line and module header still promised the oldest state held, and two test
comments said the same; they name the open snapshot now.
2026-11-26 22:23:26 +01:00
..