preferences: Update inactive channels preference setting for new UI.

"Hide" is a better verb with the channel folders UI.

Also automatically hide inactive channels at 20+ susbscribed channels,
as we have more content in the left sidebar now.
This commit is contained in:
Alya Abbott
2025-07-28 14:52:39 -07:00
committed by Tim Abbott
parent 3e661bee9b
commit 641a436b44
7 changed files with 75 additions and 27 deletions

View File

@@ -58,5 +58,5 @@ section above channel folders.
* [Introduction to channels](/help/introduction-to-channels)
* [Pin a channel](/help/pin-a-channel)
* [Mute or unmute a channel](/help/mute-a-channel)
* [Manage inactive channels](/help/manage-inactive-channels)
* [Hide or reveal inactive channels](/help/manage-inactive-channels)
* [Manage user groups](/help/manage-user-groups)

View File

@@ -0,0 +1,13 @@
{start_tabs}
{tab|desktop-web}
1. Type the name of the channel you are looking for in the **Filter channels**
box below the **direct messages** section in the left sidebar.
!!! keyboard_tip ""
You can also use the <kbd>Q</kbd> keyboard shortcut to start searching for
a channel.
{end_tabs}

View File

@@ -147,7 +147,7 @@
* [Pin a channel](/help/pin-a-channel)
* [Change the color of a channel](/help/change-the-color-of-a-channel)
* [Unsubscribe from a channel](/help/unsubscribe-from-a-channel)
* [Show or hide inactive channels](/help/manage-inactive-channels)
* [Hide or reveal inactive channels](/help/manage-inactive-channels)
* [Move content to another channel](/help/move-content-to-another-channel)
* [View channel information](/help/view-channel-information)
* [View channel subscribers](/help/view-channel-subscribers)

View File

@@ -1,25 +1,60 @@
# Manage inactive channels
# Hide or reveal inactive channels
In normal Zulip usage, channels fall in and out of use. By default, Zulip
automatically moves channels that haven't been used in a while to the
**Inactive** section at the bottom of your channels list in the left sidebar.
This helps prevent low-traffic channels from cluttering the left sidebar.
To avoid clutter in the [left sidebar](/help/left-sidebar), Zulip automatically
hides channels with no recent messages if you're subscribed to 20+ channels. You
can [configure](#configure-hiding-inactive-channels) Zulip to show or hide
inactive channels regardless of how many you're subscribed to.
You can configure Zulip to move (demote) inactive channels more or less
aggressively. This is an advanced setting; you can safely ignore it if this
is your first time using Zulip.
It's easy to [reveal](#reveal-inactive-channels) or [find]() hidden inactive
channels if you need to access them.
### Manage inactive channels
## Reveal inactive channels
{start_tabs}
{settings_tab|preferences}
{tab|desktop-web}
1. Under **Information**, configure **Demote inactive channels**.
1. In the left sidebar, scroll to the bottom of the list of channels in the
[folder](/help/channel-folders) you're viewing.
1. Click **inactive channels** to reveal inactive channels. If you don't see
this button, there are no inactive channels, or they are already revealed.
{end_tabs}
The default is **Automatic**, which demotes inactive channels once you're
subscribed to a minimum total number of channels. **Always** and **Never**
either demote or don't demote inactive channels regardless of how many
channels you have.
## Hide inactive channels
{start_tabs}
{tab|desktop-web}
1. In the left sidebar, scroll to the bottom of the list of channels in the
[folder](/help/channel-folders) you're viewing.
1. Click **hide inactive channels**. If you don't see this button, there are no
inactive channels, or they are already hidden.
{end_tabs}
## Find inactive channels
{!filter-channels.md!}
## Configure hiding inactive channels
{start_tabs}
{tab|desktop-web}
{settings_tab|preferences}
1. Under **Information**, configure **Hide inactive channels**.
{end_tabs}
## Related articles
* [Introduction to channels](/help/introduction-to-channels)
* [Pin a channel](/help/pin-a-channel)
* [Mute or unmute a channel](/help/mute-a-channel)
* [Channel folders](/help/channel-folders)

View File

@@ -71,7 +71,7 @@ export function set_filter_out_inactives(): void {
user_settings.demote_inactive_streams ===
settings_config.demote_inactive_streams_values.automatic.code
) {
filter_out_inactives = stream_data.num_subscribed_subs() >= 30;
filter_out_inactives = stream_data.num_subscribed_subs() >= 20;
} else if (
user_settings.demote_inactive_streams ===
settings_config.demote_inactive_streams_values.always.code

View File

@@ -99,7 +99,7 @@
prefix=prefix}}
<div class="input-group">
<label for="{{prefix}}demote_inactive_streams" class="settings-field-label">{{t "Demote inactive channels" }}
<label for="{{prefix}}demote_inactive_streams" class="settings-field-label">{{t "Hide inactive channels" }}
{{> ../help_link_widget link="/help/manage-inactive-channels" }}
</label>
<select name="demote_inactive_streams" class="setting_demote_inactive_streams prop-element settings_select bootstrap-focus-style" id="{{prefix}}demote_inactive_streams" data-setting-widget-type="number">

