stream-chat-js
stream-chat-js copied to clipboard
JS / Browser Client - Build Chat with GetStream.io
fix: replace binarySearchByDateEqualOrNearestGreater with findIndexInSortedArray \w midpoint match
This PR removes and replaces `binarySearchByDateEqualOrNearestGreater` with universal `findIndexInSortedArray` function and enables exact matching by [checking midpoint](https://github.com/GetStream/stream-chat-js/pull/1370/files#diff-39b2554fd18da165b59a6351b1aafff3714e2a80c1435f2de9706355b4d32351R356). Changes to `channel` and `channel_state` tests are to ensure proper order of generated...
## CLA - [ ] I have signed the [Stream CLA](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform) (required). - [ ] Code changes are tested ## Description of the changes, What, Why and How? This adds...
## CLA - [x] I have signed the [Stream CLA](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform) (required). - [x] Code changes are tested ## Description of the changes, What, Why and How? This PR fixes 2...
Related also to https://github.com/GetStream/stream-chat-js/issues/1322 Disabled/Deleted channels cannot be mark as read from the client (due to well... being disabled?) so i manage to workaround this to marking it as read...
In read state, **last_read_message_id** is always true (with the actual id I marked via API channel.markRead({ message_id: messageId })) But sometimes, **unread_messages** return incorrect, always = 0 Some specific cases:...
## CLA - [x] I have signed the [Stream CLA](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform) (required). - [ ] Code changes are tested ## Description of the changes, What, Why and How? This adds support...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.0 to 6.3.5. Release notes Sourced from vite's releases. v6.3.5 Please refer to CHANGELOG.md for details. v6.3.4 Please refer to CHANGELOG.md for details. v6.3.3 Please refer to...
## Description of the changes, What, Why and How?
## Description of the changes, What, Why and How? ### This PR adds - `LiveLocationManager` class - helper to handle registered live locations ([see use in React SDK PR](https://github.com/GetStream/stream-chat-react/pull/2587/files#diff-51d5a297f836005bf2fd3de950d133c70de45985e36a37d7bd95d69e1028bccdR129-R132)) -...
### The Why Targeted events are a runtime extension of event types - by default we provide a limited set of types which we can hook onto but say you...