Skip to content

feat (gql-server): Add breakout room participant activity tracking - #24233

Merged
gustavotrott merged 15 commits into
bigbluebutton:v3.0.x-releasefrom
gustavotrott:breakout-room-activities
Jan 13, 2026
Merged

gustavotrott merged 15 commits into
bigbluebutton:v3.0.x-releasefrom
gustavotrott:breakout-room-activities

Conversation

@gustavotrott

@gustavotrott gustavotrott commented Nov 13, 2025 •

Copy link
Copy Markdown
Contributor

Introduce a new GraphQL type breakoutRoom_participant.activities,
which tracks all user activities that occur inside breakout rooms.

The type supports filtering by activityName, allowing queries for specific actions such as chat-message, shared-notes, whiteboard-annotation, raise-hand, reaction, camera-shared, talking, poll-created, or poll-response.

Activity counts are grouped by minute using the bucketTime field, enabling time-based tracking of user engagement and trends.

subscription {
  breakoutRoom_participant {
    user {
      name
    }
    activities(order_by: {bucketTime: asc, activityName: asc}) {
      activityName
      breakoutRoomMeetingId
      bucketTime
      count
    }
  }
}

Demo:

Screencast.from.2025-11-13.17-14-02.mp4

Or track per room:

subscription {
  breakoutRoom {
    activities {
      activityName
      bucketTime
      total
    }
  }
}

Depend on: #24228

@gustavotrott gustavotrott added this to the Release 3.0 milestone Nov 13, 2025
@coderabbitai

This comment was marked as off-topic.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🧹 Nitpick comments (4)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/UserActivityDAO/scala.scala (1)

15-19: Define a proper composite primary key instead of multiple O.PrimaryKey flags.

You’re marking each column as O.PrimaryKey, which isn’t the usual way to define a composite PK and can be misleading. Prefer an explicit primary key:

class UserActivityDbTableDef(tag: Tag)
  extends Table[UserActivityDbModel](tag, "user_activity") {

  val meetingId    = column[String]("meetingId")
  val userId       = column[String]("userId")
  val bucketTime   = column[java.sql.Timestamp]("bucketTime")
  val activityName = column[String]("activityName")
  val count        = column[Int]("count")

  def pk = primaryKey("pk_user_activity", (meetingId, userId, bucketTime, activityName))

  override def * = (meetingId, userId, bucketTime, activityName, count) <> (UserActivityDbModel.tupled, UserActivityDbModel.unapply)
}

This keeps the Slick mapping aligned with the underlying uniqueness/ON CONFLICT key.

akka-bbb-apps/src/main/scala/org/bigbluebutton/endpoint/redis/LearningDashboardActor.scala (2)

213-225: Align the user ID used for activity logging with the one used to look up the user.

Several handlers look up the User using msg.body.userId / msg.body.intId but log activity with msg.header.userId:

  • handleUserRaiseHandChangedEvtMsg
  • handleUserReactionEmojiChangedEvtMsg
  • handleUserBroadcastCamStartedEvtMsg
  • handleUserTalkingVoiceEvtMsg

In others you already pass the same ID you used for lookup (e.g. chat, shared notes, whiteboard, poll response, screenshare).

To avoid subtle mismatches if header/body semantics diverge, and to make the intent clearer, it would be safer and simpler to always pass the same ID you used to retrieve the User. For example:

- UserActivityDAO.insert(msg.header.meetingId, msg.header.userId, "raise-hand")
+ UserActivityDAO.insert(msg.header.meetingId, msg.body.userId, "raise-hand")

- UserActivityDAO.insert(msg.header.meetingId, msg.header.userId, "reaction")
+ UserActivityDAO.insert(msg.header.meetingId, msg.body.userId, "reaction")

- UserActivityDAO.insert(msg.header.meetingId, msg.header.userId, "camera-shared")
+ UserActivityDAO.insert(msg.header.meetingId, msg.body.userId, "camera-shared")

- UserActivityDAO.insert(msg.header.meetingId, msg.header.userId, "talking")
+ UserActivityDAO.insert(msg.header.meetingId, msg.body.intId, "talking")

Even if header/body are identical today, this keeps analytics aligned with the actual user you’re mutating in this actor.

Also applies to: 229-241, 245-256, 447-459, 489-507, 523-534, 594-605, 624-642, 693-714, 718-726


213-225: Consider honoring learningDashboardDisabled when persisting activity events.

Right now UserActivityDAO.insert is called for all eligible events (chat-message, shared-notes, whiteboard-annotation, raise-hand, reaction, camera-shared, talking, poll-created, poll-response, screenshare), regardless of meeting.learningDashboardDisabled. learningDashboardDisabled only suppresses report emission.

If the intent of that flag is “no learning analytics at all for this meeting” (for privacy/compliance), you may also want to gate the insert calls on the same flag to avoid writing rows into user_activity for disabled meetings.

If the intent is “collect but don’t display”, the current behavior is fine; just worth confirming with product/requirements.

Also applies to: 229-241, 245-256, 447-459, 489-507, 523-534, 594-605, 624-642, 693-714, 718-726

bigbluebutton-html5/imports/ui/Types/meeting.ts (1)

68-79: LGTM! Consistent naming improvement.

The rename from parentId to parentMeetingId improves clarity and aligns with the broader refactoring.

Note: The BreakoutPolicies interface appears to be duplicated between this file and meetingStaticData.ts. Consider consolidating into a shared type definition to reduce maintenance burden.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8fde8b1 and 4349485.

📒 Files selected for processing (53)
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/breakout/BreakoutHdlrHelpers.scala (1 hunks)
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/breakout/BreakoutRoomUsersUpdateMsgHdlr.scala (2 hunks)
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/breakout/ChangeUserBreakoutReqMsgHdlr.scala (1 hunks)
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/breakout/CreateBreakoutRoomsCmdMsgHdlr.scala (1 hunks)
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/breakout/EndAllBreakoutRoomsMsgHdlr.scala (1 hunks)
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/users/EjectUserFromMeetingCmdMsgHdlr.scala (1 hunks)
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/BreakoutRoomDAO.scala (5 hunks)
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/BreakoutRoomUserDAO.scala (3 hunks)
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/MeetingBreakoutRoomPropsDAO.scala (3 hunks)
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/MeetingDAO.scala (1 hunks)
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/UserActivityDAO/scala.scala (1 hunks)
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/UserBreakoutRoomDAO.scala (0 hunks)
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/domain/BreakoutRoom2x.scala (1 hunks)
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/models/RegisteredUsers.scala (0 hunks)
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/running/HandlerHelpers.scala (1 hunks)
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/endpoint/redis/LearningDashboardActor.scala (20 hunks)
  • bbb-graphql-actions/src/actions/breakoutRoomMoveUser.ts (2 hunks)
  • bbb-graphql-actions/src/actions/breakoutRoomRequestJoinUrl.ts (2 hunks)
  • bbb-graphql-server/bbb-graphql-schema.md (5 hunks)
  • bbb-graphql-server/bbb_schema.sql (11 hunks)
  • bbb-graphql-server/metadata/actions.graphql (1 hunks)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom.yaml (3 hunks)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom_assignedUser.yaml (1 hunks)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom_createdLatest.yaml (2 hunks)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom_lastJoinedRoom.yaml (2 hunks)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom_participant.yaml (1 hunks)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom_user.yaml (1 hunks)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutroom_user_activity.yaml (1 hunks)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_meeting_breakoutPolicies.yaml (2 hunks)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_user.yaml (1 hunks)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_user_breakoutRoom_lastAssignedRoom.yaml (1 hunks)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_user_breakoutRoom_lastJoinedRoom.yaml (1 hunks)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_user_current.yaml (2 hunks)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_user_current_breakoutRoom_lastAssignedRoom.yaml (1 hunks)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_user_current_breakoutRoom_lastJoinedRoom.yaml (1 hunks)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/tables.yaml (2 hunks)
  • bbb-graphql-server/metadata/query_collections.yaml (1 hunks)
  • bigbluebutton-html5/imports/ui/Types/meeting.ts (1 hunks)
  • bigbluebutton-html5/imports/ui/Types/meetingStaticData.ts (1 hunks)
  • bigbluebutton-html5/imports/ui/Types/user.ts (1 hunks)
  • bigbluebutton-html5/imports/ui/components/audio/audio-graphql/audio-controls/input-stream-live-selector/service.ts (1 hunks)
  • bigbluebutton-html5/imports/ui/components/audio/service.js (1 hunks)
  • bigbluebutton-html5/imports/ui/components/breakout-join-confirmation/breakout-join-confirmation-graphql/component.tsx (6 hunks)
  • bigbluebutton-html5/imports/ui/components/breakout-join-confirmation/breakout-join-confirmation-graphql/queries.ts (2 hunks)
  • bigbluebutton-html5/imports/ui/components/breakout-room/breakout-room/component.tsx (6 hunks)
  • bigbluebutton-html5/imports/ui/components/breakout-room/breakout-room/queries.ts (2 hunks)
  • bigbluebutton-html5/imports/ui/components/breakout-room/create-breakout-room/component.tsx (1 hunks)
  • bigbluebutton-html5/imports/ui/components/breakout-room/create-breakout-room/queries.ts (4 hunks)
  • bigbluebutton-html5/imports/ui/components/breakout-room/create-breakout-room/room-managment-state/component.tsx (1 hunks)
  • bigbluebutton-html5/imports/ui/components/breakout-room/mutations.ts (2 hunks)
  • bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-participants/list-item/component.tsx (2 hunks)
  • bigbluebutton-html5/imports/ui/core/graphql/queries/currentUserSubscription.ts (1 hunks)
  • bigbluebutton-html5/imports/ui/core/graphql/queries/users.ts (1 hunks)
💤 Files with no reviewable changes (2)
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/models/RegisteredUsers.scala
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/UserBreakoutRoomDAO.scala
🧰 Additional context used
🧠 Learnings (2)
📚 Learning: 2024-10-10T12:15:03.265Z
Learnt from: jaapjansma
Repo: bigbluebutton/bigbluebutton PR: 21204
File: bbb-common-web/src/main/scala/org/bigbluebutton/api2/meeting/MeetingsManagerActor.scala:21-21
Timestamp: 2024-10-10T12:15:03.265Z
Learning: When reviewing code changes in BigBlueButton, particularly in case classes like `RegisterUser` in `MeetingsManagerActor.scala`, ensure to accurately distinguish between added parameters and replaced parameters to avoid incorrect assessments.

Applied to files:

  • bigbluebutton-html5/imports/ui/Types/user.ts
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom_assignedUser.yaml
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/breakout/BreakoutRoomUsersUpdateMsgHdlr.scala
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom_lastJoinedRoom.yaml
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/breakout/CreateBreakoutRoomsCmdMsgHdlr.scala
  • bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-participants/list-item/component.tsx
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/breakout/ChangeUserBreakoutReqMsgHdlr.scala
  • bigbluebutton-html5/imports/ui/components/breakout-room/create-breakout-room/room-managment-state/component.tsx
  • bigbluebutton-html5/imports/ui/components/breakout-room/create-breakout-room/queries.ts
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/breakout/EndAllBreakoutRoomsMsgHdlr.scala
  • bbb-graphql-actions/src/actions/breakoutRoomMoveUser.ts
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/breakout/BreakoutHdlrHelpers.scala
  • bigbluebutton-html5/imports/ui/core/graphql/queries/users.ts
  • bbb-graphql-server/metadata/actions.graphql
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/UserActivityDAO/scala.scala
  • bigbluebutton-html5/imports/ui/components/breakout-room/mutations.ts
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/MeetingBreakoutRoomPropsDAO.scala
  • bigbluebutton-html5/imports/ui/components/breakout-join-confirmation/breakout-join-confirmation-graphql/component.tsx
  • bigbluebutton-html5/imports/ui/components/breakout-room/create-breakout-room/component.tsx
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/MeetingDAO.scala
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/domain/BreakoutRoom2x.scala
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/users/EjectUserFromMeetingCmdMsgHdlr.scala
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/BreakoutRoomUserDAO.scala
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/running/HandlerHelpers.scala
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/BreakoutRoomDAO.scala
  • bigbluebutton-html5/imports/ui/components/breakout-room/breakout-room/component.tsx
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/endpoint/redis/LearningDashboardActor.scala
📚 Learning: 2025-05-09T14:36:13.418Z
Learnt from: gustavotrott
Repo: bigbluebutton/bigbluebutton PR: 23137
File: bbb-graphql-server/bbb_schema.sql:2022-2027
Timestamp: 2025-05-09T14:36:13.418Z
Learning: User acknowledged that adding an ORDER BY clause to the DISTINCT ON query in v_breakoutRoom_commonProperties view makes sense but deferred implementation since "startedAt" values are mostly the same for all rooms.

Applied to files:

  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom_lastJoinedRoom.yaml
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_user_breakoutRoom_lastJoinedRoom.yaml
  • bbb-graphql-server/bbb_schema.sql
🧬 Code graph analysis (17)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/breakout/BreakoutRoomUsersUpdateMsgHdlr.scala (2)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/BreakoutRoomUserDAO.scala (2)
  • BreakoutRoomUserDAO (30-127)
  • updateUserJoined (59-69)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/models/RegisteredUsers.scala (3)
  • findWithBreakoutRoomId (74-79)
  • RegisteredUsers (11-240)
  • RegisteredUsers (242-259)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/breakout/CreateBreakoutRoomsCmdMsgHdlr.scala (1)
bbb-common-message/src/main/scala/org/bigbluebutton/common2/msgs/BreakoutMsgs.scala (1)
  • BreakoutRoomDetail (40-66)
