Skip to content

v6.1.0

Choose a tag to compare

@raj-dubey1 raj-dubey1 released this 16 Jun 16:09
· 13 commits to v6 since this release
0cccdd8

New

  • Introduced CometChatSearch component, enabling users to search across conversations, messages, or both. Users can also apply filters such as:
    • Conversation filters: Unread, Group.
    • Message filters: Audio, Video, Photo, File, and Link.
  • Added showSearchOption prop in CometChatMessageHeader to toggle the visibility of the search icon, and onSearchOptionClicked callback to handle its click event.
  • Added showSearchBar and searchView props to CometChatConversations to control search bar visibility and allow custom search views. Also introduced onSearchBarClicked callback to handle interactions with the default search bar.
  • Added goToMessageId prop in CometChatMessageList to launch the list with a specific message highlighted—useful when navigating from search results.
  • Introduced CometChatTextHighlightFormatter, which enables highlighting of specific keywords in a text message.
  • Added subtitleView and onSubtitleClicked props in CometChatThreadHeader. The new subtitle displays the user or group name for the active thread and allows custom views and interaction callbacks.
  • Introduced CometChatSearchScope enum to define whether the search should be performed in conversations, messages, or both.
  • Introduced CometChatSearchFilter enum to support setting an initialSearchFilter or to provide a custom list of filters for the CometChatSearch component.

Enhancements

  • None

Fixes

  • Fixed an issue where, when mentions were disabled in CometChatMessageComposer, pasted text would appear multiple times.
  • Resolved a bug where all onClick callbacks in CometChatMessageOptions were triggered, even if only one option was clicked within the CometChatConversation component.