buerokratt / Buerokratt-Chatbot

1 stars 19 forks source link

Statuses for chats closed by End User #34

Open rasmusei opened 2 years ago

rasmusei commented 2 years ago

AS A Bürokratt I WANT TO get better feedback from End Users, when End User is closing chat SO THAT I can categorize ended chats better for analytic purposes

Acceptance Criteria

GUI Story's:

helemand commented 1 year ago

When option 1 is selected then chat will be ended with status 1 - CLIENT_LEFT_WITH_ACCEPTED When option 2 is selected then chat will be ended with status 2 - CLIENT_LEFT_WITH_NO_RESOLUTION When option 3 is selected then keep the chat open When no response for 1 minute, chat will be ended with status 3 CLIENT_LEFT_FOR_UNKNOWN_REASONS When End User closes web browser, chat will be ended with status 3 CLIENT_LEFT_FOR_UNKNOWN_REASONS

When chat is closed by End User, CSA is notified with respective status description - "client-left" event is added to message table

ceirowe commented 1 year ago

@rasmusei Chat widget updated with AC-s, except the last one. The last AC needs SSE.

sergeirudz commented 1 year ago

@turnerrainer this was done with the following ticket! PR: https://github.com/buerokratt/Chat-Widget/pull/19

MarkusVeltri commented 1 year ago

BUG - When no response for 1 minute, chat will be ended, does not work. If user closes web browser then CSA is not notified and it will not even show for them that chat has ended.

For more detail, look into the comments of #6 .

MarkusVeltri commented 1 year ago

BUG- @1AhmedYasser

  1. The problem, when End User closes chat from X, confirmation box (title: "Kas soovid vestluse sulgeda?") is displayed with 3 options, the second option is "Ei, vastuseta", but instead it should be "Jah, vastuseta". After the confirmation modal, when End User has chosen to close the chat, 5 star rating system is displayed.

  2. How it should be, when End User closes chat from X, confirmation box (title: "Kas soovid vestluse sulgeda?") is displayed with 3 options 1) "Jah, sain vastuse" 2) "Jah, vastuseta" 3) "Ei soovi sulgeda". 5 star rating system should be replaced with NPS rating system.

  3. Problem in detail, the second option should not be "Ei vastuseta", because that would indicate that End User doesn't want to close chat. 5 star rating system is not used in reality and should be replaced with NPS.

  4. As an End User, close the chat from X confirmation box, then you will see the three options.

  5. Image

1AhmedYasser commented 1 year ago

@PaulaMerle @MarkusVeltri 5 star rating system will be replaced with NPS rating system when the user wants to end the chat

MarkusVeltri commented 1 year ago

tested and done

janinakimtrohlev commented 1 year ago

BUG - When End User doesn´t response for 1 minute, chat ended with status Lõpetatud. Should be when no response for 1 minute, chat will be ended with status 3 from ( "Klient lahkus määramata põhjustel") . So right now in history show wrong status.

Image

PaulaMerle commented 1 year ago

@janinakimtrohlev - this is not a bug really. The status 3 is rather long and might not fit well to status column in History page. Hence we can really figure out shorter version for this status. Might be "auto ended" or just "not specified". I prefer first one.

1AhmedYasser commented 1 year ago

@PaulaMerle Changed Lõpetatud to Täpsustamata when there is no status specified for more readablity

janinakimtrohlev commented 1 year ago

Tested and OK