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

fix(search): missing thread_participants in message #1412

Merged
merged 3 commits into from
Dec 18, 2024

Conversation

kanat
Copy link
Contributor

@kanat kanat commented Dec 7, 2024

Link to issue

Related PR

Summary

Enable the Channel.search to enrich thread_participants in found messages.

CLA

  • I have signed the Stream CLA (required).
  • Code changes are tested

Changelog

Copy link
Contributor

github-actions bot commented Dec 7, 2024

Size Change: 0 B

Total Size: 461 kB

ℹ️ View Unchanged
Filename Size
dist/browser.es.js 101 kB
dist/browser.full-bundle.min.js 56.9 kB
dist/browser.js 102 kB
dist/index.es.js 101 kB
dist/index.js 102 kB

compressed-size-action

@kanat kanat changed the title [CHA-365] missing thread_participants in search result fix(search): missing thread_participants in message Dec 7, 2024
@@ -1713,6 +1713,10 @@ export type MessageFilters<StreamChatGenerics extends ExtendableGenerics = Defau
}
>;

export type MessageOptions = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that only MessageOptions would not be clear enough to convey the fact that these are actually search payload options.

Suggested change
export type MessageOptions = {
export type SearchMessageOptions = {

Copy link
Contributor Author

@kanat kanat Dec 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I thought about it as well, however, technically, in the future, it could be used in other places where the MessageFilters is also used.

@kanat kanat force-pushed the fix/search-thread-participants branch from 6c9d0dc to 7102756 Compare December 11, 2024 16:46
@kanat kanat merged commit af5cb81 into master Dec 18, 2024
5 checks passed
@kanat kanat deleted the fix/search-thread-participants branch December 18, 2024 16:11
@github-actions github-actions bot mentioned this pull request Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants