GetStream / stream-chat-js

JS / Browser Client - Build Chat with GetStream.io
https://getstream.io/chat/
Other
177 stars 75 forks source link

feat: add reaction groups fallback #1286

Closed myandrienko closed 3 months ago

myandrienko commented 3 months ago

Adds fallback for the new reaction_groups property on messages.

Since reaction_groups will not be available for older messages, we use the data from reaction_counts and reaction_scores to provide reactions data in a similar shape as a fallack.

The reaction_groups property is marked as optional.

github-actions[bot] commented 3 months ago

Size Change: +747 B (0%)

Total Size: 368 kB

Filename Size Change
dist/browser.es.js 79.4 kB +168 B (0%)
dist/browser.full-bundle.min.js 48.1 kB +95 B (0%)
dist/browser.js 80.4 kB +159 B (0%)
dist/index.es.js 79.5 kB +164 B (0%)
dist/index.js 80.5 kB +161 B (0%)

compressed-size-action