zulip/zulip

Don't immediately expand topics in left sidebar when viewing list of topics

Open

#35197 opened on Jul 9, 2025

View on GitHub
 (41 comments) (0 reactions) (0 assignees)Python (19,672 stars) (7,339 forks)batch import
area: left sidebar (logic & sorting)help wantedpriority: high

Description

For users with the "List of topics" setting for the Channel links in the left sidebar go to setting, we should experiment with the following rules for how navigation works in the left sidebar.

If you are not currently viewing the channel or a topic in it:

  1. First click on channel in left sidebar puts topic list in middle pane and does not expand topics for the channel. The buttons that are normally shown on the selected channel (+, three-dot menu) should be shown in this state.
  2. Second click on channel in left sidebar expands topics.
  3. Third click collapses topics.
  4. Subsequent clicks continue to toggle expand vs. collapse.

If you are currently viewing a topic in the channel:

  1. First click on channel in left sidebar puts topic list in middle pane. It doesn't collapse the channel in the left sidebar.
  2. Second click collapses topics.
  3. Subsequent clicks continue to toggle expand vs. collapse.

CZO thread: #feedback > channels links go to top unread topic? @ 💬

Contributor guide