1 parent
cd18b7a3db
commit
f621e40655
15 files changed
+457
-2
No files matched your search
@@ -211,6 +211,22 @@ export function isGoToColumnShortcut(event: ShortcutLikeEvent, shortcuts?: Parti
|
||||
return matchesShortcut(event, actionShortcut("goToColumn", shortcuts));
|
||||
}
|
||||
|
||||
export function isGoToFirstPageShortcut(event: ShortcutLikeEvent, shortcuts?: Partial<ShortcutSettings>): boolean {
|
||||
return matchesShortcut(event, actionShortcut("goToFirstPage", shortcuts));
|
||||
}
|
||||
|
||||
export function isGoToPreviousPageShortcut(event: ShortcutLikeEvent, shortcuts?: Partial<ShortcutSettings>): boolean {
|
||||
return matchesShortcut(event, actionShortcut("goToPreviousPage", shortcuts));
|
||||
}
|
||||
|
||||
export function isGoToNextPageShortcut(event: ShortcutLikeEvent, shortcuts?: Partial<ShortcutSettings>): boolean {
|
||||
return matchesShortcut(event, actionShortcut("goToNextPage", shortcuts));
|
||||
}
|
||||
|
||||
export function isGoToLastPageShortcut(event: ShortcutLikeEvent, shortcuts?: Partial<ShortcutSettings>): boolean {
|
||||
return matchesShortcut(event, actionShortcut("goToLastPage", shortcuts));
|
||||
}
|
||||
|
||||
export function isCancelSearchShortcut(event: ShortcutLikeEvent, shortcuts?: Partial<ShortcutSettings>): boolean {
|
||||
return matchesShortcut(event, actionShortcut("cancelSearch", shortcuts));
|
||||
}
|
||||
|
||||
@@ -31,6 +31,10 @@ export type ShortcutActionId =
|
||||
| "copyCurrentRow"
|
||||
| "deleteCurrentRow"
|
||||
| "goToColumn"
|
||||
| "goToFirstPage"
|
||||
| "goToPreviousPage"
|
||||
| "goToNextPage"
|
||||
| "goToLastPage"
|
||||
| "newQuery"
|
||||
| "openSettings"
|
||||
| "closeTab"
|
||||
@@ -287,6 +291,30 @@ export const SHORTCUT_DEFINITIONS: ShortcutDefinition[] = [
|
||||
scope: "grid",
|
||||
defaultShortcut: "",
|
||||
},
|
||||
{
|
||||
id: "goToFirstPage",
|
||||
labelKey: "settings.shortcutGoToFirstPage",
|
||||
scope: "grid",
|
||||
defaultShortcut: "",
|
||||
},
|
||||
{
|
||||
id: "goToPreviousPage",
|
||||
labelKey: "settings.shortcutGoToPreviousPage",
|
||||
scope: "grid",
|
||||
defaultShortcut: "",
|
||||
},
|
||||
{
|
||||
id: "goToNextPage",
|
||||
labelKey: "settings.shortcutGoToNextPage",
|
||||
scope: "grid",
|
||||
defaultShortcut: "",
|
||||
},
|
||||
{
|
||||
id: "goToLastPage",
|
||||
labelKey: "settings.shortcutGoToLastPage",
|
||||
scope: "grid",
|
||||
defaultShortcut: "",
|
||||
},
|
||||
{
|
||||
id: "newQuery",
|
||||
labelKey: "settings.shortcutNewQuery",
|
||||
|
||||
Reference in new issue
Block a user