no-bug: Add shortcut to create a new Space (gh-13552)

Co-authored-by: Zander Otavka <AlexanderOtavka@users.noreply.github.com>
This commit is contained in:
Zander Otavka
2026-05-04 15:14:24 -07:00
committed by GitHub
parent 60a77413df
commit 149419d1fd
2 changed files with 18 additions and 1 deletions

View File

@@ -832,7 +832,7 @@ class nsZenKeyboardShortcutsLoader {
}
class nsZenKeyboardShortcutsVersioner {
static LATEST_KBS_VERSION = 17;
static LATEST_KBS_VERSION = 18;
constructor() {}
@@ -1212,6 +1212,22 @@ class nsZenKeyboardShortcutsVersioner {
);
}
if (version < 18) {
// Migrate from version 17 to 18.
// Add shortcut to Create New Workspace (unbound by default)
data.push(
new KeyShortcut(
"zen-workspace-create",
"",
"",
ZEN_WORKSPACE_SHORTCUTS_GROUP,
nsKeyShortcutModifiers.fromObject({}),
"cmd_zenOpenWorkspaceCreation",
"zen-workspace-shortcut-create"
)
);
}
return data;
}
}