Skip to content

Build your personal knowledge base with Trilium Notes

feat(options): drop the keyboard shortcuts intro text

Elian Doran4fe29409cba1
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json
index b011f1b6a1..e1845f8e7c 100644
--- a/apps/client/src/translations/en/translation.json
+++ b/apps/client/src/translations/en/translation.json
@@ -1721,8 +1721,6 @@
},
"shortcuts": {
"keyboard_shortcuts": "Keyboard Shortcuts",
- "multiple_shortcuts": "Press the + button next to an action and type a key combination to assign a shortcut. Each action can have several shortcuts.",
- "electron_documentation": "See <a href=\"https://www.electronjs.org/docs/latest/api/accelerator\">Electron documentation</a> for available modifiers and key codes.",
"type_text_to_filter": "Type text to filter shortcuts...",
"reload_app": "Reload app to apply changes",
"set_all_to_default": "Set all shortcuts to the default",
diff --git a/apps/client/src/widgets/type_widgets/options/shortcuts.tsx b/apps/client/src/widgets/type_widgets/options/shortcuts.tsx
index 34c659d1cd..abc35889be 100644
--- a/apps/client/src/widgets/type_widgets/options/shortcuts.tsx
+++ b/apps/client/src/widgets/type_widgets/options/shortcuts.tsx
@@ -16,11 +16,9 @@ import { Badge } from "../../react/Badge";
import Button from "../../react/Button";
import Dropdown from "../../react/Dropdown";
import { FormDropdownDivider, FormListItem } from "../../react/FormList";
-import FormText from "../../react/FormText";
import FormTextBox from "../../react/FormTextBox";
import { useTriliumEvent } from "../../react/hooks";
import NoItems from "../../react/NoItems";
-import RawHtml from "../../react/RawHtml";
import OptionsRow from "./components/OptionsRow";
import OptionsSection from "./components/OptionsSection";
@@ -106,11 +104,6 @@ export default function ShortcutSettings() {
return (
<div className="shortcuts-options-section">
- <FormText>
- {t("shortcuts.multiple_shortcuts")}{" "}
- <RawHtml html={t("shortcuts.electron_documentation")} />
- </FormText>
-
<header>
<FormTextBox
placeholder={t("shortcuts.type_text_to_filter")}