buerokratt / Buerokratt-Chatbot

1 stars 18 forks source link

CSA sees if End User has seen message #11

Open rasmusei opened 2 years ago

rasmusei commented 2 years ago

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

helemand commented 1 year 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

sergeirudz commented 1 year ago

PR: https://github.com/buerokratt/Buerokratt-Chatbot/pull/184

ffrose commented 1 year ago

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.

ffrose commented 1 year ago

Working as intended. image

ffrose commented 1 month ago

[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

joonasroosalung commented 3 weeks ago

PR https://github.com/buerokratt/Buerokratt-Chatbot/pull/852 PR https://github.com/buerokratt/Chat-Widget/pull/304

joonasroosalung commented 3 weeks ago

Above PRs ready for merge @rasmusei @turnerrainer

jaX10bt commented 3 weeks ago

CSA gets "Loetud" even when the end user has not seen the chat (widget window is minimized)

1AhmedYasser commented 5 days ago

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

jaX10bt commented 1 day ago

Works as intended.