From 3ed46ff8d4e8c49ffa4762e75ef1178adf160ebe Mon Sep 17 00:00:00 2001 From: EEA Jenkins Date: Fri, 11 Oct 2024 12:56:11 +0300 Subject: [PATCH 01/10] Add Sonarqube tag using eea-website-frontend addons list --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index c0cac6f..9c5c481 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ pipeline { environment { GIT_NAME = "volto-chatbot" NAMESPACE = "@eeacms" - SONARQUBE_TAGS = "volto.eea.europa.eu" + SONARQUBE_TAGS = "volto.eea.europa.eu,www.eea.europa.eu-en" DEPENDENCIES = "" BACKEND_PROFILES = "eea.kitkat:testing" BACKEND_ADDONS = "" From d24eef031076d1991b52dfadf0ae8b89d8db7fa4 Mon Sep 17 00:00:00 2001 From: EEA Jenkins Date: Fri, 11 Oct 2024 12:57:37 +0300 Subject: [PATCH 02/10] Add Sonarqube tag using eea-website-frontend addons list --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9c5c481..ce19fef 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ pipeline { environment { GIT_NAME = "volto-chatbot" NAMESPACE = "@eeacms" - SONARQUBE_TAGS = "volto.eea.europa.eu,www.eea.europa.eu-en" + SONARQUBE_TAGS = "volto.eea.europa.eu,demo-www.eea.europa.eu" DEPENDENCIES = "" BACKEND_PROFILES = "eea.kitkat:testing" BACKEND_ADDONS = "" From e22c2d4f54b50ec9085f309a7e20580cdd83850b Mon Sep 17 00:00:00 2001 From: EEA Jenkins Date: Fri, 11 Oct 2024 17:14:48 +0300 Subject: [PATCH 03/10] Add Sonarqube tag using freshwater-frontend addons list --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index ce19fef..56967c3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ pipeline { environment { GIT_NAME = "volto-chatbot" NAMESPACE = "@eeacms" - SONARQUBE_TAGS = "volto.eea.europa.eu,demo-www.eea.europa.eu" + SONARQUBE_TAGS = "volto.eea.europa.eu,demo-www.eea.europa.eu,water.europa.eu-freshwater" DEPENDENCIES = "" BACKEND_PROFILES = "eea.kitkat:testing" BACKEND_ADDONS = "" From eeb96e3b35b513dd8baecf83bfa17943454f6c3a Mon Sep 17 00:00:00 2001 From: EEA Jenkins Date: Fri, 11 Oct 2024 21:59:00 +0300 Subject: [PATCH 04/10] Add Sonarqube tag using eea-website-frontend addons list --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 56967c3..6724fa0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ pipeline { environment { GIT_NAME = "volto-chatbot" NAMESPACE = "@eeacms" - SONARQUBE_TAGS = "volto.eea.europa.eu,demo-www.eea.europa.eu,water.europa.eu-freshwater" + SONARQUBE_TAGS = "volto.eea.europa.eu,demo-www.eea.europa.eu,water.europa.eu-freshwater,www.eea.europa.eu-en" DEPENDENCIES = "" BACKEND_PROFILES = "eea.kitkat:testing" BACKEND_ADDONS = "" From 3eceba38c461e2faf8056df73b9e684244cda028 Mon Sep 17 00:00:00 2001 From: EEA Jenkins Date: Mon, 14 Oct 2024 14:38:02 +0300 Subject: [PATCH 05/10] Add Sonarqube tag using clms-frontend addons list --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6724fa0..d7a1841 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ pipeline { environment { GIT_NAME = "volto-chatbot" NAMESPACE = "@eeacms" - SONARQUBE_TAGS = "volto.eea.europa.eu,demo-www.eea.europa.eu,water.europa.eu-freshwater,www.eea.europa.eu-en" + SONARQUBE_TAGS = "volto.eea.europa.eu,demo-www.eea.europa.eu,water.europa.eu-freshwater,www.eea.europa.eu-en,land.copernicus.eu" DEPENDENCIES = "" BACKEND_PROFILES = "eea.kitkat:testing" BACKEND_ADDONS = "" From b846288fd9dc712712bb271e0dcb4e0247d8410d Mon Sep 17 00:00:00 2001 From: EEA Jenkins Date: Mon, 14 Oct 2024 17:07:32 +0300 Subject: [PATCH 06/10] Add Sonarqube tag using marine-frontend addons list --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d7a1841..6f5678d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ pipeline { environment { GIT_NAME = "volto-chatbot" NAMESPACE = "@eeacms" - SONARQUBE_TAGS = "volto.eea.europa.eu,demo-www.eea.europa.eu,water.europa.eu-freshwater,www.eea.europa.eu-en,land.copernicus.eu" + SONARQUBE_TAGS = "volto.eea.europa.eu,demo-www.eea.europa.eu,water.europa.eu-freshwater,www.eea.europa.eu-en,land.copernicus.eu,water.europa.eu-marine" DEPENDENCIES = "" BACKEND_PROFILES = "eea.kitkat:testing" BACKEND_ADDONS = "" From 537ca05e2a5aae8bb7b70ff9660f3d6185eb0e79 Mon Sep 17 00:00:00 2001 From: EEA Jenkins Date: Mon, 14 Oct 2024 17:25:15 +0300 Subject: [PATCH 07/10] Add Sonarqube tag using cca-frontend addons list --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6f5678d..0df5b06 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ pipeline { environment { GIT_NAME = "volto-chatbot" NAMESPACE = "@eeacms" - SONARQUBE_TAGS = "volto.eea.europa.eu,demo-www.eea.europa.eu,water.europa.eu-freshwater,www.eea.europa.eu-en,land.copernicus.eu,water.europa.eu-marine" + SONARQUBE_TAGS = "volto.eea.europa.eu,demo-www.eea.europa.eu,water.europa.eu-freshwater,www.eea.europa.eu-en,land.copernicus.eu,water.europa.eu-marine,climate-adapt.eea.europa.eu" DEPENDENCIES = "" BACKEND_PROFILES = "eea.kitkat:testing" BACKEND_ADDONS = "" From 77052f94565b16be1b421dcf5296b8b027a98bfa Mon Sep 17 00:00:00 2001 From: Zoltan Szabo Date: Thu, 17 Oct 2024 12:44:29 +0300 Subject: [PATCH 08/10] fix: updated for danswer api changes --- src/ChatBlock/lib.js | 2 +- src/ChatBlock/useBackendChat.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ChatBlock/lib.js b/src/ChatBlock/lib.js index 3efed91..7c63be2 100644 --- a/src/ChatBlock/lib.js +++ b/src/ChatBlock/lib.js @@ -271,7 +271,7 @@ export async function fetchRelatedQuestions(message, qgenAsistantId) { parentMessageId: null, chatSessionId, promptId: 0, - filters: [], + filters: {}, selectedDocumentIds: [], }; const promise = updateCurrentMessageFIFO(params, {}, () => {}); diff --git a/src/ChatBlock/useBackendChat.js b/src/ChatBlock/useBackendChat.js index 49dc6f1..ca98f4f 100644 --- a/src/ChatBlock/useBackendChat.js +++ b/src/ChatBlock/useBackendChat.js @@ -245,7 +245,7 @@ class SubmitHandler { parentMessageId: lastSuccessfulMessageId, chatSessionId: this.currChatSessionId, promptId: 0, - filters: [], + filters: {}, selectedDocumentIds: [], queryOverride, forceSearch, From 4278486073e7e7911d136a781cfe70cd1c6c1a1a Mon Sep 17 00:00:00 2001 From: kreafox Date: Thu, 17 Oct 2024 12:51:46 +0300 Subject: [PATCH 09/10] test: update snapshot --- src/ChatBlock/__snapshots__/Source.test.jsx.snap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ChatBlock/__snapshots__/Source.test.jsx.snap b/src/ChatBlock/__snapshots__/Source.test.jsx.snap index 479ab85..c9e35de 100644 --- a/src/ChatBlock/__snapshots__/Source.test.jsx.snap +++ b/src/ChatBlock/__snapshots__/Source.test.jsx.snap @@ -41,7 +41,7 @@ exports[`SourceDetails should render the component with doc type 1`] = ` className="source-date" > - 6 months ago + 7 months ago
Date: Thu, 17 Oct 2024 10:01:36 +0000 Subject: [PATCH 10/10] Automated release 0.1.7 --- CHANGELOG.md | 16 ++++++++++++++++ package.json | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb7f6f6..5abbc88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,22 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +### [0.1.7](https://github.com/eea/volto-chatbot/compare/0.1.6...0.1.7) - 17 October 2024 + +#### :bug: Bug Fixes + +- fix: updated for danswer api changes [Zoltan Szabo - [`77052f9`](https://github.com/eea/volto-chatbot/commit/77052f94565b16be1b421dcf5296b8b027a98bfa)] + +#### :hammer_and_wrench: Others + +- test: update snapshot [kreafox - [`4278486`](https://github.com/eea/volto-chatbot/commit/4278486073e7e7911d136a781cfe70cd1c6c1a1a)] +- Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`537ca05`](https://github.com/eea/volto-chatbot/commit/537ca05e2a5aae8bb7b70ff9660f3d6185eb0e79)] +- Add Sonarqube tag using marine-frontend addons list [EEA Jenkins - [`b846288`](https://github.com/eea/volto-chatbot/commit/b846288fd9dc712712bb271e0dcb4e0247d8410d)] +- Add Sonarqube tag using clms-frontend addons list [EEA Jenkins - [`3eceba3`](https://github.com/eea/volto-chatbot/commit/3eceba38c461e2faf8056df73b9e684244cda028)] +- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`eeb96e3`](https://github.com/eea/volto-chatbot/commit/eeb96e3b35b513dd8baecf83bfa17943454f6c3a)] +- Add Sonarqube tag using freshwater-frontend addons list [EEA Jenkins - [`e22c2d4`](https://github.com/eea/volto-chatbot/commit/e22c2d4f54b50ec9085f309a7e20580cdd83850b)] +- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`d24eef0`](https://github.com/eea/volto-chatbot/commit/d24eef031076d1991b52dfadf0ae8b89d8db7fa4)] +- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`3ed46ff`](https://github.com/eea/volto-chatbot/commit/3ed46ff8d4e8c49ffa4762e75ef1178adf160ebe)] ### [0.1.6](https://github.com/eea/volto-chatbot/compare/0.1.5...0.1.6) - 7 October 2024 #### :bug: Bug Fixes diff --git a/package.json b/package.json index 1780a1a..89344b2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@eeacms/volto-chatbot", - "version": "0.1.6", + "version": "0.1.7", "description": "@eeacms/volto-chatbot: Volto add-on", "main": "src/index.js", "author": "European Environment Agency: IDM2 A-Team",