From 1357046fb18a4117a71aa86ca8abffb1970b5e24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Sun, 15 Feb 2026 16:57:25 +0100 Subject: [PATCH] nicolium: keyboard shortcuts update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- packages/pl-fe/src/locales/en.json | 3 ++- packages/pl-fe/src/modals/compose-modal.tsx | 2 +- packages/pl-fe/src/modals/hotkeys-modal.tsx | 9 ++++++++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/packages/pl-fe/src/locales/en.json b/packages/pl-fe/src/locales/en.json index 96bae3055..fd3135cc7 100644 --- a/packages/pl-fe/src/locales/en.json +++ b/packages/pl-fe/src/locales/en.json @@ -1167,6 +1167,7 @@ "keyboard_shortcuts.mention": "to mention author", "keyboard_shortcuts.muted": "to open muted users list", "keyboard_shortcuts.my_profile": "to open your profile", + "keyboard_shortcuts.navigate_search": "to open search page", "keyboard_shortcuts.notifications": "to open notifications list", "keyboard_shortcuts.open_media": "to open media", "keyboard_shortcuts.profile": "to open author's profile", @@ -1326,7 +1327,7 @@ "navigation.sidebar": "Open sidebar", "navigation.sidebar.close": "Close sidebar", "navigation.source_code": "Source code", - "navigation_bar.compose": "Compose a post", + "navigation_bar.compose": "Compose new post", "navigation_bar.compose_direct": "Direct message", "navigation_bar.compose_draft": "Edit draft post", "navigation_bar.compose_edit": "Edit post", diff --git a/packages/pl-fe/src/modals/compose-modal.tsx b/packages/pl-fe/src/modals/compose-modal.tsx index 70cdca34d..71cae843a 100644 --- a/packages/pl-fe/src/modals/compose-modal.tsx +++ b/packages/pl-fe/src/modals/compose-modal.tsx @@ -121,7 +121,7 @@ const ComposeModal: React.FC = ({ } else if (quoteId) { return ; } else { - return ; + return ; } }; diff --git a/packages/pl-fe/src/modals/hotkeys-modal.tsx b/packages/pl-fe/src/modals/hotkeys-modal.tsx index d514230ae..0da57ab25 100644 --- a/packages/pl-fe/src/modals/hotkeys-modal.tsx +++ b/packages/pl-fe/src/modals/hotkeys-modal.tsx @@ -149,7 +149,14 @@ const HotkeysModal: React.FC = ({ onClose }) => { s, / ), - label: , + label: document.querySelector('#search') ? ( + + ) : ( + + ), }, { key: esc,