No way to subscribe to filtered channels

Open
#1,668 5 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
typescript
Domain
api

Research direction

Start by examining the internal createChannelManager mentioned in the issue and the existing channel query and watch APIs. Clarify how filtered subscriptions should include newly created channels and what total unread behavior is expected; the issue does not identify files, tests, or a completion criterion.

Written by the indexing model from the issue text.

Description

How do I simply subscribe to multiple channels at once with a filter? So that when new channels come in, they get picked up too.

I am trying to get a total unread count for multiple channels (with a filter) that updates automatically, except that you can't and you have to query and then watch, but then that will only watch those channels, not new ones that come in.

There is an internal createChannelManager - is that what I am after? How do people usually handle this common use case?

Dominant language
TypeScript
Stars
211
Forks
84
Avg merge
1d 2h
Merged PRs (30d)
89

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GetStream/stream-chat-js

All issues in GetStream/stream-chat-js

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.