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
933 stars 343 forks source link

Enhanced search api for attachment metadata #2037

Open TheAppCrafter opened 3 weeks ago

TheAppCrafter commented 3 weeks 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 6 days ago

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