bigbluebutton-Github/bigbluebutton-html5/imports/ui/components
Arthur B. Grossi 1dbc773aee
feat(chat): improve messages rendering (#21323)
* feat(chat): improve messages rendering

This commit adds memoization and comparsion functions to the chat pages
and chat messages to prevent whole chat re-renders and unnecessary
message re-renders caused by React's default shallow comparsion mechanism.
The comparsion functions ensure that only the pertinent message attributes
trigger a component's re-render.

Messages sent by a user are not updated (re-rendered) when their role
change. In other words, the chat messages reflect the user's role at the
time the message was sent. Altering the message to reflect the user's
current role could confuse participants, as it would modify the context
of the past conversation. This behavior has been validated by the UI/UX
team and brings benefits such as performance improvements and consistent
behavior with how playback handles such messages.

* fix linter errors
2024-10-03 10:10:52 -03:00
..
about
actions-bar Fix wrong away toggle initial state (#21337) 2024-10-02 21:10:26 -03:00
activity-check restore intl prop in activity check component (#21331) 2024-10-02 16:10:47 -04:00
app refactor(styles): Update DtfInvert background color (#21277) 2024-09-30 09:58:49 -03:00
audio Merge pull request #21279 from ramonlsouza/fix-custom-locale 2024-09-30 10:18:25 -04:00
banner-bar
breakout-join-confirmation/breakout-join-confirmation-graphql
breakout-room
chat feat(chat): improve messages rendering (#21323) 2024-10-03 10:10:52 -03:00
click-outside
common [lms-plugin-adaptation] - Code review 2024-10-02 19:09:07 -03:00
components-data/plugin-context
connection-manager Fix: close event emitting a terminal error (#21299) 2024-10-02 16:05:03 -03:00
connection-status style(connection-status): Enhance mobile responsiveness for connection status and recording indicator components. (#21305) 2024-10-02 08:39:44 -03:00
context-providers
custom-styles fix: Custom styles not applying to loading screen (#21263) 2024-09-27 10:28:26 -04:00
debug-window
dropdown
emoji-picker
emoji-rain
end-meeting-confirmation
error-screen
external-video-player
floating-window
generic-content [lms-plugin-adaptation] Added new genericContentInformation along with refactor of fixedContentInformation for userListDropodownItem. 2024-09-27 14:48:05 -03:00
join-handler fix: Custom styles not applying to loading screen (#21263) 2024-09-27 10:28:26 -04:00
layout style(modal): Update modal styles for better positioning on small screens (#21289) 2024-10-01 15:43:02 -03:00
learning-dashboard
legacy
lock-viewers
media
meeting-ended fix(meeting-ended/rating): Update star rating icon to improve visual representation. (#21319) 2024-10-02 11:04:37 -04:00
mobile-app-modal/mobile-app-modal-graphql
muted-alert
nav-bar style(connection-status): Enhance mobile responsiveness for connection status and recording indicator components. (#21305) 2024-10-02 08:39:44 -03:00
notes
notifications
notifications-bar
pads/pads-graphql
plugins/plugin-button
plugins-engine
poll
polling
presence-adapter
presentation style(presentation-toast): apply toast styles (#21239) 2024-09-25 12:16:43 -04:00
raisehand-notifier
recording
reload-button
screenreader-alert
screenshare Merge pull request #21187 from JoVictorNunes/app-component-cleanup-0912 2024-09-24 14:42:53 -04:00
settings refactor(settings/service): Refactor to remove unnecessary for notification. (#21235) 2024-09-27 10:27:19 -04:00
settings-loader
shortcut-help
sidebar-content
sidebar-navigation
text-input
timer fix(timer): beep failing to play intermittently (#21222) 2024-09-25 15:42:16 -04:00
user-avatar
user-list [lms-plugin-adaptation] - Code review 2024-10-02 19:09:07 -03:00
user-reaction
video-preview fix(video-preview): blur behavior correction (#21112) 2024-09-27 10:29:46 -04:00
video-provider Edit graphql type UserCamera to suport either camera or screenshare 2024-10-01 14:39:48 -03:00
waiting-users
wake-lock
webcam
whiteboard Merge pull request #21069 from KDSBrowne/bbb-21035 2024-09-25 16:18:32 -04:00