Open PaulaMerle opened 2 years ago
These predefined selections currently all have corresponding matches in a PostgreSQL database.
FYI Added one more selection - Feedback to selected CSA
The First Metric (statuses for closed chats / total chats (Lõpetamise staatused / vestluste arv) & its options cant be derived out from the Postgress database at the moment. As discussed by Varmo, we need to connect the Rassa database in order to pull out the required metrics for the first one. @turnerrainer
statuses for closed chats / total chats (Lõpetamise staatused / vestluste arv) (Already in Postgress DB)
-> Get All Ended Chats
a) customer received response (byk status) (Bürokratt - klient lahkus vastusega (Bureaucrat - the client left with an answer)) b) customer did not receive response (byk status) (Bürokratt - klient lahkus vastuseta (Bureaucrat - the client left without an answer))) c) unspecified reasons when Bürokratt closes idle sessions (Bürokratt - klient lahkus määramata põhjustel (Bureaucrat - the client left for unspecified reasons)) d) accepted response - CSA involved (Nõustaja - aktsepteeritud vastusega (Wizard - with an accepted answer)) e) hate speech - CSA involved (Nõustaja - vihakõne tunnused (Advisor - signs of hate speech)) f) answered to the contact left by the customer - CSA involved (Nõustaja - vastatud teises kanalis (Advisor - answered in another channel)) g) other reasons - CSA involved (Nõustaja - muud põhjused (Advisor - other reasons))
Short summary: When using the English version of the page and selecting a month, then the selection of months is in Estonian. Expected result: the names of months should be in English, when English is selected. Real result: the months are shown in Estonian: How to reproduce: Go to https://admin.dev.buerokratt.ee/analytics/feedback and make sure that "en" is selected as the i18nextLng under the Local Storage under Application, when using the inspect tool. Then select selected months option. Pic:
Short summary: There is no data for "Feedback on advisor conversations", "Feedback to selected advisor" and "Conversations with negative feedback", even though there should be from earlier conversations. This used to work in earlier versions. Expected result: there should be data for the last three feedback tabs, but there is none for any of the period. Real result: there is no data for feedback. How to reproduce: login, go to https://admin.dev.buerokratt.ee/analytics/feedback and check the last three metrics and any time period. You can also try to create a conversation and give feedback as a client. Pic:
Short summary: in the negative feedback chats, there are duplicates of some of the chats and for these duplicates the chat end time is also 1970 for some reason. Expected result: there should not be any duplicates in the list Real result: there are duplicate conversations in the negative feedback list. How to reproduce: Pic: login and go to https://admin.dev.buerokratt.ee/analytics/feedback?page=1 then check the last 30 days of negative feedback chats.
Seems to work as intended
AS AN Analytic module user I WANT TO have predefined chat-related metrics under Tagasiside SO THAT I can visualize them easily by clicking on the desired metric.
Acceptance Criteria
General requirements
User selections for graphics to be shown
[x] Menu button Tagasiside is highlighted
[x] Three drop-down menus available as shown on prototype:
[x] options in -- choose metric --:
[x] options in -- lisavalikud -- for statuses for closed chats / total chats (Lõpetamise staatused / vestluste arv):
GUI
i18n
usedDSL
Ruuter
REST endpoints as CSV
Bug reports
All ACs that have not been ticked, are considered as bugs