FEATURE: List search menu shortcuts in instructions modal (#9273)

FEATURE: List search menu shortcuts in instructions modal (#9273)

diff --git a/app/assets/javascripts/discourse/controllers/keyboard-shortcuts-help.js b/app/assets/javascripts/discourse/controllers/keyboard-shortcuts-help.js
index 1c2d8f4..62feb5b 100644
--- a/app/assets/javascripts/discourse/controllers/keyboard-shortcuts-help.js
+++ b/app/assets/javascripts/discourse/controllers/keyboard-shortcuts-help.js
@@ -172,6 +172,16 @@ export default Controller.extend(ModalFunctionality, {
         keys1: [SHIFT, "a"],
         keysDelimiter: PLUS
       })
+    },
+    search_menu: {
+      prev_next: buildShortcut("search_menu.prev_next", {
+        keys1: ["↑"],
+        keys2: ["↓"],
+        shortcutsDelimiter: "slash"
+      }),
+      insert_url: buildShortcut("search_menu.insert_url", {
+        keys1: ["a"]
+      })
     }
   }
 });
diff --git a/app/assets/javascripts/discourse/templates/modal/keyboard-shortcuts-help.hbs b/app/assets/javascripts/discourse/templates/modal/keyboard-shortcuts-help.hbs
index 2203c90..cfa90cb 100644
--- a/app/assets/javascripts/discourse/templates/modal/keyboard-shortcuts-help.hbs
+++ b/app/assets/javascripts/discourse/templates/modal/keyboard-shortcuts-help.hbs
@@ -78,5 +78,12 @@
         <li>{{html-safe shortcuts.actions.topic_admin_actions}}</li>
       </ul>
     </section>
+    <section>
+      <h4>{{i18n "keyboard_shortcuts_help.search_menu.title"}}</h4>
+      <ul>
+        <li>{{html-safe shortcuts.search_menu.prev_next}}</li>
+        <li>{{html-safe shortcuts.search_menu.insert_url}}</li>
+      </ul>
+    </section>
   </div>
 {{/d-modal-body}}
diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml
index e9ad9aa..a793ae9 100644
--- a/config/locales/client.en.yml
+++ b/config/locales/client.en.yml
@@ -3091,6 +3091,10 @@ en:
         print: "%{shortcut} Print topic"
         defer: "%{shortcut} Defer topic"
         topic_admin_actions: "%{shortcut} Open topic admin actions"
+      search_menu:
+        title: "Search Menu"
+        prev_next: "%{shortcut} Move selection up and down"
+        insert_url: "%{shortcut} Insert selection into open composer"
 
     badges:
       earned_n_times:

GitHub sha: 3ae26c6c

This commit appears in #9273 which was approved by eviltrout. It was merged by udan11.