mirror of
https://github.com/penpot/penpot.git
synced 2025-05-11 07:57:07 +02:00
✨ Add dashboard to shortcuts
This commit is contained in:
parent
32d31da0da
commit
01194d5e25
1 changed files with 11 additions and 7 deletions
|
@ -10,6 +10,7 @@
|
||||||
[app.common.pages.helpers :as cph]
|
[app.common.pages.helpers :as cph]
|
||||||
[app.common.transit :as t]
|
[app.common.transit :as t]
|
||||||
[app.common.uuid :as uuid]
|
[app.common.uuid :as uuid]
|
||||||
|
[app.main.data.dashboard.shortcuts]
|
||||||
[app.main.data.viewer.shortcuts]
|
[app.main.data.viewer.shortcuts]
|
||||||
[app.main.data.workspace :as dw]
|
[app.main.data.workspace :as dw]
|
||||||
[app.main.data.workspace.changes :as dwc]
|
[app.main.data.workspace.changes :as dwc]
|
||||||
|
@ -319,13 +320,16 @@
|
||||||
command)]))
|
command)]))
|
||||||
(into {})
|
(into {})
|
||||||
(clj->js))))]
|
(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)
|
(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)
|
(print-shortcuts app.main.data.workspace.path.shortcuts/shortcuts)
|
||||||
|
|
||||||
(.log js/console "Viewer")
|
(.log js/console "%c Viewer" style)
|
||||||
(print-shortcuts app.main.data.viewer.shortcuts/shortcuts))
|
(print-shortcuts app.main.data.viewer.shortcuts/shortcuts)))
|
||||||
nil)
|
nil)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue