Skip to content

Commit b1944f7

Browse files
Remove disable mention all from conversation and add mention label prop in message list
1 parent 4dc3d6b commit b1944f7

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

ui-kit/android/conversations.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,6 @@ Below is a list of customizations along with corresponding code snippets
461461
| setSelectionMode | This method determines the selection mode for conversations, enabling users to select either a single conversation or multiple conversations at once. | `.setSelectionMode(UIKitConstants.SelectionMode.MULTIPLE);` |
462462
| setSearchInputText | This method sets the text in the search input field. | `.setSearchInputText("Sample Text");` |
463463
| setSearchPlaceholderText | This method sets the placeholder text for the search input field. | `.setSearchPlaceholderText("Enter search term");` |
464-
| setDisableMentionAll | Controls whether group mentions like @all appear in suggestions. | `.setDisableMentionAll(true)` |
465464
| setMentionAllLabelId | Allows setting a custom alias label for group mentions (@channel, @everyone, etc.). | `.setMentionAllLabelId("Id", "Label")` |
466465

467466
### Advanced

ui-kit/android/message-list.mdx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -442,17 +442,18 @@ Below is a list of customizations along with corresponding code snippets
442442
| **groupActionMessageVisibility** | used to toggle visibility for action message option | `.groupActionMessageVisibility(View.GONE);` |
443443
| **enableConversationStarters** | Controls whether conversation starters are generated in new conversations | `.enableConversationStarters(true);` |
444444
| **setEnableConversationSummary** | Controls whether conversation summaries are enabled for the conversation list. | `.setEnableConversationSummary(true);` |
445-
| **setUnreadMessageThreshold** | Sets the threshold for unread messages, determining when a message is marked as unread. | .setUnreadMessageThreshold(10); |
446-
| **setSwipeToReplyEnabled** | Controls whether the swipe-to-reply functionality is enabled or disabled for messages. | .setSwipeToReplyEnabled(true); |
445+
| **setUnreadMessageThreshold** | Sets the threshold for unread messages, determining when a message is marked as unread. | `.setUnreadMessageThreshold(10);` |
446+
| **setSwipeToReplyEnabled** | Controls whether the swipe-to-reply functionality is enabled or disabled for messages. | `.setSwipeToReplyEnabled(true);` |
447447
| **enableSmartReplies** | Enables smart replies for quick responses | `.enableSmartReplies(true);` |
448448
| **smartRepliesKeywords** | Defines specific keywords in an incoming message that will trigger Smart Replies. | `.setAISmartRepliesKeywords(Arrays.asList("hello", "hi", "how are you", "good morning", "good evening", "good night"));` |
449449
| **smartRepliesDelayDuration** | Sets the delay time before Smart Replies are fetched and displayed after a message is received. | `.smartRepliesDelayDuration(5000);` |
450450
| **setAiAssistantSuggestedMessagesVisibility** | used to toggle visibility for suggested messages in case of chats with AI Assistants | `.setAiAssistantSuggestedMessagesVisibility(View.GONE);` |
451451
| **setAIAssistantEmptyStateVisibility** | used to toggle visibility for empty chat greeting view in case of chats with AI Assistants | `.setAIAssistantEmptyStateVisibility(View.GONE);` |
452452
| **refreshStyle** | used to refresh the style of message list | `.refreshStyle();` |
453-
| **generateConversationSummary** | Triggers the generation of a conversation summary by fetching it from the ViewModel. | .generateConversationSummary(); |
454-
| **setReplyOptionVisibility** | Sets the visibility of the “Reply to Message” option in the message actions menu. | .setReplyOptionVisibility(View.VISIBLE); |
455-
| setReportOptionVisibility | Sets the visibility of the “Report” option in the message actions menu. | .setReportOptionVisibility(View.VISIBLE); |
453+
| **generateConversationSummary** | Triggers the generation of a conversation summary by fetching it from the ViewModel. | `.generateConversationSummary();` |
454+
| **setReplyOptionVisibility** | Sets the visibility of the “Reply to Message” option in the message actions menu. | `.setReplyOptionVisibility(View.VISIBLE);` |
455+
| **setReportOptionVisibility** | Sets the visibility of the “Report” option in the message actions menu. | `.setReportOptionVisibility(View.VISIBLE);` |
456+
| **setMentionAllLabelId** | Allows setting a custom alias label for group mentions (@channel, @everyone, etc.). | `.setMentionAllLabelId("Id", "Label")` |
456457
457458
***
458459

ui-kit/android/search.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,6 @@ Below is a list of customizations along with corresponding code snippets
366366
| **Loading View** | A custom component to display during the loading state. | `.setLoadingView(View loadingView)` |
367367
| **Empty View** | A custom component to display when there are no conversations available. | `.setEmptyView(@LayoutRes int emptyView)` |
368368
| **Error View** | A custom component to display when an error occurs. | `.setErrorView(View errorView)` |
369-
| **setDisableMentionAll** | Controls whether group mentions like @all appear in suggestions. | `.setDisableMentionAll(true)` |
370369
| **setMentionAllLabelId** | Allows setting a custom alias label for group mentions (@channel, @everyone, etc.). | `.setMentionAllLabelId("Id", "Label")` |
371370

372371
### Advanced

0 commit comments

Comments
 (0)