Skip to content

Commit

Permalink
Merge pull request #83 from eea/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
avoinea authored Aug 17, 2023
2 parents 7902f29 + b56efc2 commit c100969
Show file tree
Hide file tree
Showing 23 changed files with 677 additions and 261 deletions.
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,43 @@ 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).

### [10.0.0](https://github.com/eea/volto-accordion-block/compare/9.3.0...10.0.0) - 17 August 2023

#### :boom: Breaking Change

- breaking(accordion): use a single icon component with titleIcons config and added panel filtering option #82 from eea/accordion-filter [dana-cfc4 - [`902005a`](https://github.com/eea/volto-accordion-block/commit/902005a7c7e8ed65ec6cb7f32d45a394a474acfa)]

#### :rocket: New Features

- feat(filter): added unit testing for filtering [David Ichim - [`8517248`](https://github.com/eea/volto-accordion-block/commit/851724853f4af8f070f44a22d38b878b773c0e2f)]

#### :bug: Bug Fixes

- fix: i18n - Fix untranslated text persent in addon [Alok Kumar - [`e624d9b`](https://github.com/eea/volto-accordion-block/commit/e624d9b108dc170835adf9be15feaaed347c556c)]
- fix(filter): pass options to Icon component instead of reading always from config [David Ichim - [`f111235`](https://github.com/eea/volto-accordion-block/commit/f1112354d83b0518edf2165b2d19715899810e0c)]
- fix(filter): use config from param after latest change to pass only accordion config [David Ichim - [`aae122e`](https://github.com/eea/volto-accordion-block/commit/aae122ec87947f5dee8c5974d2bfc6848274f3a4)]

#### :nail_care: Enhancements

- change(filter): use volto icons as fallback is iconComponent option isn't set [David Ichim - [`bd504d3`](https://github.com/eea/volto-accordion-block/commit/bd504d34762e2d6e4ea7996fee962fdbaeac268c)]
- change(filter): test now uses dummy accordionConfig without tie to real accordion config [David Ichim - [`90ce56e`](https://github.com/eea/volto-accordion-block/commit/90ce56e47715a0066727b05f4b5facc555a9d450)]

#### :house: Internal changes

- chore(accordion): fixed missing key warning and cleaned commented code from tests [David Ichim - [`290f391`](https://github.com/eea/volto-accordion-block/commit/290f391d95b46a0ae162f4d3f0164772b22e18b1)]

#### :house: Documentation changes

- docs: Cleanup Makefile, update DEVELOP documentation, i18n - refs #254894 [valentinab25 - [`f7e97d4`](https://github.com/eea/volto-accordion-block/commit/f7e97d4db19b1c177b18bedca299c53520089145)]

#### :hammer_and_wrench: Others

- test: Fix AccordionFilter jest tests to include i18n [Alin Voinea - [`eb1e849`](https://github.com/eea/volto-accordion-block/commit/eb1e849010aa4da9855d42fd55f7fb231e77e394)]
- i18n: Filter input placeholder [Alin Voinea - [`6acbd1f`](https://github.com/eea/volto-accordion-block/commit/6acbd1f33d2a4f3a5f3467a4b92eb1e33a6c4bde)]
- i18n [Alin Voinea - [`68a8817`](https://github.com/eea/volto-accordion-block/commit/68a881788576941eecbc6dc874c42720d70fc7ea)]
- better key set to accordion on edit avoiding warning about key being index [David Ichim - [`21bb15f`](https://github.com/eea/volto-accordion-block/commit/21bb15fc77ead710fcb70d5632ccdb9499066f9b)]
- use the index of key instead of uid as the uid ended up performing a click every time you clicked on the accordion title [David Ichim - [`0477d22`](https://github.com/eea/volto-accordion-block/commit/0477d22eef10fd586001dacf1d0a5171b465768f)]
- add missing commit where accordion filter only receives the accordion config [David Ichim - [`db64f21`](https://github.com/eea/volto-accordion-block/commit/db64f21bcc0978d837ac35469eeafe927a62c792)]
### [9.3.0](https://github.com/eea/volto-accordion-block/compare/9.2.0...9.3.0) - 26 July 2023

#### :rocket: New Features
Expand Down
25 changes: 25 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,31 @@ pipeline {
}
}

stage('SonarQube compare to master') {
when {
allOf {
environment name: 'CHANGE_ID', value: ''
branch 'develop'
not { changelog '.*^Automated release [0-9\\.]+$' }
}
}
steps {
node(label: 'docker') {
script {
sh '''docker pull eeacms/gitflow'''
sh '''echo "Error" > checkresult.txt'''
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
sh '''set -o pipefail; docker run -i --rm --name="$BUILD_TAG-gitflow-sn" -e GIT_BRANCH="$BRANCH_NAME" -e GIT_NAME="$GIT_NAME" eeacms/gitflow /checkSonarqubemaster.sh | grep -v "Found script" | tee checkresult.txt'''
}

publishChecks name: 'SonarQube', title: 'Sonarqube Code Quality Check', summary: "Quality check on the SonarQube metrics from branch develop, comparing it with the ones from master branch. No bugs are allowed",
text: readFile(file: 'checkresult.txt'), conclusion: "${currentBuild.currentResult}",
detailsURL: "${env.BUILD_URL}display/redirect"
}
}
}
}

stage('Pull Request') {
when {
not {
Expand Down
20 changes: 20 additions & 0 deletions locales/de/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ msgstr "Akkordeon"
msgid "Accordion Title size"
msgstr "Akkordeon Schriftgröße Titel"

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Accordion block
msgid "Accordion block"
msgstr "Akkordeon Block"

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Accordion theme
msgid "Accordion theme"
Expand All @@ -46,11 +51,21 @@ msgstr "Erlaube mehrere Panele zur gleichen Zeit geöffnet zu haben"
msgid "Collapsed by default"
msgstr "Eingeklappt ist der Standard"

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Enable filtering
msgid "Enable filtering"
msgstr "Filterung aktivieren"

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Friendly name
msgid "Friendly name"
msgstr "Kurzname"

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Headline
msgid "Headline"
msgstr ""

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Non exclusive
msgid "Non exclusive"
Expand Down Expand Up @@ -96,6 +111,11 @@ msgstr "Titel-Icon auf der rechten Seite anzeigen"
msgid "Title size"
msgstr "Schriftgröße Titel"

#: components/manage/Blocks/Accordion/AccordionFilter
# defaultMessage: Type to filter...
msgid "Type to filter..."
msgstr "Filter..."

#: components/manage/Blocks/Accordion/EditBlockWrapper
# defaultMessage: Unknown Block {block}
msgid "Unknown Block"
Expand Down
20 changes: 20 additions & 0 deletions locales/it/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ msgstr "Accordion"
msgid "Accordion Title size"
msgstr "Dimensione del titolo"

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Accordion block
msgid "Accordion block"
msgstr "Blocco Accordion"

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Accordion theme
msgid "Accordion theme"
Expand All @@ -46,11 +51,21 @@ msgstr "Consente di avere più pannelli aperti contemporaneamente"
msgid "Collapsed by default"
msgstr "Collassati di default"

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Enable filtering
msgid "Enable filtering"
msgstr "Abilita il filtro"

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Friendly name
msgid "Friendly name"
msgstr "Titolo dell'elemento"

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Headline
msgid "Headline"
msgstr "Titolo"

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Non exclusive
msgid "Non exclusive"
Expand Down Expand Up @@ -96,6 +111,11 @@ msgstr "Mostra l'icona sulla destra"
msgid "Title size"
msgstr "Dimensione del titolo"

#: components/manage/Blocks/Accordion/AccordionFilter
# defaultMessage: Type to filter...
msgid "Type to filter..."
msgstr "Filtra..."

#: components/manage/Blocks/Accordion/EditBlockWrapper
# defaultMessage: Unknown Block {block}
msgid "Unknown Block"
Expand Down
20 changes: 20 additions & 0 deletions locales/pt_BR/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ msgstr "Acordeão"
msgid "Accordion Title size"
msgstr "Tamanho do título do Acordeão"

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Accordion block
msgid "Accordion block"
msgstr "Acordeão bloco"

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Accordion theme
msgid "Accordion theme"
Expand All @@ -46,11 +51,21 @@ msgstr "Permitir muitos painéis abertos ao mesmo tempo"
msgid "Collapsed by default"
msgstr "Por padrão fechado"

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Enable filtering
msgid "Enable filtering"
msgstr ""

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Friendly name
msgid "Friendly name"
msgstr "Nome amigável"

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Headline
msgid "Headline"
msgstr ""

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Non exclusive
msgid "Non exclusive"
Expand Down Expand Up @@ -96,6 +111,11 @@ msgstr "Ícone do título à direita"
msgid "Title size"
msgstr "Tamanho do título"

#: components/manage/Blocks/Accordion/AccordionFilter
# defaultMessage: Type to filter...
msgid "Type to filter..."
msgstr "Filtrar..."

#: components/manage/Blocks/Accordion/EditBlockWrapper
# defaultMessage: Unknown Block {block}
msgid "Unknown Block"
Expand Down
20 changes: 20 additions & 0 deletions locales/ro/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ msgstr "Acordeon"
msgid "Accordion Title size"
msgstr "Mărimea titlului acordeonului"

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Accordion block
msgid "Accordion block"
msgstr "Bloc Accordeon"

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Accordion theme
msgid "Accordion theme"
Expand All @@ -41,11 +46,21 @@ msgstr "Permite deschiderea mai multor panouri simultan"
msgid "Collapsed by default"
msgstr "Închis implicit"

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Enable filtering
msgid "Enable filtering"
msgstr "Filtrare"

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Friendly name
msgid "Friendly name"
msgstr "Nume"

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Headline
msgid "Headline"
msgstr "Mărime title"

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Non exclusive
msgid "Non exclusive"
Expand Down Expand Up @@ -91,6 +106,11 @@ msgstr "Pictograma în dreapta titlului"
msgid "Title size"
msgstr "Mărime titlu"

#: components/manage/Blocks/Accordion/AccordionFilter
# defaultMessage: Type to filter...
msgid "Type to filter..."
msgstr "Filtrează..."

#: components/manage/Blocks/Accordion/EditBlockWrapper
# defaultMessage: Unknown Block {block}
msgid "Unknown Block"
Expand Down
22 changes: 21 additions & 1 deletion locales/volto.pot
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: Plone\n"
"POT-Creation-Date: 2022-09-27T08:42:53.695Z\n"
"POT-Creation-Date: 2023-08-17T16:01:50.964Z\n"
"Last-Translator: Plone i18n <[email protected]>\n"
"Language-Team: Plone i18n <[email protected]>\n"
"MIME-Version: 1.0\n"
Expand All @@ -23,6 +23,11 @@ msgstr ""
msgid "Accordion Title size"
msgstr ""

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Accordion block
msgid "Accordion block"
msgstr ""

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Accordion theme
msgid "Accordion theme"
Expand All @@ -43,11 +48,21 @@ msgstr ""
msgid "Collapsed by default"
msgstr ""

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Enable filtering
msgid "Enable filtering"
msgstr ""

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Friendly name
msgid "Friendly name"
msgstr ""

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Headline
msgid "Headline"
msgstr ""

#: components/manage/Blocks/Accordion/Schema
# defaultMessage: Non exclusive
msgid "Non exclusive"
Expand Down Expand Up @@ -93,6 +108,11 @@ msgstr ""
msgid "Title size"
msgstr ""

#: components/manage/Blocks/Accordion/AccordionFilter
# defaultMessage: Type to filter...
msgid "Type to filter..."
msgstr ""

#: components/manage/Blocks/Accordion/EditBlockWrapper
# defaultMessage: Unknown Block {block}
msgid "Unknown Block"
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-accordion-block",
"version": "9.3.0",
"version": "10.0.0",
"description": "volto-accordion-block: Volto accordion block",
"main": "src/index.js",
"author": "European Environment Agency: IDM2 A-Team",
Expand Down
Loading

0 comments on commit c100969

Please sign in to comment.