bigbluebutton-html5/imports/ui/components/audio/audio-graphql/audio-controls/input-stream-live-selector/service.ts (3)
bigbluebutton-html5/imports/ui/components/audio/service.js (5)
  • parentMeetingId (40-40)
  • meetingStaticStore (38-38)
  • isBreakout (39-39)
  • meetingId (41-43)
  • meetingId (88-88)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/MeetingDAO.scala (1)
  • meetingId (43-66)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/MeetingBreakoutRoomPropsDAO.scala (1)
  • meetingId (36-40)
bigbluebutton-html5/imports/ui/components/audio/service.js (2)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/MeetingDAO.scala (1)
  • meetingId (43-66)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/MeetingBreakoutRoomPropsDAO.scala (1)
  • meetingId (36-40)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/breakout/ChangeUserBreakoutReqMsgHdlr.scala (1)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/models/Users2x.scala (1)
  • EjectReasonCode (488-499)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/breakout/EndAllBreakoutRoomsMsgHdlr.scala (2)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/BreakoutRoomDAO.scala (1)
  • BreakoutRoomDAO (52-192)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/NotificationDAO.scala (1)
  • NotificationDAO (34-72)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/breakout/BreakoutHdlrHelpers.scala (1)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/domain/BreakoutRoom2x.scala (1)
  • BreakoutUser (28-28)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/UserActivityDAO/scala.scala (1)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/DatabaseConnection.scala (2)
  • DatabaseConnection (13-89)
  • enqueue (42-45)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/MeetingBreakoutRoomPropsDAO.scala (2)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/MeetingDAO.scala (2)
  • meetingId (43-66)
  • insert (98-164)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/DatabaseConnection.scala (2)
  • DatabaseConnection (13-89)
  • enqueue (42-45)
bigbluebutton-html5/imports/ui/components/breakout-join-confirmation/breakout-join-confirmation-graphql/component.tsx (2)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/BreakoutRoomUserDAO.scala (1)
  • breakoutRoomMeetingId (27-27)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/BreakoutRoomDAO.scala (1)
  • breakoutRoomMeetingId (46-49)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/MeetingDAO.scala (2)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/MeetingBreakoutRoomPropsDAO.scala (3)
  • MeetingBreakoutRoomPropsDAO (43-64)
  • insert (44-63)
  • meetingId (36-40)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/BreakoutRoomDAO.scala (2)
  • insert (53-107)
  • breakoutRoomMeetingId (46-49)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/domain/BreakoutRoom2x.scala (1)
bigbluebutton-html5/imports/ui/components/audio/service.js (1)
  • userId (89-89)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/BreakoutRoomUserDAO.scala (5)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/domain/BreakoutRoom2x.scala (2)
  • BreakoutRoom2x (3-26)
  • BreakoutUser (28-28)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/models/RegisteredUsers.scala (1)
  • RegisteredUser (261-292)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/BreakoutRoomDAO.scala (1)
  • breakoutRoomMeetingId (46-49)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/DatabaseConnection.scala (2)
  • DatabaseConnection (13-89)
  • enqueue (42-45)
bigbluebutton-html5/imports/ui/components/breakout-room/create-breakout-room/queries.ts (1)
  • breakoutRoom (8-19)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/running/HandlerHelpers.scala (1)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/NotificationDAO.scala (1)
  • NotificationDAO (34-72)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/BreakoutRoomDAO.scala (3)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/BreakoutRoomUserDAO.scala (1)
  • breakoutRoomMeetingId (27-27)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/MeetingDAO.scala (2)
  • meetingId (43-66)
  • delete (180-186)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/MeetingBreakoutRoomPropsDAO.scala (1)
  • meetingId (36-40)
bigbluebutton-html5/imports/ui/components/breakout-room/breakout-room/component.tsx (2)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/BreakoutRoomUserDAO.scala (1)
  • breakoutRoomMeetingId (27-27)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/BreakoutRoomDAO.scala (1)
  • breakoutRoomMeetingId (46-49)
akka-bbb-apps/src/main/scala/org/bigbluebutton/endpoint/redis/LearningDashboardActor.scala (2)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/UserActivityDAO/scala.scala (3)
  • UserActivityDAO (24-49)
  • insert (25-48)
  • meetingId (21-21)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core2/message/senders/MsgBuilder.scala (1)
  • buildLearningDashboardEvtMsg (500-508)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: build-package (bbb-html5)
  • GitHub Check: build-package (bbb-graphql-server)
  • GitHub Check: build-package (bbb-apps-akka)
🔇 Additional comments (71)
bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-participants/list-item/component.tsx (1)

136-136: Property rename verified and correctly implemented across types and component.

Both usages at lines 136 and 202 have been consistently updated from currentlyInRoom to isUserCurrentlyInRoom, and the LastBreakoutRoom interface in /imports/ui/Types/user.ts (line 10) has been properly updated with the new property name. The changes are consistent and align with the broader schema refactoring described in the PR objectives.

bbb-graphql-actions/src/actions/breakoutRoomMoveUser.ts (2)

7-13: LGTM! Validation updated correctly.

The input validation now uses the new field naming convention (fromBreakoutRoomMeetingId, toBreakoutRoomMeetingId), which aligns with the broader refactoring described in the PR summary.


28-33: No issue found. The field names are correct.

The backend message class ChangeUserBreakoutReqMsgBody explicitly defines fields as fromBreakoutId and toBreakoutId, and the handler references these exact field names. The GraphQL action properly maps the new input naming convention (fromBreakoutRoomMeetingId, toBreakoutRoomMeetingId) to the backend's expected field names (fromBreakoutId, toBreakoutId). This is a correct and intentional boundary between the new GraphQL layer and the existing backend messaging format.

Likely an incorrect or invalid review comment.

bbb-graphql-actions/src/actions/breakoutRoomRequestJoinUrl.ts (2)

24-28: LGTM! Field mapping is correct.

The body correctly reads from input.breakoutRoomMeetingId (the new GraphQL field name) and maps it to breakoutId in the Redis message. This mapping maintains API clarity on the GraphQL side while preserving backwards compatibility with existing Redis message consumers.


9-9: Verification complete — all callers updated correctly.

The refactoring from breakoutRoomId to breakoutRoomMeetingId is consistent throughout the codebase. The GraphQL schema, mutation definition, and all UI components have been properly updated:

  • GraphQL mutation at bigbluebutton-html5/imports/ui/components/breakout-room/mutations.ts:69-71 correctly uses the new field name
  • UI components in breakout-room/component.tsx and breakout-join-confirmation/component.tsx pass breakoutRoomMeetingId to the action as expected
bigbluebutton-html5/imports/ui/components/audio/service.js (1)

40-42: Refactoring aligns with backend identifier changes—property path verified as correct.

The change from parentId to parentMeetingId is consistent with the backend refactoring and the BreakoutPolicies type definition (confirmed at bigbluebutton-html5/imports/ui/Types/meeting.ts:75). The defensive fallback logic and safe optional chaining pattern (isBreakout && parentMeetingId ? parentMeetingId : Auth.meetingID) are appropriate and prevent issues if the property is missing.

No remaining references to the old parentId naming in breakout-related code were found, confirming the refactoring is complete.

bigbluebutton-html5/imports/ui/components/audio/audio-graphql/audio-controls/input-stream-live-selector/service.ts (1)

79-84: LGTM! Consistent field rename.

The change from parentId to parentMeetingId aligns with the broader refactoring effort to standardize breakout room identifier naming across the codebase. The logic remains unchanged.

akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/breakout/CreateBreakoutRoomsCmdMsgHdlr.scala (1)

94-120: LGTM! Idiomatic Scala case class instantiation.

Using the case class companion object's apply method without the new keyword is the idiomatic Scala style. All arguments remain the same; no behavioral changes.

akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/breakout/EndAllBreakoutRoomsMsgHdlr.scala (1)

7-7: LGTM! Proper import declarations added.

The imports for BreakoutRoomDAO and NotificationDAO are correctly added to match their usage within the file (lines 33, 35).

bbb-graphql-server/metadata/query_collections.yaml (1)

69-69: LGTM! Consistent field rename in query definition.

The rename from parentId to parentMeetingId within the breakoutPolicies section aligns with the schema changes across the codebase.

bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutroom_user_activity.yaml (1)

1-21: LGTM! New activity tracking table properly configured.

The new v_breakoutroom_user_activity view is properly set up with:

  • Appropriate columns for tracking activities (activityName, breakoutRoomMeetingId, bucketTime, count)
  • Correct permission filtering by meetingId
  • Aggregation support enabled for analytics

This implements the core PR objective of tracking user activities in breakout rooms.

bbb-graphql-server/metadata/databases/BigBlueButton/tables/tables.yaml (2)

9-9: LGTM! New activity tracking table included.

The public_v_breakoutroom_user_activity.yaml include properly registers the new activity tracking view.


57-58: LGTM! Breakout room tracking split into assigned vs. joined variants.

The refactoring separates breakout room tracking into distinct "lastAssignedRoom" and "lastJoinedRoom" variants, providing more granular visibility into user-breakout room relationships. This aligns with the broader PR restructuring.

Also applies to: 65-66

bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_meeting_breakoutPolicies.yaml (1)

19-19: LGTM! Permission columns updated consistently.

The rename from parentId to parentMeetingId is properly applied to both bbb_client and bbb_client_not_in_meeting roles, maintaining consistent permissions across the schema.

Also applies to: 35-35

bbb-graphql-server/metadata/actions.graphql (2)

67-71: Breaking API change confirmed: parameter renamed from breakoutRoomId to breakoutRoomMeetingId.

The mutation parameter was renamed for consistency. Verification confirms that clients within this codebase (specifically bigbluebutton-html5/imports/ui/components/breakout-room/mutations.ts and the GraphQL action handler) are already using the new parameter name. No usages of the old parameter remain.


60-65: Breaking API change verified: parameter rename requires release notes and external integration review.

The parameter rename from fromBreakoutRoomId/toBreakoutRoomId to fromBreakoutRoomMeetingId/toBreakoutRoomMeetingId is confirmed. The prior commit (99be433) shows the old parameter names existed, and this change is intentional as evidenced by git history ("first step of refactor", "suggestions from review").

The HTML5 frontend client in bigbluebutton-html5/imports/ui/components/breakout-room/mutations.ts has already been updated to use the new parameter names. No old parameter names remain anywhere in the codebase, indicating this was a coordinated refactor. However, any external GraphQL clients or third-party integrations outside this repository would still need updating and should be documented in release notes. Verify that:

  • Release notes highlight this breaking change clearly
  • External integrations maintained separately have been updated
  • No backwards compatibility layer is needed for this schema change
bbb-graphql-server/bbb-graphql-schema.md (1)

118-119: Breakout-room and relationship field renames look consistent.

The documentation updates for:

  • lastBreakoutRoom / lastBreakoutRoomAssigned pointing to breakoutRoom_user,
  • new breakoutRoomMeetingId field on breakoutRoom_user, breakoutRoom, and breakoutRoom_createdLatest,
  • and the corrected anchors for sharedNotes_session, user_transcriptionError, and user_clientSettings

are coherent with the breakoutRoomMeetingId migration and the metadata changes. No issues from the schema-doc side.

Also applies to: 124-126, 131-131, 234-235, 280-280, 462-462, 892-892

akka-bbb-apps/src/main/scala/org/bigbluebutton/endpoint/redis/LearningDashboardActor.scala (1)

20-34: Meeting flags and sendReport gating are wired correctly.

The new Meeting fields (learningDashboardDisabled, downloadSessionDataEnabled) and the updated handleCreateMeetingReqMsg / sendReport logic behave as expected:

  • learningDashboardDisabled is derived from disabledFeatures and used to short‑circuit report sending.
  • downloadSessionDataEnabled is derived from disabledFeatures for session data, ready for use elsewhere.
  • The MD5 hash + meetingsLastJsonHash guard still prevents duplicate payloads.

The overall flow for constructing, tracking, and reporting meetings remains coherent.

Also applies to: 761-781, 900-918

bigbluebutton-html5/imports/ui/components/breakout-room/breakout-room/queries.ts (1)

3-20: breakoutRoomMeetingId rename is consistent between types and query.

The BreakoutRoom interface and the getBreakoutData subscription both expose breakoutRoomMeetingId, so the client shape matches the GraphQL response. No issues here.

Also applies to: 26-47

bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom_user.yaml (1)

10-23: Hasura permission now exposes breakoutRoomMeetingId as intended.

The bbb_client select permission now includes breakoutRoomMeetingId in the allowed columns while preserving the existing meetingId/userId filter. That matches the GraphQL schema changes for breakoutRoom_user.

bigbluebutton-html5/imports/ui/components/breakout-room/create-breakout-room/room-managment-state/component.tsx (1)

78-87: Room movement now tracks breakoutRoomMeetingId instead of legacy ID.

recordUserMovement now resolves toRoomId/fromRoomId from runningRooms via .breakoutRoomMeetingId, which aligns with the updated GraphQL schema and mutations. The optional chaining retains the previous behavior when rooms aren’t yet loaded.

akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/breakout/ChangeUserBreakoutReqMsgHdlr.scala (1)

34-38: Breakout eject now consistently uses extId.

Switching the match and eject to user.extId:

roomFrom.users
  .filter(u => u.extId == msg.body.userId + "-" + roomFrom.sequence)
  .foreach { user =>
    eventBus.publish(
      BigBlueButtonEvent(
        roomFrom.id,
        EjectUserFromBreakoutInternalMsg(
          meetingId,
          roomFrom.id,
          user.extId,
          msg.header.userId,
          "User moved to another room",
          EjectReasonCode.EJECT_USER,
          false
        )
      )
    )
  }

is consistent with the rest of the PR’s shift to extId-based identification for breakout users. Just be aware this logic now relies on the extId convention (<userId>-<sequence>) staying stable.

bigbluebutton-html5/imports/ui/components/breakout-room/create-breakout-room/component.tsx (1)

380-395: Move-user mutation variables now use from/toBreakoutRoomMeetingId.

