0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-02 12:28:54 -05:00

Add dashboard to shortcuts

This commit is contained in:
alonso.torres 2022-03-25 12:18:33 +01:00
parent 32d31da0da
commit 01194d5e25

View file

@ -10,6 +10,7 @@
[app.common.pages.helpers :as cph]
[app.common.transit :as t]
[app.common.uuid :as uuid]
[app.main.data.dashboard.shortcuts]
[app.main.data.viewer.shortcuts]
[app.main.data.workspace :as dw]
[app.main.data.workspace.changes :as dwc]
@ -319,13 +320,16 @@
command)]))
(into {})
(clj->js))))]
(let [style "font-weight: bold; font-size: 1.25rem;"]
(.log js/console "%c Dashboard" style)
(print-shortcuts app.main.data.dashboard.shortcuts/shortcuts)
(.log js/console "Workspace")
(.log js/console "%c Workspace" style)
(print-shortcuts app.main.data.workspace.shortcuts/shortcuts)
(.log js/console "Path")
(.log js/console "%c Path" style)
(print-shortcuts app.main.data.workspace.path.shortcuts/shortcuts)
(.log js/console "Viewer")
(print-shortcuts app.main.data.viewer.shortcuts/shortcuts))
(.log js/console "%c Viewer" style)
(print-shortcuts app.main.data.viewer.shortcuts/shortcuts)))
nil)