mirror of
https://github.com/penpot/penpot.git
synced 2026-07-25 15:38:21 +00:00
🐛 Emit create-shape-layout telemetry when adding grid layout via plugins or MCP
This commit is contained in:
parent
f81d4af05e
commit
27c6761597
@ -1209,8 +1209,9 @@
|
||||
(u/not-valid plugin-id :addGridLayout "Cannot modify a page that is not currently active")
|
||||
|
||||
:else
|
||||
(do (st/emit! (dwsl/create-layout-from-id id :grid :from-frame? true :calculate-params? false))
|
||||
(se/event plugin-id "create-shape-layout" :layout "grid")
|
||||
(do (st/emit!
|
||||
(dwsl/create-layout-from-id id :grid :from-frame? true :calculate-params? false)
|
||||
(se/event plugin-id "create-shape-layout" :layout "grid"))
|
||||
(grid/grid-layout-proxy plugin-id file-id page-id id)))))
|
||||
|
||||
;; Make masks for groups
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user