Skip to content

feat: Moderation: show Blocked messages in SDK#2408

Merged
khushal87 merged 2 commits into
developfrom
block-and-flag-messages
Feb 1, 2024
Merged

feat: Moderation: show Blocked messages in SDK#2408
khushal87 merged 2 commits into
developfrom
block-and-flag-messages

Conversation

@khushal87
Copy link
Copy Markdown
Contributor

🎯 Goal

The Goal of the PR is to show blocked messages in the MessageList UI. This is a feature part of moderation.

πŸ›  Implementation details

The blocked messages are represented by message type as error and the message text having Message was blocked by moderation policies.

🎨 UI Changes

Screen.Recording.2024-02-01.at.2.46.37.PM.mov

πŸ§ͺ Testing

β˜‘οΈ Checklist

  • I have signed the Stream CLA (required)
  • PR targets the develop branch
  • Documentation is updated
  • New code is tested in main example apps, including all possible scenarios
    • SampleApp iOS and Android
    • Expo iOS and Android

@khushal87 khushal87 requested a review from santhoshvai February 1, 2024 09:21
Comment thread package/src/components/Message/MessageSimple/MessageStatus.tsx Outdated
Comment thread package/src/utils/utils.ts
@khushal87 khushal87 merged commit 5d76f6e into develop Feb 1, 2024
@khushal87 khushal87 deleted the block-and-flag-messages branch February 1, 2024 13:07
@github-actions github-actions Bot mentioned this pull request Feb 1, 2024
6 tasks
@stream-ci-bot
Copy link
Copy Markdown
Contributor

πŸŽ‰ This PR is included in version 5.24.0 πŸŽ‰

The release is available on:

Your semantic-release bot πŸ“¦πŸš€

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants