bigbluebutton-Github/bigbluebutton-html5/imports/ui/core
Arthur B. Grossi 291809bff0
feat(private-chat): message read confirmation feedback (#20722)
* feat(graphql-server): add new view `v_chat_private_read_feedback`

Adds a view called `v_chat_private_read_feedback` to retrieve the last seen time
of the recipient of a private chat.

* refactor(chat): removes unused prop `lastSeenAt`

* feat(private-chat): message read confirmation feedback

Adds message read confirmation feedback feature to private chats.
This feature uses the private chat recipient's `lastSeenAt' attribute to
check which messages were read. Messages read are show in the chat with
a check icon next to it.
Feature behind a flag in settings.yml, which is disabled by default:
- `public.chat.privateMessageReadFeedback.enabled`

* fix(chat): poll chart message

Fixes poll chart message which was not using the full chat width due to
previous changes in chat messages `flex-direction`.

* fix: adds missing initial value for `privateMessageReadFeedback`

* fix: linter errors

* fix(chat): add `recipientHasSeen` property to existing view

This commit changes the way the messages read by the recipient are
tracked. The previous strategy required the client to calculate the read
messages and as a consequence all messages of the given chat
were re-rendered every time the recipient `lastSeenAt` time
changed. The current strategy consists of calculating the read messages
on the server(based on recipient `lastSeenAt`) and just expose to the
client a boolean(`recipientHasSeen`) for each message that indicates whether
it has already been read or not.

* fix: typo in message description

* fix: typo in settings flag

* fix: vertically align icon
2024-07-22 12:01:24 -04:00
..
adapters refactor: add voice activity adapter 2024-07-01 11:08:31 -03:00
enums feature: Introduces API /sendChatMessage endpoint (#20323) 2024-06-06 15:49:52 -04:00
graphql refactor: Remove old userStatus Emoji (#20717) 2024-07-18 08:58:38 -04:00
hooks Remove unnecessary user voice props 2024-07-12 13:26:26 -03:00
initial-values feat(private-chat): message read confirmation feedback (#20722) 2024-07-22 12:01:24 -04:00
local-states fix: tweak video-streams typings (Part 1) 2024-05-01 16:48:12 -03:00
providers Refactor: useUserCurrentData to use subscription instead of depends on context 2024-04-30 10:36:57 -03:00
singletons Fix: cache notification and connection close (#20554) 2024-06-21 11:11:29 -03:00
utils Remove: cluster support in util 2024-07-08 14:56:42 -03:00