userUpdate now calls:

moveUser({
  variables: {
    userId,
    fromBreakoutRoomMeetingId: fromRoomId || '',
    toBreakoutRoomMeetingId: toRoomId || '',
  },
});

which matches the updated mutation signature and the RoomManagmentState tracking of fromRoomId/toRoomId as breakoutRoomMeetingIds.

akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/UserActivityDAO/scala.scala (1)

14-22: Table mapping points at user_metadata while SQL targets user_activity.

UserActivityDbTableDef is mapped to the "user_metadata" table, but UserActivityDAO.insert writes into "user_activity". That mismatch will cause confusion and runtime errors if anything ever uses the Slick table mapping.

If this model is meant for the user_activity table, update the table name (and, if needed, column names) to match the actual schema. If it’s intentionally reusing user_metadata, the case class and raw SQL should be made consistent with that choice.

⛔ Skipped due to learnings
Learnt from: jaapjansma
Repo: bigbluebutton/bigbluebutton PR: 21204
File: bbb-common-web/src/main/scala/org/bigbluebutton/api2/meeting/MeetingsManagerActor.scala:21-21
Timestamp: 2024-10-10T12:15:03.265Z
Learning: When reviewing code changes in BigBlueButton, particularly in case classes like `RegisterUser` in `MeetingsManagerActor.scala`, ensure to accurately distinguish between added parameters and replaced parameters to avoid incorrect assessments.
bigbluebutton-html5/imports/ui/core/graphql/queries/users.ts (1)

57-62: LGTM! Field rename aligns with type definitions.

The rename from currentlyInRoom to isUserCurrentlyInRoom is consistent with the updated LastBreakoutRoom interface and improves clarity.

bigbluebutton-html5/imports/ui/Types/meetingStaticData.ts (1)

44-55: LGTM! Improved naming clarity.

The rename from parentId to parentMeetingId makes the field's purpose clearer and aligns with the consistent naming convention across breakout-related interfaces.

bigbluebutton-html5/imports/ui/Types/user.ts (1)

5-13: LGTM! Improved naming conventions.

Both field renames enhance clarity:

  • breakoutRoomMeetingId clearly indicates it's a meeting identifier
  • isUserCurrentlyInRoom follows the boolean naming convention with the is prefix

These changes align with the updated GraphQL queries throughout the codebase.

bigbluebutton-html5/imports/ui/core/graphql/queries/currentUserSubscription.ts (1)

48-52: LGTM! Consistent with type definitions.

The field rename aligns with the LastBreakoutRoom interface update and maintains consistency across all user subscription queries.

bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom_participant.yaml (1)

31-42: Verify the view schema includes the meetingId column.

The permission filter now uses meetingId instead of parentMeetingId. Ensure the v_breakoutRoom_participant view has been updated with the meetingId column.

This can be verified with the same script checking the view schema mentioned in the previous comment.

bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom_assignedUser.yaml (1)

25-33: Permission filter verified—both meetingId and userMeetingId columns are correctly sourced.

The view definition confirms v_breakoutRoom_assignedUser includes the meetingId column, which is properly sourced from the parent breakoutRoom table via the v_breakoutRoom intermediate view. The permission logic correctly grants access to parent meeting moderators or the specifically assigned user in that meeting.

akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/users/EjectUserFromMeetingCmdMsgHdlr.scala (1)

54-55: Fix extId construction to match filter pattern or update filter logic.

The code has a critical mismatch: BreakoutUser.extId is constructed with the original user's extId at BreakoutHdlrHelpers.scala:121 (BreakoutUser(u.intId, u.extId, u.name)), but the filters at EjectUserFromMeetingCmdMsgHdlr.scala:54 and ChangeUserBreakoutReqMsgHdlr.scala:36 expect extId to match a composite pattern like userId + "-" + sequence.

Since extId will be "user123" but the filter checks for "user123-1" (or similar), the filter will never match any users. This breaks user ejection from breakout rooms.

Either construct BreakoutUser.extId with the composite pattern (requiring sequence from the room context), or update the filter logic to use the userId field or match against the original extId.

⛔ Skipped due to learnings
Learnt from: jaapjansma
Repo: bigbluebutton/bigbluebutton PR: 21204
File: bbb-common-web/src/main/scala/org/bigbluebutton/api2/meeting/MeetingsManagerActor.scala:21-21
Timestamp: 2024-10-10T12:15:03.265Z
Learning: When reviewing code changes in BigBlueButton, particularly in case classes like `RegisterUser` in `MeetingsManagerActor.scala`, ensure to accurately distinguish between added parameters and replaced parameters to avoid incorrect assessments.
bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom_lastJoinedRoom.yaml (1)

1-35: LGTM! Consistent schema refactoring.

The table and column renames align with the broader breakout room refactoring initiative. The changes are consistently applied across both roles (bbb_client and bbb_client_not_in_meeting).

bigbluebutton-html5/imports/ui/components/breakout-join-confirmation/breakout-join-confirmation-graphql/queries.ts (2)

3-20: LGTM! TypeScript interface aligned with schema changes.

The BreakoutRoom interface correctly reflects the renamed field from breakoutRoomId to breakoutRoomMeetingId, maintaining type safety.


32-53: LGTM! GraphQL query matches the interface.

The subscription query correctly retrieves breakoutRoomMeetingId instead of breakoutRoomId, consistent with the TypeScript interface and backend schema changes.

bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_user_breakoutRoom_lastAssignedRoom.yaml (1)

1-39: LGTM! New table definition follows established patterns.

The new v_user_breakoutRoom_lastAssignedRoom table definition is consistent with the refactored naming conventions and follows the same access control patterns as other breakout room tables.

akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/MeetingDAO.scala (2)

160-160: LGTM! DAO refactoring aligns with breakout room restructuring.

The change from MeetingBreakoutDAO.insert to MeetingBreakoutRoomPropsDAO.insert is consistent with the broader refactoring of breakout room data models.


166-178: LGTM! Query updated for schema column renames.

The updateMeetingDurationByParentMeeting query has been correctly updated to use the renamed schema columns:

  • parentMeetingId → meetingId (in BreakoutRoom table)
  • externalId → breakoutRoomMeetingId

The logic remains functionally equivalent: it finds all active breakout rooms belonging to the specified parent meeting and updates their duration.

bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom_createdLatest.yaml (1)

1-32: LGTM! Metadata updated for schema refactoring.

The column rename (breakoutRoomId → breakoutRoomMeetingId) and filter field updates (parentMeetingId → meetingId) are consistent with the broader breakout room schema refactoring.

akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/breakout/BreakoutHdlrHelpers.scala (1)

115-131: LGTM! BreakoutUser construction updated for new signature.

The BreakoutUser construction in updateParentMeetingWithUsers has been correctly updated to supply three parameters (intId, extId, name) matching the updated case class signature in BreakoutRoom2x.scala.

akka-bbb-apps/src/main/scala/org/bigbluebutton/core/running/HandlerHelpers.scala (1)

10-11: Last breakout room tracking is properly maintained in-memory.

Verification confirms the functionality is preserved. The lastBreakoutRoom field in the RegisteredUser model is actively updated in BreakoutRoomUsersUpdateMsgHdlr.scala when users are assigned to breakout rooms, and endAllBreakoutRooms correctly publishes cleanup events. The shift from database tracking to in-memory model tracking is sound.

akka-bbb-apps/src/main/scala/org/bigbluebutton/core/domain/BreakoutRoom2x.scala (1)

28-29: All BreakoutUser usages correctly updated to three-parameter signature.

Verification confirms a single instantiation site at BreakoutHdlrHelpers.scala:121 that correctly uses BreakoutUser(u.intId, u.extId, u.name). This message is then passed through BreakoutRoomUsersUpdateInternalMsg to BreakoutRoomUsersUpdateMsgHdlr where it's consumed. All other references are type annotations with no instantiation sites requiring updates.

bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_user_current_breakoutRoom_lastAssignedRoom.yaml (1)

1-39: LGTM! Metadata configuration is consistent and well-structured.

The new table metadata for tracking the last assigned breakout room follows the established patterns in the codebase. The column mappings, permissions, and filters align correctly with the broader breakoutRoomId → breakoutRoomMeetingId refactor.

bigbluebutton-html5/imports/ui/components/breakout-room/breakout-room/component.tsx (2)

137-139: LGTM! Function signature updated correctly.

The requestJoinURL function signature has been properly updated from breakoutRoomId to breakoutRoomMeetingId, aligning with the broader identifier refactor across the codebase.


154-160: LGTM! All identifier usages updated consistently.

All references to the breakout room identifier have been systematically updated throughout the component:

  • State management and comparisons
  • React keys for list rendering
  • Mutation variable passing
  • Event handlers and callbacks

The refactor is thorough and consistent.

Also applies to: 209-210, 221-243, 265-269

akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/breakout/BreakoutRoomUsersUpdateMsgHdlr.scala (3)

4-4: LGTM! Import cleanup aligns with refactored data model.

Removed the unused UserBreakoutRoomDAO import, which is consistent with the DAO consolidation described in the PR summary.


25-26: LGTM! User matching switched to external ID.

The change from breakoutRoomUser.id to breakoutRoomUser.extId correctly aligns with the updated BreakoutUser model that now distinguishes between internal ID (intId) and external ID (extId). The external ID is the appropriate field for matching users across parent and breakout meetings.

Also applies to: 31-31


38-43: LGTM! Per-user update pattern simplifies the mutation flow.

The refactor from collecting a bulk list to per-user operations is cleaner and aligns with the updated BreakoutRoomUserDAO.updateUserJoined signature that expects individual BreakoutUser and RegisteredUser parameters.

bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_user.yaml (1)

20-39: LGTM! Relationship mappings updated correctly.

The object relationships for lastBreakoutRoom and lastBreakoutRoomAssigned have been properly updated with:

  • Explicit column mappings for meetingId and userId
  • Updated remote table references to the new v_user_breakoutRoom_lastJoinedRoom and v_user_breakoutRoom_lastAssignedRoom views

These changes align with the new metadata files introduced in this PR.

bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_user_current_breakoutRoom_lastJoinedRoom.yaml (1)

1-39: LGTM! Metadata configuration is consistent and well-structured.

The new table metadata for tracking the last joined breakout room mirrors the structure of the lastAssignedRoom variant and follows established patterns. The exposed columns use the updated breakoutRoomMeetingId and isUserCurrentlyInRoom field names consistently.

bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom.yaml (1)

14-14: LGTM! Identifier refactor applied consistently.

All references to breakoutRoomId have been properly updated to breakoutRoomMeetingId:

  • Array relationship column mappings for assignedUsers and participants
  • Select permissions exposed columns

The changes maintain consistency across the metadata configuration.

Also applies to: 23-23, 33-33

bigbluebutton-html5/imports/ui/components/breakout-room/mutations.ts (1)

32-38: LGTM! GraphQL mutations updated consistently.

The mutation variable names and payload fields have been systematically updated:

  • BREAKOUT_ROOM_MOVE_USER: fromBreakoutRoomId/toBreakoutRoomId → fromBreakoutRoomMeetingId/toBreakoutRoomMeetingId
  • BREAKOUT_ROOM_REQUEST_JOIN_URL: breakoutRoomId → breakoutRoomMeetingId

These changes align with the server-side GraphQL schema updates.

Also applies to: 69-71

bigbluebutton-html5/imports/ui/components/breakout-join-confirmation/breakout-join-confirmation-graphql/component.tsx (3)

102-105: LGTM! Default selection logic updated correctly.

The defaultSelectedBreakoutId calculation and requestJoinURL function signature have been properly updated to use breakoutRoomMeetingId, maintaining the same selection priority logic.

Also applies to: 109-111


114-133: LGTM! All identifier references updated consistently.

All usages of the breakout room identifier have been systematically updated throughout the component:

  • Breakout room selection and filtering logic
  • Event handler implementations
  • React keys and option values in the select element
  • State polling checks

The refactor is thorough and maintains the original component behavior.

Also applies to: 153-153, 178-183, 201-201


292-292: LGTM! Property access updated to new field name.

The check for whether the current user has joined a breakout room correctly uses the renamed field isUserCurrentlyInRoom (previously currentlyInRoom), aligning with the data model changes.

akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/BreakoutRoomUserDAO.scala (3)

48-52: updateUserJoined wiring looks correct; confirm DB defaults and call order

The new updateUserJoined correctly wires:

  • parentMeetingUser.meetingId and .id to the parent meeting meetingId/userId columns, and
  • breakoutRoom.id and breakoutRoomUser.userId to breakoutRoomMeetingId and breakoutRoomUserId.

The extra AND "breakoutRoomUserId" != ${breakoutRoomUser.userId} guard should prevent redundant updates and preserve the original joinedAt when the breakout user id hasn’t changed.

This relies on:

  • breakoutRoomUserId being initialized to a value different from the actual breakout user id (e.g., ""), and
  • it not being NULL for rows that should be updated (otherwise != won’t match).

Please double-check that:

  1. The DB migration for breakoutRoomUserId sets a non-null default consistent with this logic.
  2. prepareInsert and the raw INSERT in refreshBreakoutRoomsVisibleForUsers are not called again after updateUserJoined in a way that would reset the stored id.

If both conditions hold, this path looks good.

Also applies to: 59-68


98-106: Rename to breakoutRoomMeetingId in bulk INSERT/DELETE is consistent

The bulk INSERT/ON CONFLICT and matching DELETE now consistently use breakoutRoomMeetingId in both the column list and join against "breakoutRoom". This aligns with the updated schema (BreakoutRoomDAO mapping breakoutRoomMeetingId, meetingId, breakoutRoomExternalId, ...) and should preserve the previous behavior while using the new identifier.

No changes needed here.

Also applies to: 109-117


9-17: Review comment is based on incorrect assumption—no issue found

