element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.14k stars 1.99k forks source link

Ability to peek into each search result when doing a directory search via Explore Rooms #21288

Open bkil opened 2 years ago

bkil commented 2 years ago

Your use case

What would you like to do?

I would like to preview rooms more quickly and interactively when browsing through search results within the Explore Rooms dialog.

Why would you like to do it?

I sometimes find myself looking for a room based on various synonyms or word combinations. I need to preview dozens of room until I find one or more that I like.

Some of the rooms don't even provide for room preview, so I have to join them to look around and then leave individually.

After every attempt, I need to reopen the room explorer dialog again (could take some time due to refetching the initial room list every time) type in my search words again, and then scroll to the search result position where I left off.

How would you like to achieve it?

Lots of alternatives could be feasible.

The cheapest could be to introduce a new button Back to search results that would be shown in the corner after you open a room through the Explore Rooms dialog. In its simplest form, it could redo your last search and scroll to the room you just exited within the search results.

Another way would be to embed a kind of room preview within the Explore Rooms dialog itself, but that would need more work and some user testing to do it right.

Have you considered any alternatives?

No response

Additional context

No response

t3chguy commented 1 year ago

Related https://github.com/vector-im/element-web/issues/5111 Related https://github.com/vector-im/element-web/issues/25188