alonso.torres babab40c93 🐛 Reassign the cells of an untouched grid without authoring them
Updating shapes reassigns the cell positions of the grids among them.
That reassignment ignored the update's touched options, so a layout
reflow, which updates every layout without touching it, marked the cells
of a copy grid as its own whenever they moved, as when a copy child
switched to a hidden variant left its cell.

Each grid reassigns its cells with the touched options of its own
update. The model expects a copy grid's direction change to author its
cells only when the change itself moves auto items, not when the reflow
after it makes a cell manual.

Benchmark (scripts/bench-components, ms, lower 2.5% quantile):

| world                              | baseline |     now | ratio |
|------------------------------------+----------+---------+-------|
| deepest-edit-through-three-levels  |   35.215 |  21.005 |  0.60 |
| edit-through-a-chain-of-dependents |   68.931 |  39.064 |  0.57 |
| library-update-into-copies         |   83.083 |  48.602 |  0.58 |
| main-edit-among-many-shapes        |    4.837 |   2.246 |  0.46 |
| main-edit-into-10-copies           |     1.79 |   0.984 |  0.55 |
| main-edit-into-100-copies          |   15.415 |  10.081 |  0.65 |
| main-edit-into-1000-copies         |  153.086 | 100.708 |  0.66 |
| variant-switch-into-copies         |   32.052 |  20.063 |  0.63 |

AI-assisted-by: claude-opus-5-5
2026-11-18 10:29:46 +01:00
..
2026-11-10 20:21:16 +01:00
2026-09-29 09:07:34 +02:00
2026-03-11 15:24:40 +01:00