The concern about prepareInsert clobbering breakoutRoomUserId does not apply. Each call to prepareInsert uses a unique breakoutRoomMeetingId, and since the table's composite primary key is (breakoutRoomMeetingId, meetingId, userId), each row represents a separate breakout room assignment. When a user moves to a different breakout room (line 51), prepareInsert inserts a new row for the new room rather than updating an existing row.

The design is correct: breakoutRoomUserId is initially set to "" via prepareInsert and later populated by updateUserJoined when the user actually joins the room. refreshBreakoutRoomsVisibleForUsers may leave breakoutRoomUserId unspecified (nullable), which is intentional—it will be set on first join.

bigbluebutton-html5/imports/ui/components/breakout-room/create-breakout-room/queries.ts (1)

11-11: New breakoutRoomMeetingId and isUserCurrentlyInRoom fields are consistent with backend metadata

The TypeScript interfaces and GraphQL queries now use:

  • breakoutRoomMeetingId in both breakoutRoom and LastBreakoutData.user.lastBreakoutRoom, and
  • isUserCurrentlyInRoom in LastBreakoutData.user.lastBreakoutRoom,

and the corresponding selections are requested in getBreakouts and getLastBreakouts. These names line up with the updated Hasura metadata (v_breakoutRoom, v_user_current, v_user_breakoutRoom_lastJoinedRoom), so the frontend types stay in sync with the backend schema.

Looks good.

Also applies to: 28-29, 76-76, 92-93

bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_user_current.yaml (1)

40-59: Breakout relationships now align with renamed views and columns

  • lastBreakoutRoom now points to v_user_current_breakoutRoom_lastJoinedRoom with meetingId/userId mappings, which matches the new last-joined breakout view and the user { lastBreakoutRoom { ... } } usage on the client side.
  • The new lastBreakoutRoomAssigned relationship similarly maps meetingId/userId to v_user_current_breakoutRoom_lastAssignedRoom, giving a clear separation between “last joined” and “last assigned” data.
  • The breakoutRooms array relationship now maps meetingId: meetingId to v_breakoutRoom, which is consistent with the updated breakoutRoom view schema where meetingId already represents the parent meeting.

These changes look structurally correct; just ensure the new lastBreakoutRoomAssigned relationship is actually used (and named) consistently in any corresponding GraphQL queries.

Also applies to: 160-165

bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_user_breakoutRoom_lastJoinedRoom.yaml (1)

1-8: Columns match client usage; confirm new permission filter semantics

The exposed columns:

  • breakoutRoomMeetingId
  • isUserCurrentlyInRoom
  • sequence
  • shortName
  • isDefaultName
  • userId

align with what the client reads via user.lastBreakoutRoom in getLastBreakouts, so the view schema looks correct.

Both roles now use a simple filter:

meetingId:
  _eq: X-Hasura-ModeratorInMeeting

and disable root queries/subscriptions. Please confirm this is the intended permission model (i.e., only contexts with X-Hasura-ModeratorInMeeting set can access this view through relationships, and that this matches how moderator/non-moderator clients should see last-joined breakout information).

If that’s intentional, no further changes are needed here.

Also applies to: 10-24, 26-39

akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/MeetingBreakoutRoomPropsDAO.scala (1)

7-19: Rename to MeetingBreakoutRoomProps* and parentMeetingId is consistent

The refactor from MeetingBreakoutDbModel/meeting_breakout to MeetingBreakoutRoomPropsDbModel/meeting_breakoutRoomProps with a parentMeetingId field is wired correctly:

  • Case class fields and table columns line up 1:1.
  • The Slick projection (override def *) matches the case class parameter order.
  • The DAO’s insert call uses the new table def and sets parentMeetingId = breakoutProps.parentId, preserving the previous semantics under the new name.

Assuming the DB migration creates meeting_breakoutRoomProps with the same column ordering and types, this looks good.

Also applies to: 21-24, 36-40, 43-50

bbb-graphql-server/bbb_schema.sql (6)

1069-1078: LGTM! Well-structured activity tracking table.

The user_activity table is properly designed for time-bucketed activity tracking with appropriate primary key, foreign key constraints, and indexes to support efficient querying.


2002-2023: LGTM! Breakout room table restructuring aligns with PR objectives.

The renaming of breakoutRoomId → breakoutRoomMeetingId, parentMeetingId → meetingId, and externalId → breakoutRoomExternalId is consistent and properly reflected in indexes and constraints.


2025-2047: LGTM! Breakout room user table properly updated.

The table structure correctly uses breakoutRoomMeetingId in the primary key and foreign key relationships. Indexes are appropriately defined for the new columns.


2136-2151: Verify the empty string check for userId.

The trigger condition NEW."userId" <> '' filters out empty string user IDs. This pattern works but consider whether it should also handle NULL values explicitly:

AND NEW."userId" IS NOT NULL AND NEW."userId" <> ''

This would make the intent clearer and ensure robust handling of both NULL and empty string cases.


2188-2214: LGTM! Breakout room views properly updated.

The views correctly use the new identifier naming (breakoutRoomMeetingId, meetingId, etc.) and maintain proper join relationships. The structure supports both last-joined and last-assigned room tracking.


56-69: Verify the distinction between meetingId and parentMeetingId in this context.

In the meeting_breakoutRoomProps table, meetingId is the primary key referencing the breakout room's meeting, while parentMeetingId refers to the parent meeting. This differs from the breakoutRoom table where meetingId now refers to the parent meeting (previously parentMeetingId). This could cause confusion when querying across tables.

Additionally, the view name v_meeting_breakoutPolicies doesn't match the table name meeting_breakoutRoomProps, which may reduce clarity.

⛔ Skipped due to learnings
Learnt from: gustavotrott
Repo: bigbluebutton/bigbluebutton PR: 23137
File: bbb-graphql-server/bbb_schema.sql:2022-2027
Timestamp: 2025-05-09T14:36:13.418Z
Learning: User acknowledged that adding an ORDER BY clause to the DISTINCT ON query in v_breakoutRoom_commonProperties view makes sense but deferred implementation since "startedAt" values are mostly the same for all rooms.
Learnt from: jaapjansma
Repo: bigbluebutton/bigbluebutton PR: 21204
File: bbb-common-web/src/main/scala/org/bigbluebutton/api2/meeting/MeetingsManagerActor.scala:21-21
Timestamp: 2024-10-10T12:15:03.265Z
Learning: When reviewing code changes in BigBlueButton, particularly in case classes like `RegisterUser` in `MeetingsManagerActor.scala`, ensure to accurately distinguish between added parameters and replaced parameters to avoid incorrect assessments.
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/BreakoutRoomDAO.scala (4)

12-28: LGTM! Case class properly aligned with schema changes.

The BreakoutRoomDbModel field renames (breakoutRoomMeetingId, meetingId, breakoutRoomExternalId) are consistent with the SQL schema changes in bbb_schema.sql.


30-50: LGTM! Table definition correctly updated.

The Slick table definition properly reflects the schema changes with correct primary key and column definitions. The projection mapping aligns with the case class structure.


133-153: LGTM! Insert/update logic correctly maps domain model to database model.

The mapping from BreakoutRoom2x to BreakoutRoomDbModel is correct:

  • room.id → breakoutRoomMeetingId
  • room.parentId → meetingId
  • room.externalId → breakoutRoomExternalId

183-191: Parameter rename properly propagated to all callers.

The search found only one caller of updateRoomsDuration in UpdateBreakoutRoomsTimeMsgHdlr.scala:82, and it already uses the correct parameter order and naming. The API change from parentMeetingId to meetingId has been properly handled throughout the codebase.

Comment thread bbb-graphql-server/bbb_schema.sql Resolved

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
bbb-graphql-server/bbb_schema.sql (2)

2085-2115: Add secondary sort key to ORDER BY clauses for deterministic "latest" selection.

The set_last_room function correctly uses IS DISTINCT FROM for idempotency (only updating when values change), but the ORDER BY "assignedAt" DESC NULLS LAST and ORDER BY "joinedAt" DESC NULLS LAST queries lack tie-breakers. When equal timestamps exist, PostgreSQL provides no guarantee of deterministic row selection, risking inconsistent "latest room" identification across executions.

Fix by adding a secondary sort key:

  • ORDER BY "assignedAt" DESC, "breakoutRoomMeetingId" ASC NULLS LAST (or equivalent stable identifier)
  • Apply same pattern to both SELECT queries for "latestAssignedRoomId" and "latestJoinedRoomId"

2136-2151: Trigger condition uses wrong column—will not match correctly.

The trigger at line 2144 contains a critical bug. It attempts to match breakoutRoom_user"."breakoutRoomUserId" = NEW."userId", but this is incorrect:

  • The breakoutRoomUserId is the user's ID in the breakout room (populated when users join)
  • The breakoutRoom_user table stores both the breakout room user ID and a separate userId column for the parent meeting user
  • When joining a breakout room, the DAO code updates breakoutRoomUserId with the breakout room's user ID, not the parent meeting's user ID

The trigger should match on the userId column instead: "breakoutRoom_user"."userId" = NEW."userId", as that column stores the parent meeting user ID and is what the foreign key constraint references.

♻️ Duplicate comments (1)
akka-bbb-apps/src/main/scala/org/bigbluebutton/endpoint/redis/LearningDashboardActor.scala (1)

335-339: ID type mismatch confirmed in exclusion logic.

The exclusion check has a genuine bug: it stores msg.body.userId (line 337) from UserRegisteredRespMsg but checks using the intId parameter (line 843). The intId receives different ID types depending on the message source:

  • UserJoinMeetingReqMsg (line 388): passes msg.body.userId → matches stored value
  • UserJoinedMeetingEvtMsg (lines 404, 554): passes msg.body.intId → likely different from stored userId

Since UserJoinedMeetingEvtMsgBody has separate intId and extId fields, there's no guarantee these represent the same identifier. Users joining via UserJoinedMeetingEvtMsg will fail the exclusion check if their internal ID differs from their registered user ID.

Fix required: Ensure all calls to addUserToMeeting pass the same ID type (likely intId), or store both identifier types for comparison.

🧹 Nitpick comments (2)
bbb-graphql-server/bbb_schema.sql (1)

2188-2214: Metadata duplication: lastJoined/lastAssigned views.

Four new views (lines 2188-2214) are created:

  • v_user_breakoutRoom_lastJoinedRoom / v_user_current_breakoutRoom_lastJoinedRoom
  • v_user_breakoutRoom_lastAssignedRoom / v_user_current_breakoutRoom_lastAssignedRoom

The views are nearly identical except for filtering by isLastJoinedRoom or isLastAssignedRoom. Consider whether this duplication is necessary or if a parameterized approach (e.g., with a WHERE clause applied at query time) would reduce maintenance burden.

Additionally, the "current" variants are identical to their non-current counterparts. Verify the intent: should v_user_current_* be restricted to currently active users?

Consider consolidating these four views into two (joining/assigned only) and applying user filtering at the GraphQL query layer if "current" context is needed.

akka-bbb-apps/src/main/scala/org/bigbluebutton/endpoint/redis/LearningDashboardActor.scala (1)

685-688: Consider tracking the commented code decision.

The commented-out poll removal logic is marked "will be discussed". If this is pending a decision, consider creating a TODO issue to track it so it doesn't remain indefinitely.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4349485 and 1646686.

📒 Files selected for processing (5)
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/endpoint/redis/LearningDashboardActor.scala (22 hunks)
  • bbb-graphql-server/bbb_schema.sql (11 hunks)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom.yaml (3 hunks)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutroom_activity.yaml (1 hunks)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/tables.yaml (2 hunks)
🧰 Additional context used
🧠 Learnings (2)
📚 Learning: 2025-05-09T14:36:13.418Z
Learnt from: gustavotrott
Repo: bigbluebutton/bigbluebutton PR: 23137
File: bbb-graphql-server/bbb_schema.sql:2022-2027
Timestamp: 2025-05-09T14:36:13.418Z
Learning: User acknowledged that adding an ORDER BY clause to the DISTINCT ON query in v_breakoutRoom_commonProperties view makes sense but deferred implementation since "startedAt" values are mostly the same for all rooms.

Applied to files:

  • bbb-graphql-server/bbb_schema.sql
📚 Learning: 2024-10-10T12:15:03.265Z
Learnt from: jaapjansma
Repo: bigbluebutton/bigbluebutton PR: 21204
File: bbb-common-web/src/main/scala/org/bigbluebutton/api2/meeting/MeetingsManagerActor.scala:21-21
Timestamp: 2024-10-10T12:15:03.265Z
Learning: When reviewing code changes in BigBlueButton, particularly in case classes like `RegisterUser` in `MeetingsManagerActor.scala`, ensure to accurately distinguish between added parameters and replaced parameters to avoid incorrect assessments.

Applied to files:

  • bbb-graphql-server/bbb_schema.sql
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/endpoint/redis/LearningDashboardActor.scala
🧬 Code graph analysis (1)
akka-bbb-apps/src/main/scala/org/bigbluebutton/endpoint/redis/LearningDashboardActor.scala (2)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core/db/UserActivityDAO/scala.scala (3)
  • UserActivityDAO (24-49)
  • insert (25-48)
  • meetingId (21-21)
akka-bbb-apps/src/main/scala/org/bigbluebutton/core2/message/senders/MsgBuilder.scala (1)
  • buildLearningDashboardEvtMsg (500-508)
🔇 Additional comments (18)
bbb-graphql-server/bbb_schema.sql (2)

2246-2249: Activity aggregation view: verify correctness of GROUP BY.

The v_breakoutRoom_activity view (lines 2246-2249) aggregates by:

group by a."meetingId", a."bucketTime", a."activityName"

Verify that this correctly groups activities by breakout room (where meetingId is the breakoutRoomMeetingId, not parent meetingId). The view should expose total activity counts per breakout room per minute per activity type. Ensure the underlying user_activity data uses breakout room meeting IDs for this to work correctly.

