GetStream / stream-chat-react

React Chat SDK ➜ Stream Chat 💬
https://getstream.io/chat/sdk/react/
Other
702 stars 274 forks source link

feat: memoize & add highlightDuration parameter to jumpTo[FirstUnread]Message #2414

Closed arnautov-anton closed 5 months ago

arnautov-anton commented 5 months ago

🎯 Goal

Memoize jumpToMessage and jumpFirstUnreadMessage functions and add highlightDuration parameter.

codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 26.31579% with 14 lines in your changes missing coverage. Please review.

Project coverage is 85.40%. Comparing base (ded8f05) to head (239689d).

Files Patch % Lines
src/components/Channel/Channel.tsx 22.22% 14 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## release-v11 #2414 +/- ## =============================================== - Coverage 85.41% 85.40% -0.02% =============================================== Files 392 392 Lines 9031 9036 +5 Branches 2326 2330 +4 =============================================== + Hits 7714 7717 +3 - Misses 1116 1118 +2 Partials 201 201 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

stream-ci-bot commented 5 months ago

:tada: This PR is included in version 11.20.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: