# 侧边栏的“标签”部分即使在列表为空时也应显示“所有标签”链接

**URL:** <https://meta.discourse.org/t/the-tags-section-from-the-sidebar-should-show-the-all-tags-link-even-when-the-list-is-empty/265894>\
**Category:** UX\
**Tags:** sidebar, tags\
**Created:** [2023年五月23日 09:06 UTC](https://meta.discourse.org/t/the-tags-section-from-the-sidebar-should-show-the-all-tags-link-even-when-the-list-is-empty/265894 "2023-05-23T09:06:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [2023年五月23日 09:06 UTC](https://meta.discourse.org/t/the-tags-section-from-the-sidebar-should-show-the-all-tags-link-even-when-the-list-is-empty/265894/1 "2023-05-23T09:06:00Z")

</div>

截图比文字更能说明问题：

- “标签”部分有标签，“所有标签”链接存在：  

- “标签”部分没有标签，“所有标签”链接消失（据我所知，没有其他链接可以转到 `/tags`）：  
 ![image](https://global.discourse-cdn.com/meta/original/4X/9/4/6/9465116a4970c4042e43130eed95a68c3fd04f97.png)

我明白这是一个极端情况 🙂

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2023年五月23日 12:42 UTC](https://meta.discourse.org/t/the-tags-section-from-the-sidebar-should-show-the-all-tags-link-even-when-the-list-is-empty/265894/2 "2023-05-23T12:42:29Z")

</div>

我认为这是一个功能。如果没有标签，为什么还要浪费空间链接到它们？

---

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [2023年五月23日 12:48 UTC](https://meta.discourse.org/t/the-tags-section-from-the-sidebar-should-show-the-all-tags-link-even-when-the-list-is-empty/265894/3 "2023-05-23T12:48:15Z")

</div>

我们可以拥有现有的标签（我的措辞不是最好的），但我们也可能因为任何原因不想在侧边栏上显示某些标签。如果我们这样做，我们就没有任何其他链接指向 `/tags`。

---

<div class="post-metadata">

**Author:** ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
**Post date:** [2023年五月25日 20:39 UTC](https://meta.discourse.org/t/the-tags-section-from-the-sidebar-should-show-the-all-tags-link-even-when-the-list-is-empty/265894/5 "2023-05-25T20:39:44Z")

</div>

对我来说，这不是一个极端情况。  
我访问的一个论坛（我认为是由 discourse 托管的）直到昨天还在使用旧菜单。今天显示了新菜单。但由于没有人添加任何默认设置，它看起来是这样的

 ![_20230525_215656](https://global.discourse-cdn.com/meta/original/4X/f/c/1/fc1ceffb199af098e7d30e9cab26fe918d340c0d.jpeg)  
用户缺少导航到 /categories 或选择一个类别的选项，就像他们可以使用汉堡菜单一样。很难注意到你的设置中有一个新标签页，你可以在其中自行配置此菜单。  
如果显示了“类别”和“标签”部分，菜单中就会有一个导航到 /categories 和 /tags 的选项。铅笔图标也会显示，因此更容易探索新设置。

---

<div class="post-metadata">

**Author:** ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)\
**Post date:** [2023年五月25日 23:06 UTC](https://meta.discourse.org/t/the-tags-section-from-the-sidebar-should-show-the-all-tags-link-even-when-the-list-is-empty/265894/6 "2023-05-25T23:06:25Z")

</div>

我认为该论坛的管理员尚未在管理员设置中配置“默认侧边栏类别”和“默认侧边栏标签”。然后，用户应该能够在其首选项侧边栏部分中配置自己的侧边栏类别。

---

<div class="post-metadata">

**Author:** ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
**Post date:** [2023年五月30日 22:16 UTC](https://meta.discourse.org/t/the-tags-section-from-the-sidebar-should-show-the-all-tags-link-even-when-the-list-is-empty/265894/7 "2023-05-30T22:16:54Z")

</div>

作为用户，您也可以在管理员选择默认设置之前更改您的设置。但因此，您必须注意到有新设置。由于您不会收到“有软件更新，菜单设计已更改，您可以在您的[设置](https://meta.discourse.org/my/preferences/sidebar)中个性化菜单”之类的通知。

因此，每个人都认为菜单中几乎所有链接都消失是 Discourse 的一个错误。

这就是为什么我认为一个显示个性化部分选项的默认设置比一个空菜单更好的默认设置。

---

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [2023年六月15日 06:19 UTC](https://meta.discourse.org/t/the-tags-section-from-the-sidebar-should-show-the-all-tags-link-even-when-the-list-is-empty/265894/8 "2023-06-15T06:19:17Z")

</div>

理想情况下，如果没有设置标签，它应该链接到“标签”页面。

我个人不希望为本节优先考虑任何标签，因为我的标签重要性相当，而且我也不希望这里出现大量标签。因此，链接到“标签”页面会更有用。
