评论 - 为您的社区添加类似 Discord 的语音房间 🎙

本周新增了一些功能

徽章 (Badges)

添加了一个基本的徽章系统,包括即时徽章和周期性徽章

AFK 检测

image

离开(AFK)的用户将被标记,并最终被移出房间。AFK 用户的样式已在房间参与者列表中体现。

按住说话 (Push to Talk)

如上所述,现在支持按住说话。由于平台限制,这仅在浏览器处于焦点时有效。在标签页未聚焦时使用 PTT 需要一个浏览器扩展程序,这可能会在未来实现。

舞台房间 (Stage rooms)

支持只有部分用户可以发言的房间,版主可以授予/收回发言权限。

分析 (Analytics)

discourse_development-# \d resenha_sessions
                                          Table "public.resenha_sessions"
   Column   |              Type              | Collation | Nullable |                   Default
------------+--------------------------------+-----------+----------+----------------------------------------------
 id         | bigint                         |           | not null | nextval('resenha_sessions_id_seq'::regclass)
 user_id    | bigint                         |           | not null |
 room_id    | bigint                         |           | not null |
 joined_at  | timestamp(6) without time zone |           | not null |
 left_at    | timestamp(6) without time zone |           |          |
 created_at | timestamp(6) without time zone |           | not null |
 updated_at | timestamp(6) without time zone |           | not null |

discourse_development-# \d resenha_co_presences
                                           Table "public.resenha_co_presences"
    Column     |              Type              | Collation | Nullable |                     Default
---------------+--------------------------------+-----------+----------+--------------------------------------------------
 id            | bigint                         |           | not null | nextval('resenha_co_presences_id_seq'::regclass)
 user_id_1     | integer                        |           | not null |
 user_id_2     | integer                        |           | not null |
 date          | date                           |           | not null |
 total_seconds | integer                        |           | not null | 0
 session_count | integer                        |           | not null | 0
 created_at    | timestamp(6) without time zone |           | not null |
 updated_at    | timestamp(6) without time zone |           | not null |

添加了基本的分析功能,用于记录使用情况和共同在场情况,这是其他功能的基础。

用户状态 (User status)

image

加入房间会自动使用 Discourse 的原生支持来设置用户状态。

管理员仪表板 (Admin Dashboard)

一目了然地查看您的站点上有多少 Resenha 内容,以及哪些是热门用户和热门房间。

语音活动指示器 (Voice activity indicator)

修复了自我语音活动闪烁的问题

14 个赞