bigbluebutton-Github/bbb-graphql-server/metadata
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
..
databases feat(private-chat): message read confirmation feedback (#20722) 2024-07-22 12:01:24 -04:00
actions.graphql Big refactor on Graphql authentication 2024-07-10 18:30:01 -03:00
actions.yaml Merge pull request #20480 from KDSBrowne/v30-enable-whiteboard-infinite-canvas 2024-07-05 17:54:55 -04:00
allow_list.yaml Make guest-wait page fetch data from Hasura 2023-12-12 17:42:44 -03:00
api_limits.yaml Initial implementation of Postgres data and Hasura 2023-03-08 12:23:45 -03:00
backend_configs.yaml Initial implementation of Postgres data and Hasura 2023-03-08 12:23:45 -03:00
cron_triggers.yaml Initial implementation of Postgres data and Hasura 2023-03-08 12:23:45 -03:00
graphql_schema_introspection.yaml Initial implementation of Postgres data and Hasura 2023-03-08 12:23:45 -03:00
inherited_roles.yaml Initial implementation of Postgres data and Hasura 2023-03-08 12:23:45 -03:00
metrics_config.yaml Initial implementation of Postgres data and Hasura 2023-03-08 12:23:45 -03:00
network.yaml Initial implementation of Postgres data and Hasura 2023-03-08 12:23:45 -03:00
opentelemetry.yaml Initial implementation of Postgres data and Hasura 2023-03-08 12:23:45 -03:00
query_collections.yaml remove (gql-server): Removes /rest/clientStartupSettings endpoint (#20735) 2024-07-19 11:30:16 -04:00
remote_schemas.yaml Initial implementation of Postgres data and Hasura 2023-03-08 12:23:45 -03:00
rest_endpoints.yaml remove (gql-server): Removes /rest/clientStartupSettings endpoint (#20735) 2024-07-19 11:30:16 -04:00
version.yaml Initial implementation of Postgres data and Hasura 2023-03-08 12:23:45 -03:00