Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion GUI/.env.development
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ REACT_APP_ENABLE_MULTI_DOMAIN=TRUE
REACT_APP_SHOW_TEST_CONVERSATIONS=true
REACT_APP_SHOW_TEST_MESSAGE=false
REACT_APP_VALIDATIONS_ENABLED=FALSE
REACT_APP_MENU_JSON=[{"id":"conversations","label":{"et":"Vestlused","en":"Conversations"},"path":"/chat","children":[{"label":{"et":"Vastamata","en":"Unanswered"},"path":"/unanswered"},{"label":{"et":"Aktiivsed","en":"Active"},"path":"/active"},{"label":{"et":"Ootel","en":"Pending"},"path":"/pending"},{"label":{"et":"Ajalugu","en":"History"},"path":"/history"}]},{"id":"training","label":{"et":"Treening","en":"Training"},"path":"/training","children":[{"label":{"et":"Treening","en":"Training"},"path":"/training","children":[{"label":{"et":"Teemad","en":"Themes"},"path":"/training/intents"},{"label":{"et":"Avalikud teemad","en":"Public themes"},"path":"/training/common-intents"},{"label":{"et":"Teemade järeltreenimine","en":"Post training themes"},"path":"/training/intents-followup-training"},{"label":{"et":"Vastused","en":"Answers"},"path":"/training/responses"},{"label":{"et":"Reeglid","en":"Rules"},"path":"/training/rules"},{"label":{"et":"Konfiguratsioon","en":"Configuration"},"path":"/training/configuration"},{"label":{"et":"Vormid","en":"Forms"},"path":"/training/forms"},{"label":{"et":"Mälukohad","en":"Slots"},"path":"/training/slots"},{"label":{"et":"Automatic Teenused","en":"Automatic Services"},"path":"/auto-services"}]},{"label":{"et":"Ajaloolised vestlused","en":"Historical conversations"},"path":"/history","children":[{"label":{"et":"Ajalugu","en":"History"},"path":"/history/history"},{"label":{"et":"Pöördumised","en":"Appeals"},"path":"/history/appeal"}]},{"label":{"et":"Mudelipank ja analüütika","en":"Modelbank and analytics"},"path":"/analytics","children":[{"label":{"et":"Teemade ülevaade","en":"Overview of topics"},"path":"/analytics/overview"},{"label":{"et":"Mudelite võrdlus","en":"Comparison of models"},"path":"/analytics/models"},{"label":{"et":"Testlood","en":"testTracks"},"path":"/analytics/testcases"}]},{"label":{"et":"Treeni uus mudel","en":"Train new model"},"path":"/train-new-model"}]},{"id":"analytics","label":{"et":"Analüütika","en":"Analytics"},"path":"/analytics","children":[{"label":{"et":"Ülevaade","en":"Overview"},"path":"/overview"},{"label":{"et":"Vestlused","en":"Chats"},"path":"/chats"},{"label":{"et":"Tagasiside","en":"Feedback"},"path":"/feedback"},{"label":{"et":"Nõustajad","en":"Advisors"},"path":"/advisors"},{"label":{"et":"Avaandmed","en":"Reports"},"path":"/reports"}]},{"id":"services","label":{"et":"Teenused","en":"Services"},"path":"/services","children":[{"label":{"et":"Ülevaade","en":"Overview"},"path":"/overview"},{"label":{"et":"Uus teenus","en":"New Service"},"path":"/newService"},{"label":{"et":"Automatic Teenused","en":"Automatic Services"},"path":"/auto-services"},{"label":{"et":"Probleemsed teenused","en":"Faulty Services"},"path":"/faultyServices"}]},{"id":"settings","label":{"et":"Haldus","en":"Administration"},"path":"/settings","children":[{"label":{"et":"Kasutajad","en":"Users"},"path":"/users"},{"label":{"et":"Vestlusbot","en":"Chatbot"},"path":"/chatbot","children":[{"label":{"et":"Seaded","en":"Settings"},"path":"/chatbot/settings"},{"label":{"et":"Tervitussõnum","en":"Welcome message"},"path":"/chatbot/welcome-message"},{"label":{"et":"Välimus ja käitumine","en":"Appearance and behavior"},"path":"/chatbot/appearance"},{"label":{"et":"Erakorralised teated","en":"Emergency notices"},"path":"/chatbot/emergency-notices"}]},{"label":{"et":"Asutuse tööaeg","en":"Office opening hours"},"path":"/working-time"},{"label":{"et":"Sessiooni pikkus","en":"Session length"},"path":"/session-length"},{"hidden": false,"label":{"et":"Multidomeenid","en":"Multi-Domains"},"path":"/multi-domains"},{"label":{"et":"Anonümiseerija","en":"Anonymizer"},"path":"/anonymizer"}]},{"id":"monitoring","label":{"et":"Seire","en":"Monitoring"},"path":"/monitoring","children":[{"label":{"et":"Aktiivaeg","en":"Working hours"},"path":"/uptime"}]}]
REACT_APP_CURRENT_VERSION=Version 1.0.0
REACT_APP_MENU_JSON=[{"id":"conversations","label":{"et":"Vestlused","en":"Conversations"},"path":"/chat","children":[{"label":{"et":"Vastamata","en":"Unanswered"},"path":"/unanswered"},{"label":{"et":"Aktiivsed","en":"Active"},"path":"/active"},{"label":{"et":"Ootel","en":"Pending"},"path":"/pending"},{"label":{"et":"Ajalugu","en":"History"},"path":"/history"}]},{"id":"training","label":{"et":"Treening","en":"Training"},"path":"/training","children":[{"label":{"et":"Treening","en":"Training"},"path":"/training","children":[{"label":{"et":"Teemad","en":"Themes"},"path":"/training/intents"},{"label":{"et":"Avalikud teemad","en":"Public themes"},"path":"/training/common-intents"},{"label":{"et":"Teemade järeltreenimine","en":"Post training themes"},"path":"/training/intents-followup-training"},{"label":{"et":"Vastused","en":"Answers"},"path":"/training/responses"},{"label":{"et":"Reeglid","en":"Rules"},"path":"/training/rules"},{"label":{"et":"Konfiguratsioon","en":"Configuration"},"path":"/training/configuration"},{"label":{"et":"Vormid","en":"Forms"},"path":"/training/forms"},{"label":{"et":"Mälukohad","en":"Slots"},"path":"/training/slots"},{"label":{"et":"Automatic Teenused","en":"Automatic Services"},"path":"/auto-services"}]},{"label":{"et":"Ajaloolised vestlused","en":"Historical conversations"},"path":"/history","children":[{"label":{"et":"Ajalugu","en":"History"},"path":"/history/history"},{"label":{"et":"Pöördumised","en":"Appeals"},"path":"/history/appeal"}]},{"label":{"et":"Mudelipank ja analüütika","en":"Modelbank and analytics"},"path":"/analytics","children":[{"label":{"et":"Teemade ülevaade","en":"Overview of topics"},"path":"/analytics/overview"},{"label":{"et":"Mudelite võrdlus","en":"Comparison of models"},"path":"/analytics/models"},{"label":{"et":"Testlood","en":"testTracks"},"path":"/analytics/testcases"}]},{"label":{"et":"Treeni uus mudel","en":"Train new model"},"path":"/train-new-model"}]},{"id":"analytics","label":{"et":"Analüütika","en":"Analytics"},"path":"/analytics","children":[{"label":{"et":"Ülevaade","en":"Overview"},"path":"/overview"},{"label":{"et":"Vestlused","en":"Chats"},"path":"/chats"},{"label":{"et":"Tagasiside","en":"Feedback"},"path":"/feedback"},{"label":{"et":"Nõustajad","en":"Advisors"},"path":"/advisors"},{"label":{"et":"Avaandmed","en":"Reports"},"path":"/reports"}]},{"id":"services","label":{"et":"Teenused","en":"Services"},"path":"/services","children":[{"label":{"et":"Ülevaade","en":"Overview"},"path":"/overview"},{"label":{"et":"Uus teenus","en":"New Service"},"path":"/newService"},{"label":{"et":"Probleemsed teenused","en":"Faulty Services"},"path":"/faultyServices"}]},{"id":"settings","label":{"et":"Haldus","en":"Administration"},"path":"/settings","children":[{"label":{"et":"Kasutajad","en":"Users"},"path":"/users"},{"label":{"et":"Vestlusbot","en":"Chatbot"},"path":"/chatbot","children":[{"label":{"et":"Seaded","en":"Settings"},"path":"/chatbot/settings"},{"label":{"et":"Tervitussõnum","en":"Welcome message"},"path":"/chatbot/welcome-message"},{"label":{"et":"Välimus ja käitumine","en":"Appearance and behavior"},"path":"/chatbot/appearance"},{"label":{"et":"Erakorralised teated","en":"Emergency notices"},"path":"/chatbot/emergency-notices"}]},{"label":{"et":"Asutuse tööaeg","en":"Office opening hours"},"path":"/working-time"},{"label":{"et":"Sessiooni pikkus","en":"Session length"},"path":"/session-length"},{"hidden": false,"label":{"et":"Multidomeenid","en":"Multi-Domains"},"path":"/multi-domains"},{"label":{"et":"Anonümiseerija","en":"Anonymizer"},"path":"/anonymizer"}]},{"id":"monitoring","label":{"et":"Seire","en":"Monitoring"},"path":"/monitoring","children":[{"label":{"et":"Aktiivaeg","en":"Working hours"},"path":"/uptime"}]}]
4 changes: 2 additions & 2 deletions GUI/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"private": true,
"type": "module",
"dependencies": {
"@buerokratt-ria/menu": "^0.2.9",
"@buerokratt-ria/menu": "^0.2.10",
"@buerokratt-ria/header": "^0.1.47",
"@buerokratt-ria/styles": "^0.0.1",
"@buerokratt-ria/common-gui-components": "^0.0.33",
"@buerokratt-ria/common-gui-components": "^0.0.35",
"@fontsource/roboto": "^4.5.8",
"@formkit/auto-animate": "^1.0.0-beta.6",
"@hookform/resolvers": "^2.9.11",
Expand Down
98 changes: 89 additions & 9 deletions GUI/src/components/HistoricalChat/HistoricalChat.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
display: flex;
flex-direction: column;
gap: 4px;
padding-left: 56px;
position: relative;
padding-left: 0px !important;

&:not(:last-child) {
margin-bottom: 8px;
Expand All @@ -61,24 +61,29 @@
&--buerokratt,
&--chatbot {
#{$self} {
&__group-header {
align-items: center;
}

&__group-initials {
background-color: get-color(sapphire-blue-10);
left: 0;
top: 0;
position: relative;
}

&__group-name {
color: get-color(sapphire-blue-10);
text-align: left;
margin-left: 0;
font-size: $veera-font-size-100;
padding-top: 0;
}

&__messages {
display: flex;
flex-direction: column;
gap: 4px;
align-items: flex-start;
padding-left: 50px;
}

&__message-text {
Expand All @@ -97,25 +102,73 @@
}
}

&--end-user {
#{$self} {
&__group-header {
display: flex;
justify-content: flex-end;
align-items: center;
}
}

&__group-initials {
background-color: get-color(sapphire-blue-10);
position: relative !important;
right: 0px !important;
}

&__messages {
display: flex;
flex-direction: column;
gap: 4px;
align-items: flex-end;
padding-left: 50px !important;
}

&__message-text {
background-color: get-color(black-coral-10);
color: get-color(white);

:any-link {
background: url('../../static/icons/link-external-white.svg') no-repeat right center;
padding-right: 1.25em;
color: white;
text-decoration: underline;
}

&:hover {
background-color: #535665;
}
}
}

&--backoffice-user {
#{$self} {
&__group-header {
display: flex;
justify-content: flex-end;
align-items: center;
}

&__group-initials {
background-color: get-color(black-coral-10);
color: get-color(white);
left: 0;
position: relative;
}

&__group-name {
text-align: left;
margin-left: 0;
font-size: $veera-font-size-100;
padding-top: 0;
}

&__messages {
display: flex;
flex-direction: column;
gap: 4px;
align-items: flex-start;
align-items: flex-end;
padding-left: 50px;
}

&__message-text {
Expand All @@ -135,7 +188,15 @@
}
}

&__group-initials {
&__group-header {
display: flex;
align-items: flex-start;
gap: 12px;
min-height: 40px;
}

&__group-initials,
&__group-event-initials {
display: flex;
align-items: center;
justify-content: center;
Expand All @@ -152,22 +213,39 @@
top: 0;
}

&__group-name {
&__group-initials {
top: 0;
}

&__group-event-initials {
bottom: 23px;
}

&__group-name,
&__group-event-name {
font-size: $veera-font-size-100;
line-height: $veera-line-height-500;
font-weight: $veera-font-weight-delta;
text-transform: capitalize;
margin-left: 10rem;
margin-right: 3rem;
text-align: right;
padding-top: 7px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
}

&__group-event-name {
padding-bottom: 4px;
}

&__messages {
display: flex;
flex-direction: column;
gap: 4px;
align-items: flex-end;
padding-left: 50px;
}

&__message {
Expand All @@ -186,6 +264,8 @@
line-height: $veera-line-height-500;
transition: all .25s ease-out;
cursor: pointer;
word-break: break-word;
white-space: pre-wrap;

:any-link {
text-decoration: underline;
Expand Down Expand Up @@ -222,4 +302,4 @@
font-size: 14px;
color: get-color(black-coral-6);
padding-top: 4px;
}
}
Loading
Loading