You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: layout.addElement drops unread parameters silently on the remaining element kinds #3074
#2890 (addressed in #3060) added per-kind parameter allow-list validation (only_add_keys) to layout.addElement for "grid" and "extentIndicator" first. The other layout.addElement element kinds still accept unread keys silently and drop them without error or notice.
Add per-kind ADD_*_KEYS allow-lists and validate them with only_add_keys (before mutating the layout, treating null as not given) for the remaining layout.addElement kinds in crates/engine/src/cmd/layout.rs, following #2890 and #3060 (coordinating with #3066 if layout commands are split).
I'm taking this one: each remaining element kind gets its own allow-list beside the grid and extent indicator ones, so layout.addElement refuses a key it won't read before anything is added. PR shortly.
Activity
choupeanut commentedon Nov 28, 2026
I'm taking this one: each remaining element kind gets its own allow-list beside the grid and extent indicator ones, so layout.addElement refuses a key it won't read before anything is added. PR shortly.
fix(layout): layout.addElement refuses a parameter its element kind d…