stable

Clone or download

Read-only

Shortcuts can be used with the sidebar component

Hopefully the shortcuts are uniq enough to not conflicts with shortcuts of the app where the sidebar is used. You can test the change by going into the folder and running `pnpm run dev`. For the sake of consistency between all the sidebars, a small bug have been fixed in the FP and BP sidebars. When using the `shift+g` shortcut to select the first tool of the sidebar it is always the first tool that is focused and not the first tool provided by a plugin. Part of request #23465 Publish a project sidebar custom element Change-Id: I6362e856f93a139c1d43dbd4e92f4327af56dcc0

Modified Files

Name
M src/scripts/global-shortcuts/index.ts +4 −1 Go to diff View file
M src/scripts/global-shortcuts/src/plugin-access-shortcuts.ts +4 −4 Go to diff View file
M src/scripts/lib/project-sidebar/package.json +2 −0 Go to diff View file
M src/scripts/lib/project-sidebar/pnpm-lock.yaml +50 −0 Go to diff View file
M src/scripts/lib/project-sidebar/src/ProjectSidebar.vue +9 −2 Go to diff View file
M src/scripts/lib/project-sidebar/src/Tools/Tool.test.ts +5 −0 Go to diff View file
M src/scripts/lib/project-sidebar/src/Tools/Tool.vue +3 −0 Go to diff View file
M src/scripts/lib/project-sidebar/src/Tools/Tools.vue +38 −1 Go to diff View file
M src/scripts/lib/project-sidebar/src/configuration.ts +1 −0 Go to diff View file
M src/scripts/lib/project-sidebar/src/project-sidebar-example-config.ts +11 −0 Go to diff View file
M src/themes/BurningParrot/templates/sidebar/tools.mustache +1 −0 Go to diff View file
M src/themes/FlamingParrot/templates/sidebar/tools.mustache +1 −0 Go to diff View file