Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element message search - filter by properties #21366

Closed
throwabird opened this issue Mar 9, 2022 · 2 comments
Closed

Element message search - filter by properties #21366

throwabird opened this issue Mar 9, 2022 · 2 comments
Labels
A-Timeline-Search O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience T-Enhancement X-Needs-Design X-Needs-Product More input needed from the Product team X-Spec-Changes

Comments

@throwabird
Copy link

Your use case

What would you like to do?

I would like to be able to filter the search results by certain properties similar to how discord does it.
For reference here are discords properties:
from: user
mentions: user
has: link embed file video image sound sticker
before: date
during: date
after: date
in: channel

The last property could also replace the 2 separate tabs "This Room" and "All Rooms" which are currently in the element search or make the button add the filter in the search bar.

Why would you like to do it?

There are several cases where this can come in handy - to name a few:

  • Searching for a particular image has:file or has:video or even has:link
  • Filtering search results by people from:@user:matrix.tld
  • Looking at results further back before:date

How would you like to achieve it?

The current Element application (desktop) already offers a search feature which stores the chats locally. The search query would need to be improved with such filters and possibly store more (meta)data to archive the aforementioned features.

Have you considered any alternatives?

No response

Additional context

No response

@germain-gg germain-gg added A-Timeline-Search O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience X-Needs-Design X-Needs-Product More input needed from the Product team labels Mar 10, 2022
@SimonBrandner
Copy link
Contributor

Related matrix-org/matrix-spec#759

@throwabird
Copy link
Author

I've just realized this is a duplicate of element-hq/element-meta#908.
Related #21121

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Timeline-Search O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience T-Enhancement X-Needs-Design X-Needs-Product More input needed from the Product team X-Spec-Changes
Projects
None yet
Development

No branches or pull requests

3 participants