mirror of
https://github.com/penpot/penpot.git
synced 2026-11-21 01:22:01 +00:00
Grid cell overrides carry over only between grids. When a main swapped a nested grid head for a component without a grid, its copies kept the cells they authored, now naming a child that was removed. Sync now drops the cells and their override from a copy it leaves without a grid, and the model expects the same once the copy has synced. Benchmark (scripts/bench-components, ms, lower 2.5% quantile): | world | baseline | now | ratio | |------------------------------------+----------+--------+-------| | deepest-edit-through-three-levels | 35.215 | 20.76 | 0.59 | | edit-through-a-chain-of-dependents | 68.931 | 37.86 | 0.55 | | library-update-into-copies | 83.083 | 46.402 | 0.56 | | main-edit-among-many-shapes | 4.837 | 2.19 | 0.45 | | main-edit-into-10-copies | 1.79 | 0.976 | 0.55 | | main-edit-into-100-copies | 15.415 | 9.456 | 0.61 | | main-edit-into-1000-copies | 153.086 | 95.647 | 0.62 | | variant-switch-into-copies | 32.052 | 20.652 | 0.64 | AI-assisted-by: claude-opus-5-5