Description
In chorus with the other IA changes, we'd like to test Spotlight search.
While it might seem unrelated to fixing the foundational IA, we've repeatedly found that users intuitively reach for the filter box to find anything.
This first implementation won't implement unified search (for messages, file names, people, etc) and instead will just link to perform those actions. If this test is successful, we'll build out towards unified search later.
- Part of a larger project to improve our IA.
- Figma
- Merging behind a labs flag, on by default on develop to learn more from lived usage there.
Tasks
- Restylise 'filter' as search in room list
Update to the latest designs. - Expose keyboard shortcut
Update to the latest designs. Show keyboard shortcut on focus and while empty. - Best effort spotlight search experience
- Show a list of recently viewed rooms.
Show a list of non-scrollable rooms when opening the spotlight search experience. Non scrollable. - Show a list of recent searches in default open state.
Reasonable, non-scrollable, maximum depending on available vertical space. Store locally. Don't worry about syncing cross-client for now. We can add that later, if we learn it's needed. - Display search results of rooms you've joined.
Clear default states to show search results from rooms you've joined. Show: (1) Avatar (2) Room / DM room name (3) Caption with one of: Space name if room, Matrix ID if user, Room ID if no space. Blank if none. - Expose secondary actions with text links in micro copy, or buttons.
While the spotlight experience is 'best effort' to validate all of the Phase I changes, simply link to: Explore rooms, Explore space, message search.
- Show a list of recently viewed rooms.
- Sanity check collapsed state.