关注类别按钮

:discourse2: 摘要 关注分类按钮将分类页面上的铃铛图标替换为用户直观的“关注”按钮
:eyeglasses: 预览 在 Discourse 主题创建器上预览
:hammer_and_wrench: 仓库 \u003chttps://github.com/discourse/discourse-follow-category\u003e
:question: 安装指南 如何安装主题或主题组件
:open_book: 初次使用 Discourse 主题? Discourse 主题使用入门指南

\u003c!-- 自动安装按钮的“repoName”和“repoURL” –\u003e

安装此主题组件

它有什么作用?

关注分类按钮主题组件将分类页面上的传统铃铛图标替换为更直观的“关注”按钮。
它的工作原理如下:

为什么使用它?

该组件旨在通过使其更容易、更用户友好地通过单击按钮来关注重要讨论,并优化合理的默认设置,从而改善用户与分类的交互。

设置

翻译 默认值
follow_category_button_title Follow
category_options.notifications.title change notification level for this category
category_options.notifications.watching.label Following
category_options.notifications.watching.title Watching
category_options.notifications.watching.description You will automatically watch all topics in this category. You will be notified of every new post in every topic, and a count of new replies will be shown.
category_options.notifications.watching_first_post.label Following
category_options.notifications.watching_first_post.title Watching First Post
category_options.notifications.watching_first_post.description You will be notified of new topics in this category but not replies to the topics.
category_options.notifications.tracking.label Following
category_options.notifications.tracking.title Tracking
category_options.notifications.tracking.description You will automatically track all topics in this category. You will be notified if someone mentions your @name or replies to you, and a count of new replies will be shown.
category_options.notifications.regular.label Follow
category_options.notifications.regular.title Normal
category_options.notifications.regular.description You will be notified if someone mentions your @name or replies to you.
category_options.notifications.muted.label Muted
category_options.notifications.muted.title Muted
category_options.notifications.muted.description You will never be notified of anything about new topics in this category, and they will not appear in latest.

\u003cbr\u003e

\u003e:discourse2: 由我们托管? 标准、商务和企业套餐均可使用主题组件。

17 个赞

这与用户自定义信息流完美配合。
就像您只显示您订阅的类别中的帖子作为主页信息流一样。

2 个赞

也可以为标签执行此操作吗?

2 个赞

请在分类页面添加关注按钮。这有助于用户快速关注某个分类,类似于社交网络的功能。

1 个赞

你已经看到这个了吗

6 个赞

谢谢,我等了很久了^^很高兴discouse总能更新实用的功能并听取大家的意见。

3 个赞

对我来说(如果我没看过这篇帖子的话),这个“关注”按钮令人困惑。

我认为如果按钮文本也提及点击它会关注什么内容,会更清晰——更像是

关注此类别关注 XYZ 类别 或仅 关注 XYZ

或者,按钮文本可以在设置中配置。

4 个赞

它可以。您可以在主题翻译部分更改所有字符串

6 个赞

我没有看到主题翻译下拉菜单,3.2.2 稳定版没有这个功能吗?

2 个赞

可能不是。我认为它是在三月份添加的。

4 个赞

目前,此组件和 Discourse 的按钮同时可见。我认为其中一个就足够了,不必同时显示 :smirking_face:

2 个赞

是的,我也是。如果组件处于活动状态,则应隐藏标准的 Discourse 按钮。

1 个赞

我们可以为官方主题组件提交翻译吗?

在 Crowdin 上找不到,还是它有不同的名称?

1 个赞

您好,似乎无法选择“正常”通知状态,这是设计如此吗?选择正常时,我会恢复到“跟踪第一个帖子”。

在预览版中测试此 TC 时,按钮无法正常工作,并且我看到了控制台日志错误: