Skip to content

feat: Port Mconf Reactions into BBB 2.7 - #17764

Merged
antobinary merged 25 commits into
bigbluebutton:v2.7.x-releasefrom
lfzawacki:reactions-port
May 26, 2023
Merged

antobinary merged 25 commits into
bigbluebutton:v2.7.x-releasefrom
lfzawacki:reactions-port

Conversation

@lfzawacki

@lfzawacki lfzawacki commented Apr 28, 2023 •

Copy link
Copy Markdown
Contributor

This ports our Mconf Reactions into BBB.

Two new variables can be configured in settings.yml:

   # userReaction is the new kinds of reactions
   userReaction:
      enabled: true
      # how long in seconds the emoji will show in the userlist
      expire: 60
    # The old status button with the pre-defined hand, away, confused, happy statuses etc...
    userStatus:
      enabled: false

If both are enabled the newer reactions system takes precedence. The hand icon can be configured with:

    raiseHandActionButton:
      # enables the old raiseHand icon
      enabled: false
      # If true positions the icon next to the screenshare button, if false positions it where BBB has it today 
      centered: true
    interactionsButton:
      # enables the new raiseHand icon inside of the reaction menu
      enabled: false

There's still some work to do:

  • Reactions are cleared on mongo based on the expire time, needs to sync with akka
  • Some of the UI still needs adjustment
  • We need to integrate the newer Tyler designs
  • We need to create the 'emoji rain' effect

frankemax and others added 16 commits April 27, 2023 11:54
add user-reaction collection
add emoji picker for user reaction in the user list
add options to enable/disable user-reaction
add a way to pass style to emoji-picker component
Interactions button is a button that stays in action bar.
Integrates several features in just one place: user-reaction, raise hand,
user-status (away/not away), toggle question panel.
Makes user avatars on raised hands toast appear with the same
color and same avatar image they have in the user list.
Fix hand button border style.
Fix bug that causes the emoji modal be too large.
Fix bug when modal is on mobile.
Add a variable that removes the avatar before applying the reaction.
@lfzawacki
lfzawacki changed the base branch from develop to v2.7.x-release April 28, 2023 16:50
@antobinary antobinary added this to the Release 2.7 milestone May 2, 2023
@github-actions

Copy link
Copy Markdown

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

Arthurk12 and others added 8 commits May 22, 2023 12:07
Adds two new messages which clear the users emoji statuses. This messages
enables this task to be done in a single call, instead of triggering one
method call for each user.
'ClearAllUsersEmojiCmdMsg' is sent from meteor to akka and updates all the
emoji states in the users model.
'ClearedAllUsersEmojiEvtMsg' is sent from akka to meteor. This triggers the
 mongo collection update.
Currently, the reactions are cleared on mongo based on the expire time.
So to sync its state with akka, an observer is atattched to the user
reactions collection and whenever a reaction is removed because of the
expiration time, akka is notified with message 'UserReactionTimeExpiredCmdMsg'.
Update method call to the unified one(setUserReaction) and include the userID
parameter, so it can be used by mods to clear others status as well.
@prlanzarin
prlanzarin marked this pull request as ready for review May 25, 2023 22:55
@sonarqubecloud

Copy link
Copy Markdown

SonarCloud Quality Gate failed.    Quality Gate failed

Bug D 5 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 2 Security Hotspots
Code Smell A 34 Code Smells

No Coverage information No Coverage information
1.9% 1.9% Duplication

@antobinary antobinary changed the title Port Mconf Reactions into BBB 2.7 feat: Port Mconf Reactions into BBB 2.7 May 26, 2023
@antobinary

Copy link
Copy Markdown
Member

Looks great! 🎊 Well done!
There are a couple of things I think we can tweak but we can do that in subsequent (much smaller) PRs.

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.

6 participants