Repository navigation
refactor: Introduces user.raiseHand and user.away flags - #18121
gustavotrott merged 4 commits into
Conversation
|
This pull request has conflicts ☹ |
|
If you don't mind I would like to add an extra emoji to the list of reactions, I think this one will be very useful for the community and also completes the columns, because depending on the resolution the list lacks and emoji at the end making it un-aesthetic. The emoji would be the: '1F920'. |
https://emojipedia.org/cowboy-hat-face/ |
|
In general I think these are good changes. Away/raiseHand should be stored as separate data fields since they're already treated as separate entities by the code. What I'm not sure is if we need a new reactionEmoji field. If I got this right when we use the old status system it would use the old 'emoji' field and when we use the new reactions system it would use 'reactionEmoji' but the two are never used at the same time right? Maybe we could use the same field for both since there's so much code overhead on akka / bbb-messages and html5 for adding a new field. But I'm ok if you guys think it's a good idea to keep it as two separate fields. |
Hey, thanks for the review! I think separating things we will avoid problems! To ensure clarity, I think it's worth maintaining two separate properties even if it costs us two extra fields. |
|
Another thing about the current behavior. The raiseHand and away status do actually obscure the reaction emoji and this was by design, if the user is away or with a raised hand this should be shown instead of the emoji. We could change this but I think we might need a little redesign |
Yes! The refactor keep this behavior! |
|
Can we merge it @lfzawacki ? |
|
This pull request has conflicts ☹ |
|
Kudos, SonarCloud Quality Gate passed! |
|
Merge away |








Add new props
user.raiseHandanduser.awayto the User collection:Both props used to be stored within
user.emojiprop, but it became confusing (in special with the introduction of the feature Reactions).This PR also:
Closes (and motivation description): #18053