View File

@@ -13812,7 +13812,7 @@ paths:
example: "google"
demote_inactive_streams:
description: |
Whether to [demote inactive channels](/help/manage-inactive-channels) in the left sidebar.
Whether to [hide inactive channels](/help/manage-inactive-channels) in the left sidebar.
- 1 - Automatic
- 2 - Always
@@ -17336,7 +17336,7 @@ paths:
demote_inactive_streams:
type: integer
description: |
Whether to [demote inactive channels](/help/manage-inactive-channels) in the left sidebar.
Whether to [hide inactive channels](/help/manage-inactive-channels) in the left sidebar.
- 1 - Automatic
- 2 - Always
@@ -18172,7 +18172,7 @@ paths:
and only for clients that did not include `user_settings_object` in
their [`client_capabilities`][capabilities] when registering the event queue.
Whether the user has chosen to demote inactive channels.
Whether the user has chosen to hide inactive channels.
See [PATCH /settings](/api/update-settings) for details on
the meaning of this setting.
@@ -20230,7 +20230,7 @@ paths:
demote_inactive_streams:
type: integer
description: |
Whether to [demote inactive channels](/help/manage-inactive-channels) in the left sidebar.
Whether to [hide inactive channels](/help/manage-inactive-channels) in the left sidebar.
- 1 - Automatic
- 2 - Always
@@ -21479,7 +21479,7 @@ paths:
example: "google"
demote_inactive_streams:
description: |
Whether to [demote inactive channels](/help/manage-inactive-channels) in the left sidebar.
Whether to [hide inactive channels](/help/manage-inactive-channels) in the left sidebar.
- 1 - Automatic
- 2 - Always
@@ -25054,8 +25054,8 @@ components:
type: boolean
description: |
Whether the channel has recent message activity. Clients should use this to implement
[sorting inactive channels to the bottom](/help/manage-inactive-channels)
if `demote_inactive_streams` is enabled.
[hide inactive channels](/help/manage-inactive-channels) if
`demote_inactive_streams` is enabled.
**Changes**: New in Zulip 10.0 (feature level 323). Previously, clients implemented the
demote_inactive_streams from local message history, resulting in a choppy loading
@@ -26192,7 +26192,7 @@ components:
type: boolean
description: |
Whether the channel has recent message activity. Clients should use this to implement
[sorting inactive channels to the bottom](/help/manage-inactive-channels).
[hiding inactive channels](/help/manage-inactive-channels).
**Changes**: New in Zulip 10.0 (feature level 323). Previously, clients implemented the
demote_inactive_streams from local message history, resulting in a choppy loading