mirror of
https://github.com/penpot/penpot.git
synced 2026-05-16 05:23:39 +00:00
🐛 Unify layout creation telemetry for plugins and MCP (#9654)
* 🐛 Unify layout creation telemetry for plugins and MCP * 📚 Update changelog for version 2.15.4 Signed-off-by: Andrey Antukh <niwi@niwi.nz> --------- Signed-off-by: Andrey Antukh <niwi@niwi.nz> Co-authored-by: Andrey Antukh <niwi@niwi.nz>
This commit is contained in:
parent
1dea84b7b1
commit
27ac0b7469
@ -1,5 +1,11 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 2.15.4 (Unreleased)
|
||||
|
||||
### :bug: Bugs fixed
|
||||
|
||||
- Emit `create-shape-layout` for flex/grid layout creation from plugins and MCP (same event as workspace) [Github #9652](https://github.com/penpot/penpot/issues/9652)
|
||||
|
||||
## 2.15.3
|
||||
|
||||
### :bug: Bugs fixed
|
||||
|
||||
@ -1017,7 +1017,7 @@
|
||||
:else
|
||||
(do (st/emit!
|
||||
(dwsl/create-layout-from-id id :flex :from-frame? true :calculate-params? false)
|
||||
(se/event plugin-id "create-layout" :layout "flex"))
|
||||
(se/event plugin-id "create-shape-layout" :layout "flex"))
|
||||
(flex/flex-layout-proxy plugin-id file-id page-id id)))))
|
||||
|
||||
:addGridLayout
|
||||
@ -1032,7 +1032,7 @@
|
||||
|
||||
:else
|
||||
(do (st/emit! (dwsl/create-layout-from-id id :grid :from-frame? true :calculate-params? false))
|
||||
(se/event plugin-id "create-layout" :layout "grid")
|
||||
(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