mirror of
https://github.com/penpot/penpot.git
synced 2026-07-21 05:27:50 +00:00
Setting or clearing `board.guides` from a plugin threw a malli `:malli.core/invalid-schema` for every value, including `[]`. Causes: - `shape.cljs` validated against `[:vector ::ctg/grid]`, but the `:app.common.types.grid/grid` reference is no longer registered (direct schemas replaced the namespaced-keyword registrations). Use the direct var `ctg/schema:grid`, matching every other setter. - `parser.cljs` `parse-frame-guide` returned the `parse-frame-guide-column` / `parse-frame-guide-row` fns instead of calling them with the guide, so column/row guides parsed to a vector containing a function. - `parse-frame-guide-square` used `parse-frame-guide-column-params` instead of the dedicated `parse-frame-guide-square-params`. Adds a regression test parsing column/square guides and validating the result (and an empty vector) against `ctg/schema:grid`. Fixes #9773 Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: Filip Sajdak <filip.sajdak@siili.com>