diff --git a/scripts/validate-translations.js b/scripts/validate-translations.js index f97f3e3b3..26d7fbb04 100644 --- a/scripts/validate-translations.js +++ b/scripts/validate-translations.js @@ -36,6 +36,7 @@ const identicalTranslations = [ "Type:", "type", "Google Analytics (GA4)", + "GRAPHWISE – AI THRIVES ON WHOLE DATA", // File formats: "JSON", diff --git a/src/css/ttyg/chat-panel.css b/src/css/ttyg/chat-panel.css index d4ca90ee0..170379a91 100644 --- a/src/css/ttyg/chat-panel.css +++ b/src/css/ttyg/chat-panel.css @@ -11,6 +11,12 @@ clip: rect(0, auto, auto, 0); } +.chat-panel.no-content { + justify-content: center; + align-items: center; + height: inherit !important; +} + .chat-panel .chat-details { display: flex; flex-direction: column; @@ -59,11 +65,17 @@ } .chat-panel .messages-hint { - font-size: 2em; - padding-top: 2em; text-align: center; } +.chat-panel .messages-hint .hint1 { + font-size: 1.5rem; +} + +.chat-panel .messages-hint .hint2 { + font-size: 1.5rem; +} + .chat-panel .new-question { width: 100%; padding: 0 1rem; diff --git a/src/i18n/locale-en.json b/src/i18n/locale-en.json index 7b1480f26..3eb187f86 100644 --- a/src/i18n/locale-en.json +++ b/src/i18n/locale-en.json @@ -276,7 +276,8 @@ } }, "chat_panel": { - "hint": "Talk to your graph – simply ask a question!", + "hint1": "GRAPHWISE – AI THRIVES ON WHOLE DATA", + "hint2": "Simply ask a question!", "deleted_agent": " deleted agent", "btn": { "ask": { diff --git a/src/i18n/locale-fr.json b/src/i18n/locale-fr.json index 664e158c7..87ef02ec1 100644 --- a/src/i18n/locale-fr.json +++ b/src/i18n/locale-fr.json @@ -276,7 +276,8 @@ } }, "chat_panel": { - "hint": "Parlez à votre graphe – posez simplement une question !\nPour le moment, cela fonctionne mieux si vous demandez en anglais, désolé !", + "hint1": "GRAPHWISE – AI THRIVES ON WHOLE DATA", + "hint2": "Posez simplement une question !", "deleted_agent": " agent supprimé", "btn": { "ask": { diff --git a/src/js/angular/ttyg/templates/chat-panel.html b/src/js/angular/ttyg/templates/chat-panel.html index 4cd9adaea..409e0e8fe 100644 --- a/src/js/angular/ttyg/templates/chat-panel.html +++ b/src/js/angular/ttyg/templates/chat-panel.html @@ -1,14 +1,10 @@ -
+
-
- {{ 'ttyg.chat_panel.hint' | translate }} -
- -
+
@@ -51,4 +47,9 @@ {{ 'ttyg.chat_panel.btn.ask.label ' | translate }}
+ +
+
+
+
diff --git a/test-cypress/fixtures/locale-en.json b/test-cypress/fixtures/locale-en.json index ea620c9f1..53ac6cf84 100644 --- a/test-cypress/fixtures/locale-en.json +++ b/test-cypress/fixtures/locale-en.json @@ -276,7 +276,8 @@ } }, "chat_panel": { - "hint": "Talk to your graph – simply ask a question!", + "hint1": "GRAPHWISE – AI THRIVES ON WHOLE DATA", + "hint2": "Simply ask a question!", "deleted_agent": " deleted agent", "btn": { "ask": {