mirror of
https://github.com/penpot/penpot.git
synced 2026-11-21 09:42:01 +00:00
The changes of grouping, ungrouping, masking, unmasking and creating bools were built in the workspace events, which the JVM tests and the component gates cannot run. They move to app.common.logic.groups and app.common.logic.bool with the same behavior: the events keep their selection and stream handling and call the common builders, and the other callers of shapes-for-grouping and prepare-create-group use the common namespace. Tests: groups-test (grouping, ungrouping, copy heads left whole, mask and unmask, bools without boards). Frontend suite: 2080 tests, 2 failures, both the intermittent persistence-rollback-test timeout. Benchmark (scripts/bench-components, ms, lower 2.5% quantile), measured with the other production changes of this series in the tree; none of them is on a measured path: | :world | :baseline | :now | :mean | :ratio | |------------------------------------+-----------+---------+---------+--------| | deepest-edit-through-three-levels | 35.215 | 22.167 | 22.682 | 0.63 | | edit-through-a-chain-of-dependents | 68.931 | 43.218 | 44.696 | 0.63 | | library-update-into-copies | 83.083 | 47.824 | 50.506 | 0.58 | | main-edit-among-many-shapes | 4.837 | 2.216 | 2.34 | 0.46 | | main-edit-into-10-copies | 1.79 | 1.067 | 1.133 | 0.6 | | main-edit-into-100-copies | 15.415 | 10.604 | 10.813 | 0.69 | | main-edit-into-1000-copies | 153.086 | 106.085 | 108.631 | 0.69 | | variant-switch-into-copies | 32.052 | 22.556 | 23.137 | 0.7 | AI-assisted-by: claude-opus-5-5