GetStream / stream-chat-flutter

Flutter Chat SDK - Build your own chat app experience using Dart, Flutter and the Stream Chat Messaging API.
https://getstream.io/chat/sdk/flutter/
Other
937 stars 342 forks source link

Enhanced search api for attachment metadata #2037

Closed TheAppCrafter closed 1 week ago

TheAppCrafter commented 1 month ago

Please select which package this feature is related to

stream_chat, stream_chat_flutter, stream_chat_flutter_core

Which platforms would this feature impact?

iOS, Android, Web, Windows, MacOS, Linux

Is your feature request related to a problem?

I would like to be able to search for attachment metadata for all messages in a channel. I believe only searching for message fields "attachment" and "attachment.type" are supported based on my testing and your documentation here: https://getstream.io/chat/docs/flutter-dart/search/?language=dart

Describe the solution that you'd like

It would be beneficial to have the same query, filtering, and sorting support for attachments. In my app I have a channel "userFiles" and a custom widget that displays all files from this channel. I would like to have the same file searching functionality as a simple OS file explorer or cloud file storage solution such as google drive. I would like the ability for users to search for specific files names, files created after certain dates, etc.

I recognize this may be out of scope for this repository since this is more of a backend feature request. If there is a better place I can submit this feature request please advise.

Describe alternatives that you have considered

No response

Additional context

Here is an example of my UI:

image

Code of Conduct

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open for 20 days with no activity.

github-actions[bot] commented 1 week ago

This issue was closed because it has been inactive for 7 days since being marked as stale.