Discourse 在提及中提供全名

这是朝着 Full name @mentions 迈出的一个实验

:information_source: 摘要 为已渲染的 HTML 中的提及提供全名
:hammer_and_wrench: 仓库链接 GitHub - thoka/discourse-provide-full-name-in-mentions
:open_book: 安装指南 如何在 Discourse 中安装插件

特性

此插件将全名添加到提及(用户和群组)中,作为数据属性,允许组件使用/显示全名而无需进一步请求。

目前,我们将其与 GitHub - thoka/discourse-show-name-mentions: A discourse theme component to display the full name instead of usernames in @mentions 一起使用,但 仅 CSS 解决方案 也应该有效。

注意:由于全名缓存在已渲染的内容中,因此在重新烘焙之前,更改的全名将不会显示。

配置

无需配置。您需要重新烘焙才能为旧帖子包含数据。

待办事项

  • 监视用户和群组名称更改并重新烘焙受影响的帖子。
9 个赞