Skip to content

Commit

Permalink
Develop (#16)
Browse files Browse the repository at this point in the history
* Add Sonarqube tag using bise-frontend addons list

* Add Sonarqube tag using insitu-frontend addons list

* Add Sonarqube tag using forests-frontend addons list

* Add Sonarqube tag using industry-frontend addons list

* don't crash if match_highlights is missing

* test: update snapshot

* Automated release 0.1.8

---------

Co-authored-by: EEA Jenkins <[email protected]>
Co-authored-by: Krisztina Elekes <[email protected]>
Co-authored-by: EEA Jenkins <@users.noreply.github.com>
  • Loading branch information
3 people authored Nov 26, 2024
1 parent 42e8f8f commit 7baaeb1
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 11 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ 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.8](https://github.com/eea/volto-chatbot/compare/0.1.7...0.1.8) - 26 November 2024

#### :hammer_and_wrench: Others

- test: update snapshot [kreafox - [`9381cb9`](https://github.com/eea/volto-chatbot/commit/9381cb90a4d753c1e76d0c62c142f559fb392032)]
- don't crash if match_highlights is missing [Zoltan Szabo - [`71af903`](https://github.com/eea/volto-chatbot/commit/71af9037338364795075c8522e0e50cdf3bd9560)]
- Add Sonarqube tag using industry-frontend addons list [EEA Jenkins - [`091db2f`](https://github.com/eea/volto-chatbot/commit/091db2f4847d865bf3323f93d56f3e7436bff4b8)]
- Add Sonarqube tag using forests-frontend addons list [EEA Jenkins - [`202b61f`](https://github.com/eea/volto-chatbot/commit/202b61f0d8ae10b2d52e071d83c994593c30d19d)]
- Add Sonarqube tag using insitu-frontend addons list [EEA Jenkins - [`085c2f6`](https://github.com/eea/volto-chatbot/commit/085c2f6e2aeec856525487de19251d661d438361)]
- Add Sonarqube tag using bise-frontend addons list [EEA Jenkins - [`f7ff425`](https://github.com/eea/volto-chatbot/commit/f7ff4253866f3a69152e24024ce5c0cac40455b8)]
### [0.1.7](https://github.com/eea/volto-chatbot/compare/0.1.6...0.1.7) - 17 October 2024

#### :bug: Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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,climate-adapt.eea.europa.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,climate-adapt.eea.europa.eu,biodiversity.europa.eu,insitu.copernicus.eu,forest.eea.europa.eu,industry.eea.europa.eu"
DEPENDENCIES = ""
BACKEND_PROFILES = "eea.kitkat:testing"
BACKEND_ADDONS = ""
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eeacms/volto-chatbot",
"version": "0.1.7",
"version": "0.1.8",
"description": "@eeacms/volto-chatbot: Volto add-on",
"main": "src/index.js",
"author": "European Environment Agency: IDM2 A-Team",
Expand Down
2 changes: 1 addition & 1 deletion src/ChatBlock/Citation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export function Citation({ link, index, value, message }) {
content
) : (
<div>
{document.match_highlights.map((text, i) => (
{document?.match_highlights?.map((text, i) => (
<div key={i} dangerouslySetInnerHTML={{ __html: text }} />
))}
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/ChatBlock/Source.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ describe('SourceDetails', () => {
link: 'https://www.example.com',
source_type: 'file',
semantic_identifier: 'Nam at tortor in tellus',
updated_at: '2024-03-11T14:25:02+00:00',
updated_at: null,
},
};

Expand Down
7 changes: 0 additions & 7 deletions src/ChatBlock/__snapshots__/Source.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@ exports[`SourceDetails should render the component with doc type 1`] = `
xmlns=""
/>
</div>
<div
className="source-date"
>
<span>
7 months ago
</span>
</div>
<div
className="source-desc"
>
Expand Down

0 comments on commit 7baaeb1

Please sign in to comment.