Open rasmusei opened 2 years ago
Example to send event as a new message:
curl --location --request POST 'https://localhost:8080/post-message' \
--header 'Cookie:'testCookie' \
--header 'Content-Type: application/json' \
--data-raw '{
"chatId": "23f2ebbc-90d4-4716-9894-9e14f553a852",
"authorRole": "end-user",
"authorTimestamp": "2023-01-13T14:23:52.953Z",
"content": "some Message Read content",
"event": "message-read"
}'
CSA can read event from cs-get-new-messages
request
Since End-User messages do not arrive backoffice yet, i will wait for task https://github.com/buerokratt/Buerokratt-Chatbot/issues/250 to get finished before testing this.
Working as intended.
[BUG] Every time CSA sends a message, it automatically receives a 'Read/Loetud' notification, even if the End-User has not actually viewed the message. Screencast from 22.08.2024 11:18:52.webm
Above PRs ready for merge @rasmusei @turnerrainer
CSA gets "Loetud" even when the end user has not seen the chat (widget window is minimized)
CSA gets "Loetud" even when the end user has not seen the chat (widget window is minimized)
Working on local, needs to be rechecked on dev environment
https://github.com/user-attachments/assets/3b88de43-95c7-4dc1-bddd-f95e6bcf52a7
Works as intended.
AS A CSA I WANT TO have messages marked as delivered and read by End User SO THAT I have confirmation that End User has received and seen my message
Acceptance Criteria
GUI
DSL
message
database tablemessage_read