zulip/zulip

Improve popover list UI when nothing to show

Closed

#38,927 创建于 2026年4月13日

在 GitHub 查看
 (2 评论) (1 反应) (0 负责人)Python (19,672 star) (7,339 fork)batch import
area: popovers and tooltipshelp wanted

描述

The dropdown_list_container UI is currently appropriate when the user does a search and there are no search results, but isn't customized for the situation where there's nothing to show at all (and there isn't even a search box). We should fix this.

  • When the only thing show is the "no results" string, it should be vertically centered. Currently, e.g., in the "Add a channel" UI when managing a channel folder:

We should also vertically center the string when there is a search box; might need to be a follow-up to #38925.

  • When there are no options at all (rather than just no options matching the search), strings should be specific to their usage.

    • Manage channel folder / Add a channel: "No channels to add"
    • Snippets popover: "No saved snippets"

Please check if there are any other places where this situation can arise.

CZO thread: #design > add a "no matching results" string in snippets search

贡献者指南