UX: Improve quick search suggestions (PR #13813)

Several small improvements:

  • allows searching within the quick suggestions:

  • adds more shortcuts (watching, tracked, untagged, etc.)

  • makes some shortcuts visible to authed users only (personal, bookmarks, seen etc.) because they are not helpful for anonymous searches

  • Adds in:mine as synonym for in:created

  • Shortcuts can now be invoked by typing simply :

  • renames the API function to addSearchSuggestion

GitHub

Why map here if you aren’t using the returned array? forEach makes more sense.