Skip to content

fix: recognize async moderated shadow blocked messages as blocked#3132

Merged
szuperaz merged 4 commits intorelease-v13from
port-fix--recognize-async-moderated-shadow-blocked-messages-as-blocked
Apr 17, 2026
Merged

fix: recognize async moderated shadow blocked messages as blocked#3132
szuperaz merged 4 commits intorelease-v13from
port-fix--recognize-async-moderated-shadow-blocked-messages-as-blocked

Conversation

@szuperaz
Copy link
Copy Markdown
Contributor

@szuperaz szuperaz commented Apr 17, 2026

https://linear.app/stream/issue/REACT-945/handle-shadow-blocked-images-in-react-chat-sdk

isMessageBlocked method decides if we should display the MessageBlocked placeholder for a message. This method didn't categorize shadowed messages as blocked (probably because these messages are not displayed in message list, except when they change from shadowed: false to shadowed: true)

Provide a description of the implementation

Add relevant screenshots

🎯 Goal

Describe why we are making this change

πŸ›  Implementation details

Provide a description of the implementation

🎨 UI Changes

Add relevant screenshots

)

https://linear.app/stream/issue/REACT-945/handle-shadow-blocked-images-in-react-chat-sdk

`isMessageBlocked` method decides if we should display the
`MessageBlocked` placeholder for a message. This method didn't
categorize `shadowed` messages as blocked (probably because these
messages are not displayed in message list, except when they change from
`shadowed: false` to `shadowed: true`)

_Provide a description of the implementation_

_Add relevant screenshots_
@MartinCupela MartinCupela changed the title fix: recognize async moderated shadow blocked messages as blocked (#3… fix: recognize async moderated shadow blocked messages as blocked Apr 17, 2026
@szuperaz szuperaz merged commit 096de30 into release-v13 Apr 17, 2026
3 checks passed
@szuperaz szuperaz deleted the port-fix--recognize-async-moderated-shadow-blocked-messages-as-blocked branch April 17, 2026 14:10
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 17, 2026

Codecov Report

βœ… All modified and coverable lines are covered by tests.
βœ… Project coverage is 80.93%. Comparing base (01d92a3) to head (bd719ee).
⚠️ Report is 2 commits behind head on release-v13.

Additional details and impacted files
@@             Coverage Diff              @@
##           release-v13    #3132   +/-   ##
============================================
  Coverage        80.93%   80.93%           
============================================
  Files              506      506           
  Lines            10562    10562           
  Branches          2482     2482           
============================================
  Hits              8548     8548           
  Misses            1580     1580           
  Partials           434      434           

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

πŸš€ New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • πŸ“¦ JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

github-actions bot pushed a commit that referenced this pull request Apr 17, 2026
## [13.14.4](v13.14.3...v13.14.4) (2026-04-17)

### Bug Fixes

* recognize async moderated shadow blocked messages as blocked ([#3132](#3132)) ([096de30](096de30))
@stream-ci-bot
Copy link
Copy Markdown

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

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants