Merge pull request #4269 from penpot/telemetry

 Improve internal naming of setup/props
This commit is contained in:
Alejandro 2024-03-18 09:53:15 +01:00 committed by GitHub
commit 89b43d7127
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
34 changed files with 397 additions and 293 deletions

View file

@ -24,6 +24,7 @@
[app.common.types.shape.interactions :as ctsi]
[app.common.types.shape.layout :as ctl]
[app.common.uuid :as uuid]
[app.main.data.events :as ev]
[app.main.data.modal :as md]
[app.main.data.workspace.changes :as dch]
[app.main.data.workspace.collapse :as dwc]
@ -789,6 +790,9 @@
(defn toggle-focus-mode
[]
(ptk/reify ::toggle-focus-mode
ev/Event
(-data [_] {})
ptk/UpdateEvent
(update [_ state]
(let [selected (wsh/lookup-selected state)]