Skip to content

Commit f4f520f

Browse files
authored
fix: Forgotten hint in keyboards shortcuts dialog about cmd+click in navigator nodes to expand all (#5509)
## Description 1. What is this PR about (link the issue and add a short description) ## Steps for reproduction 1. click button 2. expect xyz ## Code Review - [ ] hi @kof, I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [ ] tested locally and on preview environment (preview dev login: 0000) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env` file
1 parent 876b02a commit f4f520f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

apps/builder/app/builder/features/keyboard-shortcuts-dialog/keyboard-shortcuts-dialog.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ const additionalShortcuts = [
5858
category: "Navigator",
5959
defaultHotkeys: ["←"],
6060
},
61+
{
62+
name: "expandAllNavigatorNodes",
63+
label: "Expand all nodes",
64+
description: "Click on arrow to expand or collapse all nodes",
65+
category: "Navigator",
66+
defaultHotkeys: ["meta+click", "ctrl+click"],
67+
},
6168
{
6269
name: "switchBreakpoint",
6370
label: "Switch breakpoints",
@@ -114,6 +121,7 @@ export const KeyboardShortcutsDialog = () => {
114121
"duplicateInstance",
115122
"expandNavigatorItem",
116123
"collapseNavigatorItem",
124+
"expandAllNavigatorNodes",
117125
],
118126
Panels: [
119127
"toggleComponentsPanel",

0 commit comments

Comments
 (0)