- Support from: and in: search modifiers
- If from:USERNAME appears in search query separated by either spaces or commas from search terms, return results filtering for messages and comments from USERNAME
- Example: “Gitlab from:ian” or “Gitlab, from:ian” or “from:ian, Gitlab”
-
If in:CHANNEL_HANDLE appears in search query separated by either spaces or commas from search terms, return results filtering for messages and comments in channel CHANNEL_HANDLE
CHANNEL_HANDLE can be a channel, private group, or private message.
Example: “Gitlab in:town-square” or “Gitlab, in:town-square” or “in:town-square, Gitlab” -
Multiple modifiers should be processed as INCLUSIVE OR
- Example: “from:ian, from:corey, in:town-square, ham” should find all messages or comments from ian or corey containing words starting with “ham”*
-
Spaces around “:” should break search modifiers, e.g. “from:james” is a search modifier “from: james” is not a search modifier, it’s searching for terms “from:” and “james”
-
Offer auto-complete after “from:” with list of usernames in a pop-up list identical to @mentions list
-
Offer auto-complete after “in:” with a list of channels, private groups, and private messages similar to @mentions list but populated with channel, PM, and private group handles
- Add icons in list to make it clear which are channels, private groups and private messages
- Show a pop-up with help text as soon as an user clicks into the search box
- Help text should read: “Use
from:[username]
to find posts from specific users andin:[channel_url_name]
to find posts in specific channels, PMs, and private groups” - Pop-up should only appear when the user initially clicks into an empty search bar - it should disappear as soon as the user starts to type.