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

Demote inactive channels in channel-list screen #1101

Open
gnprice opened this issue Dec 4, 2024 · 0 comments
Open

Demote inactive channels in channel-list screen #1101

gnprice opened this issue Dec 4, 2024 · 0 comments
Labels
a-home The home screens of the app; finding and starting conversations server-10 Things new in Zulip Server 10.0

Comments

@gnprice
Copy link
Member

gnprice commented Dec 4, 2024

The page listing the channels you're subscribed to (SubscriptionListPage) corresponds to the web app's left sidebar. Like the web left sidebar, it puts pinned channels before non-pinned channels. Unlike the web left sidebar, it doesn't currently have a concept of "inactive" channels. The sections in the list are currently Pinned, Unpinned. They should become Pinned, Active, Inactive.

Implementation details

  • A user setting demote_inactive_streams controls whether to do this: https://zulip.com/help/manage-inactive-channels , and search in https://zulip.com/api/register-queue .

  • Starting with feature level 323 in Zulip Server 10, stream/channel objects have a field is_inactive_stream which we should use.

    For older servers without that field, we can just skip this feature. By design the mobile app doesn't eagerly download the large volumes of messages that the web app does, which are how the web app has made a reasonable approximation of this feature for all these years before this field was added.

Related issues

@gnprice gnprice added a-home The home screens of the app; finding and starting conversations server-10 Things new in Zulip Server 10.0 labels Dec 4, 2024
@gnprice gnprice added this to the M6: Post-launch milestone Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-home The home screens of the app; finding and starting conversations server-10 Things new in Zulip Server 10.0
Projects
Status: No status
Development

No branches or pull requests

1 participant