UX: Show quick search hint more consistently (#14769)

UX: Show quick search hint more consistently (#14769)

diff --git a/app/assets/javascripts/discourse/app/widgets/search-menu-results.js b/app/assets/javascripts/discourse/app/widgets/search-menu-results.js
index 383075d..f3f0b7a 100644
--- a/app/assets/javascripts/discourse/app/widgets/search-menu-results.js
+++ b/app/assets/javascripts/discourse/app/widgets/search-menu-results.js
@@ -457,6 +457,7 @@ createWidget("search-menu-assistant", {
           );
           content.push(
             this.attach("search-menu-assistant-item", {
+              extraHint: I18n.t("search.enter_hint"),
               prefix,
               user,
               slug: `${prefix}@${user.username}`,
@@ -650,9 +651,9 @@ createWidget("search-menu-assistant-item", {
       content.push(h("span.search-item-user", userResult));
     } else {
       content.push(h("span.search-item-slug", attrs.label || attrs.slug));
-      if (attrs.extraHint) {
-        content.push(h("span.extra-hint", attrs.extraHint));
-      }
+    }
+    if (attrs.extraHint) {
+      content.push(h("span.extra-hint", attrs.extraHint));
     }
     return h("a.widget-link.search-link", { attributes }, content);
   },

GitHub sha: 488511479e44f8d3a6553db4b64fda35f5452611

This commit appears in #14769 which was approved by CvX. It was merged by pmusaraj.