mirror of
https://github.com/penpot/penpot.git
synced 2026-10-29 22:10:34 +00:00
save-loads-only-edited-page counted fragment loads only. Assert as well that the one load is the edited page's fragment, that the untouched pages keep their fragment ids, that the rewritten page is stored as an objects map, and that the file reloads equal to the edit applied to the file before the save. Under the old enable-objects-map, which wrapped every page, the test fails with three loads instead of one. Replaying 1,000 recorded saves of a 49-page file on a pointer-map copy found no other load the save path adds beyond the edited page and the components map. AI-assisted-by: claude-opus-5-5 Signed-off-by: Álvaro Tejero Cantero <alvorithm@teje.ro>