# 类别视图字段中的主题总数应可点击以打开该类别

**URL:** <https://meta.discourse.org/t/total-number-of-topics-in-categorys-view-field-should-be-clickable-to-open-that-category/161901>\
**Category:** UX\
**Created:** [2020年八月24日 11:50 UTC](https://meta.discourse.org/t/total-number-of-topics-in-categorys-view-field-should-be-clickable-to-open-that-category/161901 "2020-08-24T11:50:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![arnie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arnie/32/171412_2.png) [@arnie](https://meta.discourse.org/u/arnie)\
**Post date:** [2020年八月24日 11:50 UTC](https://meta.discourse.org/t/total-number-of-topics-in-categorys-view-field-should-be-clickable-to-open-that-category/161901/1 "2020-08-24T11:50:40Z")

</div>

我想为分类视图提出一项 UX 功能建议。许多用户使用移动设备浏览我们的论坛。新的论坛更倾向于将“分类视图”设为首页的默认视图，而不是“最新”（我们的论坛目前是这样设置的）。现在，在移动界面中，每个分类下会显示一个分组的主题列表，并在底部显示该分类的主题总数。大多数用户在浏览论坛时，会直接点击底部的主题总数来查看该分类下的所有主题，而不会注意到点击分类标题也可以进入该分类。能否添加一项功能：当用户点击分类组底部的主题总数字段时，直接打开该分类？再次强调，我们的用户并不知道点击名称是进入分类的方式。能否也将其添加为打开分类的一种方式？

 ![clickOnNumberOfCategories](https://global.discourse-cdn.com/meta/original/3X/e/4/e4695b17fa2e4aeddf11832615fb94535cad85f3.gif)

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2020年八月25日 00:31 UTC](https://meta.discourse.org/t/total-number-of-topics-in-categorys-view-field-should-be-clickable-to-open-that-category/161901/2 "2020-08-25T00:31:57Z")

</div>

好的，好主意！我可以支持让那个计数可点击，我看不到任何缺点……你明天能分配一下吗 @eviltrout？

---

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [2020年八月26日 22:56 UTC](https://meta.discourse.org/t/total-number-of-topics-in-categorys-view-field-should-be-clickable-to-open-that-category/161901/5 "2020-08-26T22:56:39Z")

</div>

好的，来了：

> <https://github.com/discourse/discourse/pull/10541>
>
> https://meta.discourse.org/t/total-number-of-topics-in-categorys-view-field-shou…ld-be-clickable-to-open-that-category/161901
> 
> Minor HTML changes. Had to introduce an extra CSS class to keep the existing color of the link, which was previously inherited from the root element.

---

<div class="post-metadata">

**Author:** ![arnie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arnie/32/171412_2.png) [@arnie](https://meta.discourse.org/u/arnie)\
**Post date:** [2020年八月27日 01:08 UTC](https://meta.discourse.org/t/total-number-of-topics-in-categorys-view-field-should-be-clickable-to-open-that-category/161901/7 "2020-08-27T01:08:35Z")

</div>

感谢大家 👍😊

---

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [2020年八月27日 08:50 UTC](https://meta.discourse.org/t/total-number-of-topics-in-categorys-view-field-should-be-clickable-to-open-that-category/161901/8 "2020-08-27T08:50:32Z")

</div>


