レビュー - コミュニティにDiscordスタイルのボイスルームを追加する方法 🎙

今週、いくつかの新機能が追加されました

バッジ

インスタントバッジと期間バッジの両方を含む基本的なバッジシステムを追加しました

AFK検出

image

AFKになったユーザーはマークされ、最終的にルームから削除されます。AFKユーザーはルーム参加者リストでスタイルが設定されます

プッシュ・トゥ・トーク

上記で要望があったように、プッシュ・トゥ・トークがサポートされました。プラットフォームの制限により、ブラウザがフォーカスされている場合にのみ機能します。タブがフォーカスされていないときにpttを使用するにはブラウザ拡張機能が必要であり、将来的に対応する可能性があります。

ステージルーム

一部のユーザーのみが話すことができるルームのサポート。モデレーターは発言権を付与/剥奪できます。

分析

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 |

使用状況と同時存在を記録するための基本的な分析を追加しました。これは他の機能の基礎となります。

ユーザーの状態

image

ルームに参加すると、Discourseのネイティブサポートを使用して自動的にユーザーの状態が設定されます。

管理ダッシュボード

サイトでのResenhaの使用状況、トップユーザー、トップルームを一目で確認できます。

音声アクティビティインジケーター

自己の音声アクティビティのちらつきを修正しました

「いいね!」 17