Ramón Souza
7af165801a
Merge pull request #21487 from JoVictorNunes/chat-patch-1017
...
fix(chat): Several fixes, UI improvements, et al.
2024-10-22 16:23:44 -03:00
João Victor
5275e4e1a8
fix(chat): Missing message background color if all toolbar features are disabled
2024-10-22 14:13:08 -03:00
Guilherme Pereira Leme
060aa384c3
feat(plugin): Add possible way of updating a component without changing it completely ( #21476 )
2024-10-21 15:11:10 -03:00
João Victor
7584c63ee6
fix(chat): Add Math.ceil when calculating the page of the message
2024-10-21 15:06:56 -03:00
João Victor
6eb11f41b0
fix(chat): A few fixes
...
- Sort reactions by least recent and then by reaction count.
- Wrong condition for checking if a user is moderator was preventing moderators rom reacting to messages if locking public chat was activated.
- Wrong condition for checking if a user is moderator was preventing moderators from editing messages if locking public chat was activated.
- Display message time for all messages.
2024-10-18 14:37:29 -03:00
João Victor
dce4336ecc
fix(chat): Start background animation just after scroll animation
2024-10-18 14:37:29 -03:00
João Victor
9d518ac2b7
fix(chat): Move message highlight request listeners to page component, reducing the number of listeners
2024-10-18 14:37:28 -03:00
João Victor
a60f32c49a
fix(chat): Change background color animation duration to 1s
2024-10-18 14:37:28 -03:00
João Victor
fb5341a5eb
fix(chat): Typescript error
2024-10-18 14:37:28 -03:00
João Victor
8d37029c85
fix(chat): Smoothen scrolling animation on message reply click
2024-10-18 14:37:28 -03:00
João Victor
719d2e6296
fix(chat): Keep the original background color after scroll animation
2024-10-18 14:37:28 -03:00
João Victor
36a77040c6
fix(chat): Highlight just the message content when clicking the replied message
2024-10-18 14:37:28 -03:00
João Victor
66c1d262ef
fix(chat): Update all replies of a message when it is deleted
2024-10-18 14:37:27 -03:00
João Victor
c2de62e065
fix(chat): Keep message list scroll stuck at the bottom when either reply preview or edit warning are open
2024-10-18 14:37:27 -03:00
João Victor
f0636ca40b
styles(chat): Disable selection of message reactions
2024-10-18 14:37:22 -03:00
João Victor
a6b634b774
styles(chat): Use the reactions icon for the message reaction button
2024-10-18 14:37:16 -03:00
João Victor
4712f0f171
styles(chat): Statically positioned edit warning element makes the message list shrink
2024-10-18 14:37:10 -03:00
João Victor
79d8f868ff
styles(chat): Statically positioned reply intention element makes the message list shrink
2024-10-18 14:36:59 -03:00
João Victor
0f20eb936b
fix(chat): Do not highlight messages that does not have toolbar
2024-10-17 14:28:20 -03:00
João Victor
4725e64229
fix(chat): Reset both editing and replying states after sending an message
2024-10-17 13:39:51 -03:00
João Victor
3f52a58335
fix(chat): Add ability to cancel an editing by clicking on the warning message
2024-10-17 13:39:51 -03:00
João Victor
ad5b19e03e
style(chat): Replied message and reply preview with white background
2024-10-17 13:39:51 -03:00
João Victor
fdb0805805
fix(chat): Canceling a reply intention not working
2024-10-17 13:39:50 -03:00
João Victor
825951f963
fix(chat): Adjust away message localization
2024-10-17 13:39:50 -03:00
João Victor
621c1ad0bf
style(chat): Add background color to message content
2024-10-17 13:39:50 -03:00
Ramón Souza
d1ee773564
Update bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/page/chat-message/message-toolbar/component.tsx
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-10-17 10:31:41 -03:00
João Victor
e3fc7e713c
test(chat): Adjust notification message selector
2024-10-17 09:04:29 -03:00
João Victor Nunes
83514efe58
styles(chat): a new chat UI
2024-10-17 09:03:33 -03:00
João Victor Nunes
93f82e2d90
feat(chat): message reactions ( #21385 )
...
* feat(chat): message reactions
* fix: Revert settings.yml change introduced in #21355
2024-10-16 13:33:07 -03:00
Ramón Souza
d2afb2824b
Merge pull request #21355 from JoVictorNunes/chat-message-edit-and-delete
...
feat(chat): Add ability to edit and delete messages
2024-10-14 17:20:30 -03:00
João Victor
2315887f9e
fix(chat): Deleted messages in chat exports
2024-10-14 16:40:32 -03:00
Ramón Souza
29b04f37e4
enable private chat with moderators for locked viewers
2024-10-10 09:22:34 -03:00
Ramón Souza
e80511144e
Merge pull request #21335 from JoVictorNunes/chat-replies-feat
...
feat(chat): message replies
2024-10-09 15:29:35 -03:00
João Victor
4d64ef45a8
Merge branch 'chat-replies-feat' into chat-message-edit-and-delete
2024-10-07 08:39:06 -03:00
João Victor
a46afa8cd0
fix(chat): Add support for disabledFeatures in chat message toolbar
2024-10-07 08:37:35 -03:00
Joao
a9ab4a3dcd
fix(chat): Tweak the memoization functions for chat messages
2024-10-04 15:27:50 -03:00
Joao
f979bc55bd
fix(chat): Add missing graphql fields for chat messages subscription
2024-10-04 13:51:13 -03:00
Joao
bc1da9b7db
Merge branch 'v3.0.x-release' into chat-message-edit-and-delete
2024-10-04 11:25:39 -03:00
Joao
0f6aec4cd5
fix(chat): Message toolbar fixes
...
- Keep message toolbar open while toolbar menu is open.
- Hide edit and delete controls for users without permissions.
2024-10-04 11:13:07 -03:00
Joao
c47f88e3b4
fix(chat): some localization labels
2024-10-03 19:02:37 -03:00
Joao
f49e0c3a33
feat(chat): edit and delete messages
2024-10-03 18:46:59 -03:00
Joao
c87c590f82
fix(chat): Hide message toolbar if user is locked
2024-10-03 16:36:08 -03:00
Joao
a5a3a0a391
fix(chat): a lot of reply UI fixes
...
- Fixed reply container height
- Positioning of the reply element
- Stacking of elements
- chatEmphasizedText in replies
- Support for markdown
2024-10-03 16:24:32 -03:00
André Castro
16444dd4ce
style/enhancement: Adapting poll results to various screen types. ( #21329 )
2024-10-03 15:07:08 -04:00
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
Joao
8b879a2b09
fix: Hide message toolbar for system messages
2024-10-02 20:57:18 -03:00
João Victor Nunes
e60184c40e
fix: Tweak config for chat replies
...
- Use singular form.
- Disable it by default.
Co-authored-by: Gustavo Trott <gustavo@trott.com.br>
2024-10-02 20:45:05 -03:00
Joao
a4798695b4
feat(chat): message replies
2024-10-02 19:28:02 -03:00
Ramón Souza
cf09d183ea
remove empty object
2024-09-24 08:52:28 -03:00
Ramón Souza
1a36f24445
fix chat popup notification for user away ( #21212 )
2024-09-19 13:35:39 -04:00