Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add archived_at option to ChannelSort #2662

Open
lukewilson2002 opened this issue Mar 5, 2025 · 0 comments
Open

Add archived_at option to ChannelSort #2662

lukewilson2002 opened this issue Mar 5, 2025 · 0 comments
Labels
feature New capability

Comments

@lukewilson2002
Copy link

Motivation
There is a pinned_at property but not an archived_at to sort channels in the ChannelList by whether they have been archived. Currently I believe the only way to achieve this without forking, would be to build a custom channel list component.

Type in question: ChannelSort<DefaultGenerics>

Proposed solution
Add archived_at to channel sorting options.

See this documentation that suggests pinned_at and archived_at are very similar in proposed use, except that channels cannot be sorted by when they were archived:

https://getstream.io/chat/docs/sdk/react-native/guides/channel-pinning-and-archiving/#filtering-channels

@lukewilson2002 lukewilson2002 added the feature New capability label Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New capability
Projects
None yet
Development

No branches or pull requests

1 participant