Confirm the grouping logic by checking how user_activity is populated in application code.


1069-1078: Bucketing implementation verified and correct.

The application layer properly implements minute-granularity bucketing via the UserActivityDAO insert method. The bucketTime is automatically set using PostgreSQL's date_trunc('minute',current_timestamp) function, which truncates timestamps to minute precision. The ON CONFLICT clause handles concurrent activity updates by incrementing the count for matching (meetingId, userId, bucketTime, activityName) tuples. The implementation aligns with the PR objectives.

bbb-graphql-server/metadata/databases/BigBlueButton/tables/tables.yaml (1)

9-10: Activity tracking tables included correctly.

Verified that both referenced metadata files exist in the repository:

  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutroom_activity.yaml
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutroom_user_activity.yaml

The includes are properly positioned at lines 9-10 with correct Hasura !include syntax.

bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom.yaml (1)

10-18: Missing ORDER BY clause in v_breakoutRoom_activity view.

The view lacks ordering. The view definition (line 2246, bbb_schema.sql) is:

create or replace view v_breakoutRoom_activity as
select a."meetingId", a."bucketTime", a."activityName", sum(coalesce(a.count,0)) as "total"
from "user_activity" a
group by a."meetingId", a."bucketTime", a."activityName";

Add ORDER BY a."bucketTime", a."activityName" before the semicolon to ensure consistent ordering for GraphQL queries. Additionally, update the relationship's insertion_order configuration in public_v_breakoutRoom.yaml (line 13) from null to reflect this ordering.

⛔ Skipped due to learnings
Learnt from: gustavotrott
Repo: bigbluebutton/bigbluebutton PR: 23137
File: bbb-graphql-server/bbb_schema.sql:2022-2027
Timestamp: 2025-05-09T14:36:13.418Z
Learning: User acknowledged that adding an ORDER BY clause to the DISTINCT ON query in v_breakoutRoom_commonProperties view makes sense but deferred implementation since "startedAt" values are mostly the same for all rooms.
akka-bbb-apps/src/main/scala/org/bigbluebutton/endpoint/redis/LearningDashboardActor.scala (14)

143-143: Good rename for clarity.

The rename from meetingExcludedUserIds to meetingExcludedFromDashboardUserIds improves code readability and makes the purpose explicit.


224-224: LGTM: Activity tracking for chat messages.

The activity logging call is correctly placed after the state update and uses the appropriate msg.header.userId field.


255-255: LGTM: Activity tracking for whiteboard annotations.


458-458: LGTM: Activity tracking for raise hand correctly gated.

The logging only occurs when raiseHand is true, which is the expected behavior.


500-507: Verify: Activity logged even when reaction is deduplicated.

The UserActivityDAO.insert call at line 506 is outside the if(!hasSameReactionInLast30Seconds) block, meaning it logs activity even when the reaction is ignored due to deduplication. If the intent is to track only reactions that are actually recorded in the dashboard state, move the logging inside the if block. If the intent is to track all reaction button presses regardless of deduplication, the current placement is correct.

Apply this diff if activity should only be logged for non-deduplicated reactions:

       if(!hasSameReactionInLast30Seconds) {
         val updatedUser = user.copy(reactions = user.reactions :+ Reaction(msg.body.reactionEmoji))
         val updatedMeeting = meeting.copy(users = meeting.users + (updatedUser.userKey -> updatedUser))
         meetings += (updatedMeeting.intId -> updatedMeeting)
+
+        UserActivityDAO.insert(msg.header.meetingId, msg.header.userId, "reaction")
       }
-
-      UserActivityDAO.insert(msg.header.meetingId, msg.header.userId, "reaction")
     }

533-533: LGTM: Activity tracking for camera sharing.


604-604: LGTM: Activity tracking for talking correctly gated.

The logging only occurs when the user starts talking, which is appropriate.


641-641: LGTM: Activity tracking for poll creation.


713-713: LGTM: Activity tracking for poll responses correctly gated for non-anonymous polls.

The activity logging only occurs for public (non-secret) polls, which is appropriate for privacy.


762-773: LGTM: Meeting initialization correctly sets learningDashboardDisabled.

The learningDashboardDisabled flag is properly derived from the disabled features list.


901-917: LGTM: Report generation correctly gated by learningDashboardDisabled.

The conditional properly prevents sending learning dashboard reports when the feature is disabled for the meeting.


224-224: Consider: Activity tracking not gated by learningDashboardDisabled.

The UserActivityDAO.insert calls throughout the file are not gated by the meeting.learningDashboardDisabled flag, while sendReport is gated at line 901. If the intent is that activity data serves GraphQL queries independently of the dashboard feature (as the PR description suggests with breakout room activity tracking), the current implementation is correct. However, if disabling the learning dashboard should also disable activity tracking, these calls should be gated.

Could you confirm the intended behavior: should UserActivityDAO tracking continue even when learningDashboardDisabled is true, or should all activity tracking be disabled?

Also applies to: 240-240, 255-255, 458-458, 506-506, 533-533, 604-604, 641-641, 713-713, 725-725


240-240: No changes needed—code is correct.

The PadUpdatedEvtMsg structure has userId defined in PadUpdatedEvtMsgBody (body), not in the header. Using msg.body.userId at line 240 is the correct field access for this message type, consistent with its usage elsewhere in the handler at line 233.

Likely an incorrect or invalid review comment.


725-725: No issues found — code is correct.

Verification confirms that ScreenshareRtmpBroadcastStartedEvtMsg has userId in its body (not header), and the code at line 725 correctly uses msg.body.userId. This is consistent with all other usages of this message type in the codebase.

Comment thread bbb-graphql-server/bbb_schema.sql Resolved
Comment thread bbb-graphql-server/bbb_schema.sql Resolved

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
bbb-graphql-server/bbb_schema.sql (1)

2136-2151: Trigger uses incorrect column values—will not match any rows.

The review comment is correct. Lines 2143-2144 contain a critical logic error:

The trigger attempts to match breakoutRoom_user."breakoutRoomMeetingId" against NEW."meetingId" from the user table. However, based on the schema:

  • NEW."meetingId" is the parent meeting ID (from the user table)
  • breakoutRoom_user."breakoutRoomMeetingId" is the breakout room ID (a distinct meeting ID created for each breakout room)

These are fundamentally different values and will never match existing records. The trigger silently fails to update anything.

The correct WHERE clause should be:

where "breakoutRoom_user"."meetingId" = NEW."meetingId"
and "breakoutRoom_user"."userId" = NEW."userId"

This matches on the parent meeting ID and user ID, which correctly identifies all breakout room assignments for that user.

♻️ Duplicate comments (3)
bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom_participant.yaml (1)

20-30: DUPLICATE_COMMENT: Column exposure mismatch breaks array relationship.

The activities relationship (lines 25-26) maps to userId and meetingId columns in v_breakoutRoom_user_activity, but those columns are not exposed in the metadata for that remote table (see public_v_breakoutRoom_user_activity.yaml lines 12-16).

This relationship will fail at query time because Hasura requires all mapped columns to be included in the remote table's select_permissions. This is addressed in the comment on public_v_breakoutRoom_user_activity.yaml above.

bbb-graphql-server/bbb_schema.sql (1)

2241-2244: CRITICAL: v_breakoutRoom_user_activity view join condition is fundamentally broken.

Lines 2241-2244 create a view that tries to correlate breakout room users with their activities. However, the LEFT JOIN uses incorrect column references:

left join "user_activity" a on a."meetingId" = u."breakoutRoomMeetingId" 
  and a."userId" = u."breakoutRoomUserId"

This join is impossible to satisfy:

  • user_activity records are populated with the parent meetingId and userId (via the FK constraint and UserActivityDAO logic which passes msg.header.meetingId)
  • user_activity table only has columns: meetingId, userId, bucketTime, activityName, count—no breakoutRoomUserId column exists
  • The table definition (line 1075) constrains FK to user(meetingId, userId), and the user table only contains records where meetingId is the parent meeting

Result: The LEFT JOIN matches no rows, returning NULL for all activity columns.

Fix: Join against the parent meeting identifiers:

- left join "user_activity" a on a."meetingId" = u."breakoutRoomMeetingId" and a."userId" = u."breakoutRoomUserId";
+ left join "user_activity" a on a."meetingId" = u."meetingId" and a."userId" = u."userId";
bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom_activity.yaml (1)

9-19: CRITICAL: Missing row-level security filter allows unrestricted access to all activity data.

Line 16 has an empty filter: {}, allowing any authenticated user to query activity data from all meetings via the breakoutroom_activity root field. This bypasses row-level security enforced elsewhere (e.g., in public_v_breakoutRoom_user_activity.yaml which properly filters by meetingId).

Add the missing meeting-scoped access control filter:

    permission:
      columns:
        - activityName
        - bucketTime
        - total
-     filter: {}
+     filter:
+       meetingId:
+         _eq: X-Hasura-MeetingId
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1646686 and 4a11729.

📒 Files selected for processing (6)
  • bbb-graphql-server/bbb_schema.sql (11 hunks)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom.yaml (3 hunks)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom_activity.yaml (1 hunks)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom_participant.yaml (1 hunks)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom_user_activity.yaml (1 hunks)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/tables.yaml (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/tables.yaml
🧰 Additional context used
🧠 Learnings (3)
📓 Common learnings
Learnt from: jaapjansma
Repo: bigbluebutton/bigbluebutton PR: 21204
File: bbb-common-web/src/main/scala/org/bigbluebutton/api2/meeting/MeetingsManagerActor.scala:21-21
Timestamp: 2024-10-10T12:15:03.265Z
Learning: When reviewing code changes in BigBlueButton, particularly in case classes like `RegisterUser` in `MeetingsManagerActor.scala`, ensure to accurately distinguish between added parameters and replaced parameters to avoid incorrect assessments.
📚 Learning: 2025-05-09T14:36:13.418Z
Learnt from: gustavotrott
Repo: bigbluebutton/bigbluebutton PR: 23137
File: bbb-graphql-server/bbb_schema.sql:2022-2027
Timestamp: 2025-05-09T14:36:13.418Z
Learning: User acknowledged that adding an ORDER BY clause to the DISTINCT ON query in v_breakoutRoom_commonProperties view makes sense but deferred implementation since "startedAt" values are mostly the same for all rooms.

Applied to files:

  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom_participant.yaml
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom_activity.yaml
  • bbb-graphql-server/bbb_schema.sql
📚 Learning: 2024-10-10T12:15:03.265Z
Learnt from: jaapjansma
Repo: bigbluebutton/bigbluebutton PR: 21204
File: bbb-common-web/src/main/scala/org/bigbluebutton/api2/meeting/MeetingsManagerActor.scala:21-21
Timestamp: 2024-10-10T12:15:03.265Z
Learning: When reviewing code changes in BigBlueButton, particularly in case classes like `RegisterUser` in `MeetingsManagerActor.scala`, ensure to accurately distinguish between added parameters and replaced parameters to avoid incorrect assessments.

Applied to files:

  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom_participant.yaml
  • bbb-graphql-server/bbb_schema.sql
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: build-package (bbb-graphql-server)
🔇 Additional comments (4)
bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom.yaml (1)

10-18: Verify activity relationship will function after RLS fix.

The new activities relationship (lines 10-18) correctly maps breakoutRoomMeetingId to v_breakoutRoom_activity.meetingId. However, this relationship's functionality depends on fixing the row-level security issue in public_v_breakoutRoom_activity.yaml (lines 16) to restrict access by meeting.

Once that RLS filter is added, this relationship should correctly surface only the current meeting's aggregated activities.

bbb-graphql-server/bbb_schema.sql (3)

2063-2133: Verify trigger correctness for isLastAssignedRoom and isLastJoinedRoom.

The trigger at lines 2063-2133 updates isLastAssignedRoom and isLastJoinedRoom flags by selecting the latest room based on timestamp ordering. The logic appears sound in principle, but depends on:

  1. Correct meetingId and userId values in the breakoutRoom_user table
  2. Timestamps (assignedAt, joinedAt) being reliably populated before trigger execution

Verify:

  • Are assignedAt and joinedAt always populated before INSERT/UPDATE operations that fire this trigger?
  • Is the trigger ordered correctly relative to other triggers (particularly the one at line 2131-2133)?
  • Does the trigger correctly handle edge cases like deletion of the last assigned/joined room?

1069-1078: Approve user_activity table structure.

The new user_activity table (lines 1069-1078) is well-designed with:

  • Appropriate composite primary key: (meetingId, userId, bucketTime, activityName)
  • Proper foreign key constraint to user(meetingId, userId)
  • Efficient index for typical query patterns (orderBy bucketTime and activityName)
  • Cascade delete on user deletion

Structure is sound for the stated purpose of tracking activity aggregates by time bucket.


55-69: Approve meeting_breakoutRoomProps table and view.

The new meeting_breakoutRoomProps table (lines 55-69) correctly:

  • Uses meetingId as PK with FK to meeting(meetingId) for CASCADE deletion
  • Stores all breakout-room-specific configuration properties
  • Exposes via v_meeting_breakoutPolicies view for GraphQL consumption
  • Matches the schema migration pattern used elsewhere in the codebase

Structure and integration are appropriate.

@gustavotrott

Copy link
Copy Markdown
Contributor Author

I included more fields to breakoutRoom.assignedUsers in the last commit:

subscription {
  breakoutRoom {
    assignedUsers {
      user {
        name
      }
      isLastAssignedRoom
      assignedAt
      inviteDismissedAt
      isLastJoinedRoom
      hasJoined
      joinedAt
      isUserCurrentlyInRoom
    }
  }
}

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

♻️ Duplicate comments (1)
bbb-graphql-server/bbb_schema.sql (1)

2243-2245: Critical: Join condition in v_breakoutRoom_user_activity still uses incorrect column references.

The view joins user_activity on breakoutRoomMeetingId and breakoutRoomUserId, but user_activity records are populated with parent meetingId and userId (confirmed by the foreign key at lines 1075–1076 referencing user(meetingId, userId)). This join will return NULL for all activity records.

The join predicate should match the parent user record, not the breakout room user record:

- left join "user_activity" a on a."meetingId" = u."breakoutRoomMeetingId" and a."userId" = u."breakoutRoomUserId";
+ left join "user_activity" a on a."meetingId" = u."meetingId" and a."userId" = u."userId";
🧹 Nitpick comments (1)
bbb-graphql-server/bbb_schema.sql (1)

2252-2256: Clean up or update commented-out query referencing outdated schema.

Lines 2252–2256 contain a commented query that references the old column name "externalId" (should be "breakoutRoomExternalId"). Either update the comment to reflect the new schema or remove it entirely if no longer needed.

- --JOIN "breakoutRoom" br ON br."meetingId" = vmbp."parentId" AND br."externalId" = m."extId";
+ --JOIN "breakoutRoom" br ON br."meetingId" = vmbp."parentMeetingId" AND br."breakoutRoomExternalId" = m."extId";
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4a11729 and 0b456f5.

📒 Files selected for processing (4)
  • bbb-graphql-server/bbb_schema.sql (11 hunks)
  • bbb-graphql-server/metadata/actions.graphql (2 hunks)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom_assignedUser.yaml (1 hunks)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/tables.yaml (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/tables.yaml
🧰 Additional context used
🧠 Learnings (3)
📓 Common learnings
Learnt from: jaapjansma
Repo: bigbluebutton/bigbluebutton PR: 21204
File: bbb-common-web/src/main/scala/org/bigbluebutton/api2/meeting/MeetingsManagerActor.scala:21-21
Timestamp: 2024-10-10T12:15:03.265Z
Learning: When reviewing code changes in BigBlueButton, particularly in case classes like `RegisterUser` in `MeetingsManagerActor.scala`, ensure to accurately distinguish between added parameters and replaced parameters to avoid incorrect assessments.
📚 Learning: 2024-10-10T12:15:03.265Z
Learnt from: jaapjansma
Repo: bigbluebutton/bigbluebutton PR: 21204
File: bbb-common-web/src/main/scala/org/bigbluebutton/api2/meeting/MeetingsManagerActor.scala:21-21
Timestamp: 2024-10-10T12:15:03.265Z
Learning: When reviewing code changes in BigBlueButton, particularly in case classes like `RegisterUser` in `MeetingsManagerActor.scala`, ensure to accurately distinguish between added parameters and replaced parameters to avoid incorrect assessments.

Applied to files:

  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom_assignedUser.yaml
  • bbb-graphql-server/metadata/actions.graphql
  • bbb-graphql-server/bbb_schema.sql
📚 Learning: 2025-05-09T14:36:13.418Z
Learnt from: gustavotrott
Repo: bigbluebutton/bigbluebutton PR: 23137
File: bbb-graphql-server/bbb_schema.sql:2022-2027
Timestamp: 2025-05-09T14:36:13.418Z
Learning: User acknowledged that adding an ORDER BY clause to the DISTINCT ON query in v_breakoutRoom_commonProperties view makes sense but deferred implementation since "startedAt" values are mostly the same for all rooms.

Applied to files:

  • bbb-graphql-server/bbb_schema.sql
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: build-package (bbb-graphql-server)
🔇 Additional comments (3)
bbb-graphql-server/metadata/actions.graphql (2)

68-71: All TypeScript/frontend consumers have been properly updated to the new parameter name.

Verification confirms:

  • GraphQL schema defines the parameter as breakoutRoomMeetingId
  • TypeScript mutation (mutations.ts:69-71) uses the new parameter name
  • Component implementations pass the correctly named variable
  • No remaining references to the old breakoutRoomId parameter in GraphQL mutation contexts
  • Backend Scala code references to breakoutRoomId are unrelated domain model identifiers, not the GraphQL mutation parameter

The breaking change has been fully propagated across all identified callers.


60-65: All consumers have been correctly updated to use the new mutation parameter names.

Verification confirms the breaking changes are complete:

  • Frontend GraphQL mutations use fromBreakoutRoomMeetingId, toBreakoutRoomMeetingId, and breakoutRoomMeetingId
  • Action handlers (breakoutRoomMoveUser.ts, breakoutRoomRequestJoinUrl.ts) validate and map the new parameter names correctly
  • Components pass the new parameter names when invoking mutations
  • No orphaned references to old parameter names remain in the codebase
bbb-graphql-server/metadata/databases/BigBlueButton/tables/public_v_breakoutRoom_assignedUser.yaml (1)

25-31: New columns are properly defined and actively used in the database schema.

Verification confirms all seven new columns (isLastAssignedRoom, assignedAt, inviteDismissedAt, isLastJoinedRoom, hasJoined, joinedAt, isUserCurrentlyInRoom) exist in the underlying v_breakoutRoom_assignedUser view with correct types and constraints. These columns have dedicated indexes and are actively referenced in trigger logic for state management, confirming the database layer is properly prepared to support the YAML metadata changes.

@github-actions

Copy link
Copy Markdown

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (2)
bbb-graphql-server/bbb_schema.sql (2)

1069-1078: Consider adding NOT NULL DEFAULT 0 constraint to count column.

The count column can be NULL, which may lead to unexpected results when aggregating. Since activity counts should always have a value, adding a constraint would improve data integrity.

Suggested improvement
 create unlogged table "user_activity"(
 	"meetingId" varchar(100),
     "userId" varchar(50),
     "bucketTime" timestamp with time zone,
     "activityName" text,
-	"count" integer,
+	"count" integer NOT NULL DEFAULT 0,
 	CONSTRAINT "user_activity_pkey" PRIMARY KEY ("meetingId", "userId", "bucketTime", "activityName"),
 	FOREIGN KEY ("meetingId", "userId") REFERENCES "user"("meetingId","userId") ON DELETE cascade
 );

2103-2113: Consider adding an index optimized for aggregate queries in v_breakoutRoom_activity.

The v_breakoutRoom_activity view aggregates by (meetingId, bucketTime, activityName), but the existing index idx_user_activity_orderBy leads with userId. For efficient aggregation queries, consider adding an index without userId in the leading position.

Suggested index
create index "idx_user_activity_aggregate" on "user_activity" ("meetingId", "bucketTime", "activityName");
📜 Review details

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0b456f5 and ffb9938.

📒 Files selected for processing (4)
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/breakout/CreateBreakoutRoomsCmdMsgHdlr.scala
  • bbb-graphql-server/bbb_schema.sql
  • bbb-graphql-server/metadata/actions.graphql
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/tables.yaml
✅ Files skipped from review due to trivial changes (1)
  • bbb-graphql-server/metadata/actions.graphql
🚧 Files skipped from review as they are similar to previous changes (2)
  • akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/breakout/CreateBreakoutRoomsCmdMsgHdlr.scala
  • bbb-graphql-server/metadata/databases/BigBlueButton/tables/tables.yaml
🧰 Additional context used
🧠 Learnings (2)
📚 Learning: 2025-05-09T14:36:13.418Z
Learnt from: gustavotrott
Repo: bigbluebutton/bigbluebutton PR: 23137
File: bbb-graphql-server/bbb_schema.sql:2022-2027
Timestamp: 2025-05-09T14:36:13.418Z
Learning: User acknowledged that adding an ORDER BY clause to the DISTINCT ON query in v_breakoutRoom_commonProperties view makes sense but deferred implementation since "startedAt" values are mostly the same for all rooms.

Applied to files:

  • bbb-graphql-server/bbb_schema.sql
📚 Learning: 2024-10-10T12:15:03.265Z
Learnt from: jaapjansma
Repo: bigbluebutton/bigbluebutton PR: 21204
File: bbb-common-web/src/main/scala/org/bigbluebutton/api2/meeting/MeetingsManagerActor.scala:21-21
Timestamp: 2024-10-10T12:15:03.265Z
Learning: When reviewing code changes in BigBlueButton, particularly in case classes like `RegisterUser` in `MeetingsManagerActor.scala`, ensure to accurately distinguish between added parameters and replaced parameters to avoid incorrect assessments.

Applied to files:

  • bbb-graphql-server/bbb_schema.sql
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: build-package (bbb-graphql-server)
  • GitHub Check: build-package (bbb-apps-akka)
🔇 Additional comments (2)
bbb-graphql-server/bbb_schema.sql (2)

2021-2021: LGTM!

The addition of joinedAt and derived hasJoined boolean column is correctly implemented and follows the existing pattern in the schema.


2046-2049: LGTM!

The expanded column selection in v_breakoutRoom_assignedUser properly exposes the new breakout room participation tracking fields as described in the PR objectives.

… the time of the messages will always be different
@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

Automated tests Summary

✅ All the CI tests have passed!

@gustavotrott
gustavotrott merged commit 1d9e09a into bigbluebutton:v3.0.x-release Jan 13, 2026
54 of 55 checks passed
antobinary added a commit that referenced this pull request Feb 5, 2026
* build(bbb-webrtc-sfu): v2.21.1

v2.21.1
---
* fix(livekit): incorrect mute state with muteOnStart=false + eventSource=agent
* fix(livekit): race condition on token generation (clients fail to connect)

* move pinned notes notification to backend

* style(poll): Increase visible area of typed responses

* docs: Add / for defaultHTML5ClientUrl in cluster-proxy docs

* docs: Add / for defaultHTML5ClientUrl in customize docs

* redo local camera unmount check

* Bump tika from 3.2.2 to 3.2.3 to avoid regression

* Bump tika from 3.2.2 to 3.2.3 to avoid regression

* Translate en.json in tr

100% translated source file: 'en.json'
on 'tr'.

* [use-meeting-data] added more fields to useMeeting and projection function

* Translate en.json in et

100% translated source file: 'en.json'
on 'et'.

* make number of avatars in special tile match overflow count

* fix sidebar content opening when presentation is restored on unified layout

* [fix-loading-issues-plugin] fix duplicate pluginName when multiple errors; fix redirect problems with plugins

* fix(html5/user-list): Append both user name and user id

* Translate en.json in ru

100% translated source file: 'en.json'
on 'ru'.

* only copy private chat lock settings on breakout creation

* [add-data-test] added data-tests to all extensible areas available to plugin-developers

* fix(tldraw): remove unnecessary extra zoom calls +

- Only reset zoom when fitTwoWdith actually changes, it was being set on every presentation mount
- Round viewed region up to 100 percent when its too near (avoids 99.99... values)

* adjust quiz correct answer validation to work with any language

* Translate en.json in it_IT

100% translated source file: 'en.json'
on 'it_IT'.

* fix: LiveKit token update fails on database

When a new LK token is generated for an existing session, its insertion
in the database is failing due to the usage of forceInsert. This is not
the expected behavior - the token should be updated.
While the behavior is mostly benign as token re-generation does not yet
play a significant role, this might bork unrelated batched DB ops and
should be fixed.

Fix the issue by using insertOrUpdate so that LK tokens are properly
updated.

* Translate en.json in ar

100% translated source file: 'en.json'
on 'ar'.

* fix drop areas appearing when presentation is removed

* chore: Bump release to 3.0.19

* [3.0] Adds the test upload multiple presentation on ci (#24218)

* add test upload multiple presentation to run on ci

* changed util to receive two options for the notification

* (tests): Add tests for "create breakout rooms" buttons (#24183)

* test: add check to create breakout rooms button existence

* refac: update logic to fit typescript migration

* fix: ensure mangeUsers dropdown is closed after continuing

* (tests): Add tests for breakout rooms sharing audio and video (#24150)

* test: refac to check user joining breakout with audio shared in the main room

* tests: add tests for user joining breakout with audio and video in the main room

* tests: add tests for user sharing audio after joining breakout rooms

* tests: update to check with webcamContainer selector

* refac: update logic to fit typescript migration

* refac: remove duplicate checks from joinRoom

* (tests): Add test for "group parameters" (breakout room pre-selection) (#24061)

* test: add test for group parameters while create breakout rooms

* fix: code rabbit suggestions

* tests: update to check if correct user has joined the breakout room

Co-authored-by: Anton Barboza de Sá <[email protected]>

* tests: Update to check room name in fullscreen

Co-authored-by: Anton Barboza de Sá <[email protected]>

* tests: Update username check to compare with literal strings

Co-authored-by: Anton Barboza de Sá <[email protected]>

* tests: refac roomNameInput

* refac: update logic to fit typescript migration

---------

Co-authored-by: Anton Barboza de Sá <[email protected]>

* do not display lock viewers option in breakout rooms

* fix: LiveKit token update fails on database

When a new LK token is generated for an existing session, its insertion
in the database is failing due to the usage of forceInsert. This is not
the expected behavior - the token should be updated.
While the behavior is mostly benign as token re-generation does not yet
play a significant role, this might bork unrelated batched DB ops and
should be fixed.

Fix the issue by using insertOrUpdate so that LK tokens are properly
updated.

* make breakout rooms inherit lock settings from parent meeting

* only copy private chat lock settings on breakout creation

* fix(html5/user-list): Append both user name and user id

* fix(tldraw): remove unnecessary extra zoom calls +

- Only reset zoom when fitTwoWdith actually changes, it was being set on every presentation mount
- Round viewed region up to 100 percent when its too near (avoids 99.99... values)

* adjust quiz correct answer validation to work with any language

* move pinned notes notification to backend

* style(poll): Increase visible area of typed responses

* Translate en.json in ar

100% translated source file: 'en.json'
on 'ar'.

* Translate en.json in it_IT

100% translated source file: 'en.json'
on 'it_IT'.

* Translate en.json in ru

100% translated source file: 'en.json'
on 'ru'.

* Translate en.json in et

100% translated source file: 'en.json'
on 'et'.

* Translate en.json in tr

100% translated source file: 'en.json'
on 'tr'.

* chore: Bump release to 3.0.19

* [3.0] Adds the test upload multiple presentation on ci (#24218)

* add test upload multiple presentation to run on ci

* changed util to receive two options for the notification

* (tests): Add tests for "create breakout rooms" buttons (#24183)

* test: add check to create breakout rooms button existence

* refac: update logic to fit typescript migration

* fix: ensure mangeUsers dropdown is closed after continuing

* (tests): Add tests for breakout rooms sharing audio and video (#24150)

* test: refac to check user joining breakout with audio shared in the main room

* tests: add tests for user joining breakout with audio and video in the main room

* tests: add tests for user sharing audio after joining breakout rooms

* tests: update to check with webcamContainer selector

* refac: update logic to fit typescript migration

* refac: remove duplicate checks from joinRoom

* (tests): Add test for "group parameters" (breakout room pre-selection) (#24061)

* test: add test for group parameters while create breakout rooms

* fix: code rabbit suggestions

* tests: update to check if correct user has joined the breakout room

Co-authored-by: Anton Barboza de Sá <[email protected]>

* tests: Update to check room name in fullscreen

Co-authored-by: Anton Barboza de Sá <[email protected]>

* tests: Update username check to compare with literal strings

Co-authored-by: Anton Barboza de Sá <[email protected]>

* tests: refac roomNameInput

* refac: update logic to fit typescript migration

---------

Co-authored-by: Anton Barboza de Sá <[email protected]>

* build(bbb-webrtc-sfu): v2.21.2

v2.21.2
---
* fix(livekit): incorrect callerIdNum causes audio join failures
* build(deps): [email protected]
* build(deps): [email protected]

* build: bbb-playback to 5.4.3

* Translate en.json in it_IT

100% translated source file: 'en.json'
on 'it_IT'.

* Translate en.json in it_IT

100% translated source file: 'en.json'
on 'it_IT'.

* Translate en.json in it_IT

100% translated source file: 'en.json'
on 'it_IT'.

* build(livekit): [email protected] (up from v1.9.7)

* fix(livekit): trigger forced room reconnection on fatal errors

There are known scenarios that currently can only be "addressed" via
full LiveKit room reconnections. One of those is a race condition when
publishing tracks - mainly audio - that causes all subsequent publish
attempts to time out. While this is a media server issue, it should be
mitigated on our side until fixed.

A few mitigations have already been added to the client for the above
scenario (timeouts). While they've reduced the error occurrence to
0.5%-0.7%~ of total sessions, it can still happen. A fail-safe that
forces a reconnect is necessary for the remaining cases.

Add a mechanism that can trigger LiveKit room reconnects on demand via
custom browser events. When a reconnect is desired, the breakpoint
should fire a 'livekitFatalError'-named event with the error and a
source identifier as payload.
This is generic enough so that we can add or remove scenarios to it as
needed. The first use case is the above time out edge case.

This forced reconnect can be enabled via settings.yml's
`public.media.livekit.reconnectOnFatalFailures`. This is FALSE by
default for now while it undergoes further testing.

* fix(livekit): frozen cams on reconn, camera bridge improvements

LK's camera bridge streams may freeze in specific LK reconnection
scenarios. This is triggered by the bridge's usage of LK room events +
local React refs to track publications and subscriptions.
With reconnects, those refs become stale and, even though the remote
references are still present, they don't work anymore for subsequen
setSubscribed calls.

Add sync routine for the refs when LiveKit's connection state becomes
healthy, fixing the aforementioned freezes.

Additionally, do a general review pass of the camera bridge:
  - Fix the debounced stream connection method: it's ineffective due to
    being re-created on every render, which loses the debounce timer
    reference. Make the debounce method stable so that pagination
    subscriptions have their frequency constrained.
  - Fix circular dependencies between effects, callbacks and
    component properties to shave off some unecessary re-renders
  - Stabilize helper functions that are passed as props to children

* fix(livekit): frozen screen share on reconnects

LK's screen share bridge streams may freeze in specific LK reconnection
scenarios. This is triggered by the bridge's usage of LK room events +
manually constructed JS maps to track publications and subscriptions.
With reconnects, those map refs become stale and, even though the remote
references are still present, no action to reattach or recover those
refs is executed.

Add sync routine for screne share subscriptions when LiveKit's connection
state becomes healthy after a re-connect. When that happens, re-run the
subscription procedures for any tracks that might need it.

* build(bbb-webrtc-recorder): v0.14.0

v0.14.0
---
* feat: add docker matrix build to support arm64
* fix(webm): split seqnum tracking for A/V, muffle discont logs
* build(docker): remove QEMU setup from publish Docker workflow

* Translate en.json in it_IT

100% translated source file: 'en.json'
on 'it_IT'.

* Translate en.json in ar

100% translated source file: 'en.json'
on 'ar'.

* Translate en.json in zh_TW

100% translated source file: 'en.json'
on 'zh_TW'.

* upgrade qs dependency on bbb-graphql-actions

* Use messageAsHtml for chat message notification

* refactor(html5): Replace isMeteorConnected prop with isConnected across UI components (#24171)

* refactor(html5): Replace isMeteorConnected prop with isConnected across UI components

* Fix eslint

* Update bigbluebutton-html5/imports/ui/components/nav-bar/options-dropdown/component.jsx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: Ramón Souza <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* adjust file reader to work if notifications are disabled

* fix typescript error

* [add-data-test] fixed data-tests not appearing

* Fix(html5): chat counter stale due race condition on mark message as read

* [add-data-test] changes suggested in review

* build(livekit): [email protected] (up from v1.9.9)

* feat: added fields IP, User-Agent e Referer to UserJoinedMeetingEvtMsg and UserConnectedToTransferSysMsg

* fix(bigbluebutton-web): handle null headers in the join endpoint

* feat: added field sessionToken to UserJoinedMeetingEvtMsg and UserConnectedToTransferSysMsg

* test: update "give and remove whiteboard access" test

* refactor (gql-server): Refactor breakout room schema to simplify user linkage (#24228)

* fix: bigbluebutton-tests/playwright/package.json & bigbluebutton-tests/playwright/package-lock.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-PLAYWRIGHT-14888269

* display raise hand notification for moderators

* feat (gql-server): Add breakout room participant activity tracking (#24233)

* first step of refactor of breakout rooms schema

* properly implement user lastBreakoutRoom and lastBreakoutRoomAssigned

* remove user_breakoutRoomProps for good

* update bbb-graphql-schema.md

* remove comments

* suggestions from review

* allow to track activities of users in breakout rooms

* hasura metadata for new tables

* add activities per room

* fix excludeFromDashboard

* fix column rename

* fix name of the new views

* add more fields to breakoutRoom.assignedUsers

* adjust maxDiffPixels for test breakout-moderator-chat-messages.png as the time of the messages will always be different

* fix(html5): exclude worker.ts from ReactRefresh so hot reload can work

React refresh was broken after #24152, it don't work in the worker thread.
Excluded the worker file so hot reload can work again.

* feat: harden client IP extraction from X-Forwarded-For header

This prevents IP spoofing attacks by properly parsing proxy headers
that may contain multiple comma-separated IPs.

* gql-middleware: reject mutations exceeding the rate limit (instead of delay them)

* feat(plugin): Add `nameSortable` and `bot` in the `UsersBasicInfo` data hook (#24213)

* feat(plugin): Add nameSortable in the UsersBasicInfo data hook

* feat(plugin): Add bot in the UsersBasicInfo data hook

* Fix typing

* upgrade plugin sdk to 0.0.96

* upgrade plugin sdk to 0.0.96 on bbb-web

* fix ts error

---------

Co-authored-by: Ramón Souza <[email protected]>

* upgrade Hasura version from 2.48.1 to 2.48.9

* build(livekit): [email protected] (downgraded from v1.9.10)

Downgrade livekit-server to 1.9.9 (from v1.9.10) as the latest version is panicking.

* bump tldraw to 2.0.0-alpha.32

* Translate en.json in tr (#24461)

100% translated source file: 'en.json'
on 'tr'.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>

* Updates for project BigBlueButton v3.0 HTML5 client and language ja (#24434)

* Translate en.json in ja

100% translated source file: 'en.json'
on 'ja'.

* Translate en.json in ja

100% translated source file: 'en.json'
on 'ja'.

---------

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>

* refactor: consolidate join request metadata into single JSON property

Replace individual fields (ipAddress, userAgent, referer, sessionToken) with
a single joinRequestMetadata Map[String, String] property as suggested by
@gustavotrott.

This change:
- Makes explicit that data is static request metadata, not dynamic user state
- Avoids unnecessary additions of user properties in akka-apps
- Allows future extensions without touching akka-apps core
- Provides bbb-webhooks a single JSON property to consume

The joinRequestMetadata contains:
- ipAddress: Client IP from X-Forwarded-For/X-Real-IP/remoteAddr
- userAgent: Browser/client user agent (max 512 chars)
- referer: Origin page URL (max 1024 chars)
- sessionToken: User session token

* build(livekit): remove logging.level: debug from after-install

bbb-livekit's after-install script is explicitly setting up the
override config file with logging.level: debug. This is not
necessary.

* build(bbb-webrtc-sfu): v2.22.0

v2.22.0
---
* feat(livekit): add histogram metrics for mute/unmute duration
* fix(livekit): honor user-scoped conditional recording flags
* chore: disable Kurento by default in base/example config file

* handle empty dropdown cases for leave meeting button

* Implement dynamic layout in video recording format

The current video recording format supports multiple layouts depending
on the media shared in the recording, but the layout has to be selected
before processing the recording and a single layout is used for the
entire recording length.

This causes problems with, for example, meetings that use deskshare and
webcams, but do not use presentation. Either the webcams are fullscreen
when deskshare isn't being used but the deskshare covers up the webcams,
or the webcams are beside the deskshare but remain small and at the side
of the recording.

The new system uses the same layouts but instead of selecting the
layout once before generating the video, it selects the layout
separately for each individual cut of the video. This allows, for
example, webcams to be fullscreen when deskshare isn't used, but when
deskshare starts the webcams will become smaller and move to the side.

As part of this work, to allow the presentation video to change size
as the layout changes between cuts, the handling for video sources was
refactored to be generic, allowing a new video source to be made for
presentation video which generates presentation video on demand for each
cut. This also speeds up recording processing and reduces disk space
requirements by removing the separate step to generate the presentation
video before rendering the recording.

* Fix log output of video source commands

* Add support for conditional rendering of video areas

With the new system for selecting the layout separately for each cut
depending on which type of content is present, it is also possible to
make the layout selection depend on other things relating to the current
state of the meeting.

The EDL and layout data structures are updated to support "conditions".
When the EDL is generated, various conditions can be included which
identify things about the state of the session at that time. Then, when
selecting a layout, the layout is only used if the conditions specified
in the layout match the conditions in the session.

Two conditions are added initially:

* `presentation_used`: Indicates whether any actions have been done on
  the presentation/whiteboard area.
* `screenshare_as_content`: Indicates the current state of the
  presentation/screenshare swap feature.

The video recording format's code is simplified since it no longer needs
to detect whether the presentation area was used itself; it can rely on
the conditions to handle this instead. The default configuration file
has been updated with layouts which handle the two new conditions.

* Remove the unused bbb_presentation_video_codec config

* Bugfixes for presentation format, video layout

* Fix typo in 1080p video recoridng layout

* Add presentation minimize support

To make it easier to handle layout events, which usually deal with the
"content" area rather than specifically presentation or screenshare,
refactor the generator methods to create the EDL with layout-related
conditions in a separate method.

* Remove out of date comment from create_deskshare_edl

* Fix calculation of fallback deskshare video size in presentation format

* chore (gql-middleware): Introduce a config to dump queries to files (for debugging) (#24465)

* introduce a config to dump queries to files (for debugging)

* fix codeRabbit reports

* Fix(graphql-server): Change type of some breakout name related fields to text

* refactor: replace type method with fill where pressing events are not relevant

* fix: add missing infinite whiteboard feature constant parameter

* fix: replace fill method with type for forcing appending

* Merge pull request #24475 from Tainan404/i-24448

Fix(html5): talking indicator being covered by webcam

* Merge commit from fork

* chore: Bump release to 3.0.20

* chore: Bump copyright year to 2026

* Fix(html5): Mod can't unlock user through Raised hand list (#24489)

* Merge commit from fork

When joining a session where the initial microphone state is supposed to
be muted, the local MediaStreamTrack is not always disabled. This only
affects the initial audio join. While the server discards data from muted
streams by default, the local track enabled state should always match the
user's mute state.
This is a reggression caused by two elements:
  - The pivot to mute-on-creation (holding audio channels at creation
    time, transparent listen only) rather than muting as a side effect
    that happens after audio joins
  - The lack of mute state enforcement in the client's audio join
    callback

Ensure the local audio MediaStreamTrack is disabled when joining if the
initial mute state is "muted" by adding an enforcement routine in the
audio join callback.

Co-authored-by: prlanzarin <[email protected]>

* npm audit on docs + testing

* feat(LAD/akka): Added new functions for the plugin to publish data to LAD (#23619)

* [lad-new-functions-plugin] added delete, upsert, and also fix issue with wrong total number

* [lad-new-functions-plugin] rename from genericData -> pluginData in LAD context

* [lad-new-functions-plugin] rename sendData -> upsertData (internally)for plugin data in LAD

* [lad-new-functions-plugin] added documentation

* [lad-new-functions-plugin] link PR on SDK

* [lad-new-functions-plugin] rename data -> userData for LAD

* [lad-new-functions-plugin] added clear all entries in lad for plugins

* [lad-new-functions-plugin] refactor to improve readability

* [lad-new-functions-plugin] updated documentation

* [lad-new-functions-plugin] - adjust documentation

* [lad-new-functions-plugin] - adjust package-lock.json

* --

* [lad-new-functions-plugin] fixed akka breaking

* Translate en.json in et

100% translated source file: 'en.json'
on 'et'.

* Update install.md

* fix(audio): legacy listen only broken due to undefined argument

Joining audio via the legacy listen only mode is failing due to a
missing argument in a call to the onAudioJoining callback in
AudioManager.

Provide the callback with the appropriate argument in legacy listen only
mode, as well as add a default value to the onAudioJoining method so
this doesn't happen again.

* build(bbb-webhooks): v3.6.0

v3.6.0
---
* feat: add docker matrix build to support arm64                                                                                                              
* fix: parse boolean environment variables as booleans, not strings
* refactor: pull ip address, user agent, referer and session token from joinRequestMetadata                                                                   
* build(deps): [email protected]                                                   
* build(deps): [email protected]                                                                                                                                   
* build(deps): [email protected], [email protected]                              
* build(deps): [email protected]

* move react-scripts to devDependencies (#24502)

* feat(publish-reports): add action to publish Playwright reports to GitHub Pages (#24471)

* feat(publish-reports): add action to publish Playwright reports to GitHub Pages

* fix(ci): enhance artifact fetching with error handling and validation for variables on publish action

* upgrade webpack-dev-server to 5.2.3 (#24508)

* build(deps): bump the npm_and_yarn group across 5 directories with 4 updates

Bumps the npm_and_yarn group with 1 update in the /bbb-export-annotations directory: [js-yaml](https://github.com/nodeca/js-yaml).
Bumps the npm_and_yarn group with 3 updates in the /bbb-graphql-client-test directory: [js-yaml](https://github.com/nodeca/js-yaml), [node-forge](https://github.com/digitalbazaar/forge) and [qs](https://github.com/ljharb/qs).
Bumps the npm_and_yarn group with 4 updates in the /bbb-learning-dashboard directory: [js-yaml](https://github.com/nodeca/js-yaml), [node-forge](https://github.com/digitalbazaar/forge), [qs](https://github.com/ljharb/qs) and [diff](https://github.com/kpdecker/jsdiff).
Bumps the npm_and_yarn group with 2 updates in the /bigbluebutton-html5 directory: [js-yaml](https://github.com/nodeca/js-yaml) and [diff](https://github.com/kpdecker/jsdiff).
Bumps the npm_and_yarn group with 1 update in the /bigbluebutton-tests/playwright directory: [js-yaml](https://github.com/nodeca/js-yaml).


Updates `js-yaml` from 4.1.0 to 4.1.1
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

Updates `js-yaml` from 4.1.0 to 4.1.1
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

Updates `js-yaml` from 4.1.0 to 4.1.1
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

Updates `js-yaml` from 4.1.0 to 4.1.1
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

Updates `js-yaml` from 4.1.0 to 4.1.1
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

Updates `node-forge` from 1.3.1 to 1.3.3
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](digitalbazaar/forge@v1.3.1...v1.3.3)

Updates `qs` from 6.13.0 to 6.14.1
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](ljharb/qs@v6.13.0...v6.14.1)

Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

Updates `node-forge` from 1.3.1 to 1.3.3
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](digitalbazaar/forge@v1.3.1...v1.3.3)

Updates `qs` from 6.13.0 to 6.14.1
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](ljharb/qs@v6.13.0...v6.14.1)

Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

Updates `qs` from 6.13.0 to 6.14.1
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](ljharb/qs@v6.13.0...v6.14.1)

Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

Updates `node-forge` from 1.3.1 to 1.3.3
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](digitalbazaar/forge@v1.3.1...v1.3.3)

Updates `qs` from 6.13.0 to 6.14.1
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](ljharb/qs@v6.13.0...v6.14.1)

Updates `diff` from 5.2.0 to 5.2.2
- [Changelog](https://github.com/kpdecker/jsdiff/blob/master/release-notes.md)
- [Commits](kpdecker/jsdiff@v5.2.0...v5.2.2)

Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

Updates `node-forge` from 1.3.1 to 1.3.3
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](digitalbazaar/forge@v1.3.1...v1.3.3)

Updates `qs` from 6.13.0 to 6.14.1
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](ljharb/qs@v6.13.0...v6.14.1)

Updates `diff` from 5.2.0 to 5.2.2
- [Changelog](https://github.com/kpdecker/jsdiff/blob/master/release-notes.md)
- [Commits](kpdecker/jsdiff@v5.2.0...v5.2.2)

Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

Updates `qs` from 6.13.0 to 6.14.1
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](ljharb/qs@v6.13.0...v6.14.1)

Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

Updates `js-yaml` from 4.1.0 to 4.1.1
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

Updates `diff` from 5.2.0 to 5.2.2
- [Changelog](https://github.com/kpdecker/jsdiff/blob/master/release-notes.md)
- [Commits](kpdecker/jsdiff@v5.2.0...v5.2.2)

Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

Updates `diff` from 5.2.0 to 5.2.2
- [Changelog](https://github.com/kpdecker/jsdiff/blob/master/release-notes.md)
- [Commits](kpdecker/jsdiff@v5.2.0...v5.2.2)

Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.1.0...4.1.1)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.1.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 4.1.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 4.1.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 4.1.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 4.1.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: node-forge
  dependency-version: 1.3.3
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: qs
  dependency-version: 6.14.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: node-forge
  dependency-version: 1.3.3
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: qs
  dependency-version: 6.14.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: qs
  dependency-version: 6.14.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: node-forge
  dependency-version: 1.3.3
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: qs
  dependency-version: 6.14.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: diff
  dependency-version: 5.2.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: node-forge
  dependency-version: 1.3.3
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: qs
  dependency-version: 6.14.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: diff
  dependency-version: 5.2.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: qs
  dependency-version: 6.14.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 4.1.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: diff
  dependency-version: 5.2.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: diff
  dependency-version: 5.2.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix(akka, html5): Prevent upload error notifications when converting breakout rooms with no changes (#24466)

* Fix(akka): Don't emit upload error notification when a breakout ends with no changes

* Fix(html5): Add notification for presenter in cases where no convertions will be made for breakout

* Remove logs

* Rename variables and add fixes

* fix(workflows): update repository references for Playwright reports

* bump tldraw to 2.0.0-alpha.33 (#24517)

* build: bump bbb-playback to 5.4.4

* Fix(html5): Pinch zoom not propagating on WB

* Use uint64 cache key to preserve both message identifiers

* Fallback to using blanks if downscaling fails

* Change png blank return value and add max svg size no-zero check

* Add svg max size property

* Translate en.json in zh_TW (#24522)

100% translated source file: 'en.json'
on 'zh_TW'.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>

* fix: bbb-graphql-client-test/package.json & bbb-graphql-client-test/package-lock.json to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-LODASH-15053838

* fix(workflows): add artifact existence check for test reports in automated tests workflow for correctly updating "in progress" comment to failing when no reports are generated (#24520)

* build(deps): bump the npm_and_yarn group across 4 directories with 1 update

Bumps the npm_and_yarn group with 1 update in the /bbb-graphql-client-test directory: [lodash](https://github.com/lodash/lodash).
Bumps the npm_and_yarn group with 1 update in the /bbb-learning-dashboard directory: [lodash](https://github.com/lodash/lodash).
Bumps the npm_and_yarn group with 1 update in the /bigbluebutton-html5 directory: [lodash](https://github.com/lodash/lodash).
Bumps the npm_and_yarn group with 1 update in the /docs directory: [lodash](https://github.com/lodash/lodash).


Updates `lodash` from 4.17.21 to 4.17.23
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.21...4.17.23)

Updates `lodash` from 4.17.21 to 4.17.23
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.21...4.17.23)

Updates `lodash` from 4.17.21 to 4.17.23
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.21...4.17.23)

Updates `lodash` from 4.17.21 to 4.17.23
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.21...4.17.23)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.17.23
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: lodash
  dependency-version: 4.17.23
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: lodash
  dependency-version: 4.17.23
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: lodash
  dependency-version: 4.17.23
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <[email protected]>

* Move pres ext url check to create request constraint

* build: Bump bbb-presentation-video to 5.1.0-beta.2

https://github.com/bigbluebutton/bbb-presentation-video/releases/tag/5.1.0-beta.2

* adjust bbb-html5 build script to not replace unintended strings

* build(deps): bump ch.qos.logback:logback-core

Bumps the maven group with 1 update in the /bbb-recording-imex directory: [ch.qos.logback:logback-core](https://github.com/qos-ch/logback).


Updates `ch.qos.logback:logback-core` from 1.5.13 to 1.5.25
- [Release notes](https://github.com/qos-ch/logback/releases)
- [Commits](qos-ch/logback@v_1.5.13...v_1.5.25)

---
updated-dependencies:
- dependency-name: ch.qos.logback:logback-core
  dependency-version: 1.5.25
  dependency-type: direct:production
  dependency-group: maven
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix(recording): Add check for notes_id undefined in events_worker.rb

* Update events_worker.rb

* Translate en.json in it_IT

100% translated source file: 'en.json'
on 'it_IT'.

* docs: Added new features to what is new

* Fix(html5): enforce meetingId filtering across user-related data streams

* Add filter to a extra list of components

* review dixes

* feat: Enhance PR comments for test outcomes and handle cancellations (#24541)

* feat: Enhance PR comments for test outcomes and handle cancellations

* feat: Update artifact existence check to use pagination and improve matching logic

* Add docs for meta_analytics-callback-url

* HTTP GET -> HTTP POST

* Use secure prng for session id generation

* feat(ci): Restore upload of merge HTML reporter to publish tests (#24479)

* feat(ci): restore upload of merge HTML reporter to publish tests

* fix(workflow/ci): update failure handling and report checks in publish-report job

* fix(workflows): update HTML heading levels in automated tests comments

* fix(action): refactor artifact existence check to use a consistent run ID retrieval method

* fix(ci): update output variable name for check-artifact-exists action

* fix: update automated tests comments for correct finding

* Stringify "is_breakout" true/false statement

* Fix(html5): presentation moving to old position when enable infinite WB

* fix(ci): refine conditions for publishing test results and handling blob reports

- avoid using grep-invert when`$SDK_FLAKY_TESTS` is empty for sdk tests
- check for `bigbluebutton` as repository owner
- fix output variable of check-reports action

* ref(plugin): refactor the code of plugin logger to be more robust (#24185)

* [sdk-plugin-logger] initial implementation of plugin-sdk powerful logger

* [sdk-plugin-logger] enhance plugin-logger flow to include plugin name into the console logs.

* [sdk-plugin-logger] added settings override for plugin logger

* [sdk-plugin-logger] -  Added example on how to use the logger.

--

* [sdk-plugin-logger] resolve multiple runs of setLogger when new renders

* [sdk-plugin-logger] changes in review

* [sdk-plugin-logger] - added SDK flaky tests because pluginLogger changed structure.

* [sdk-plugin-logger] - fixed path to flaky plugin tests

* Translate en.json in hu_HU (#24547)

100% translated source file: 'en.json'
on 'hu_HU'.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>

* Change bbb-conf to check with turnutils_stunclient (#24554)

Co-authored-by: Michelle Winkler <[email protected]>

* Translate en.json in ar (#24543)

100% translated source file: 'en.json'
on 'ar'.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>

* docs: set a random domain as example in Docs

* docs: include param sessionToken in getJoinUrl table

* Fix(html5): missigin space in some locales on waiting room queue

* build: Bump bbb-pads to 1.5.7

https://github.com/bigbluebutton/bbb-pads/releases/tag/v1.5.7

* update breakout rooms for user when role is changed (#24558)

* chore: Bump release to 3.0.21

* build: Bump bbb-pads to 1.5.8

https://github.com/bigbluebutton/bbb-pads/releases/tag/v1.5.8

* chore: bump sdk version to 0.1.14

* fix(tests): fix breakouts tests in 3.1

* fix(tests): wait for upload to finish in multiple upload test
Ensure upload is finished to avoid errors in CI
Also remove 3.0 new features

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Anton Georgiev <[email protected]>
Co-authored-by: Paulo Lanzarin <[email protected]>
Co-authored-by: Ramón Souza <[email protected]>
Co-authored-by: João Victor <[email protected]>
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
Co-authored-by: Guilherme Leme <[email protected]>
Co-authored-by: Gustavo Trott <[email protected]>
Co-authored-by: Gabriel Luiz Porfirio <[email protected]>
Co-authored-by: Gabriel Ramos <[email protected]>
Co-authored-by: Anton Barboza de Sá <[email protected]>
Co-authored-by: Lucas <[email protected]>
Co-authored-by: Tainan Felipe <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: AtilaU19 <[email protected]>
Co-authored-by: Gabriel Ramos <[email protected]>
Co-authored-by: snyk-bot <[email protected]>
Co-authored-by: João Victor Nunes <[email protected]>
Co-authored-by: Calvin Walton <[email protected]>
Co-authored-by: paultrudel <[email protected]>
Co-authored-by: Anton Georgiev <[email protected]>
Co-authored-by: Guilherme Pereira Leme <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Paul Trudel <[email protected]>
Co-authored-by: Fred Dixon <[email protected]>
Co-authored-by: Michelle Winkler <[email protected]>
Co-authored-by: Michelle <[email protected]>
@ffdixon

ffdixon commented Feb 13, 2026

Copy link
Copy Markdown
Member

Hi Gustavo, would this enable us to track breakout room activities in the main room, such as putting in an activity indicator for each breakout rooms?

@gustavotrott

Copy link
Copy Markdown
Contributor Author

Hi Gustavo, would this enable us to track breakout room activities in the main room, such as putting in an activity indicator for each breakout rooms?

Yes! That's exactly the core idea behind this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants