@eeacms/volto-eea-website-theme 1.24.0 → 1.24.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,21 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ ### [1.24.2](https://github.com/eea/volto-eea-website-theme/compare/1.24.1...1.24.2) - 4 December 2023
8
+
9
+ #### :bug: Bug Fixes
10
+
11
+ - fix: check if schema has properties.data - refs #261239 [dobri1408 - [`b2a5faf`](https://github.com/eea/volto-eea-website-theme/commit/b2a5fafa8e41a4ea2d5124f8f6cd3e6bbd276a21)]
12
+
13
+ ### [1.24.1](https://github.com/eea/volto-eea-website-theme/compare/1.24.0...1.24.1) - 27 November 2023
14
+
15
+ #### :nail_care: Enhancements
16
+
17
+ - change(header): added commented option on how you could add a * option to affect any page that has no layout [David Ichim - [`22f670f`](https://github.com/eea/volto-eea-website-theme/commit/22f670fc6b5876b89c526920226f02558cd84572)]
18
+
19
+ #### :hammer_and_wrench: Others
20
+
21
+ - Revert "test: Temp bypass sonarqube coverage in order to release" [Alin Voinea - [`5c304d5`](https://github.com/eea/volto-eea-website-theme/commit/5c304d573f59e49daa96f92a74f0573fd00205ea)]
7
22
  ### [1.24.0](https://github.com/eea/volto-eea-website-theme/compare/1.23.0...1.24.0) - 22 November 2023
8
23
 
9
24
  #### :bug: Bug Fixes
@@ -25,6 +40,11 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
25
40
  - test: Add real image to cypress test [Alin Voinea - [`4ff591a`](https://github.com/eea/volto-eea-website-theme/commit/4ff591ae3318c9588b4e2114582c0fa6cfdf31ae)]
26
41
  - test: Add cypress tests for Image block styling position and align [Alin Voinea - [`7341ef7`](https://github.com/eea/volto-eea-website-theme/commit/7341ef7b92714fc0cc3ab0c31c39033e7b3e19e7)]
27
42
  - Revert "change(tests): commented out rss test since title block config is missing" [Alin Voinea - [`fb61191`](https://github.com/eea/volto-eea-website-theme/commit/fb611918d6ca380b89b594f283dcf9f685a4b294)]
43
+ - test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`6a3be30`](https://github.com/eea/volto-eea-website-theme/commit/6a3be3092589411af7808a235f76de5222fd3868)]
44
+ - test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`c3978f2`](https://github.com/eea/volto-eea-website-theme/commit/c3978f23375ef066e9fd6f6c2e34ba6c1c058f69)]
45
+ - test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`f672779`](https://github.com/eea/volto-eea-website-theme/commit/f672779e845bec9240ccc901e9f53ec80c5a1819)]
46
+ - test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`ae5d8e3`](https://github.com/eea/volto-eea-website-theme/commit/ae5d8e3f4e04dc2808d47ce2ee886e1b23b528da)]
47
+ - test: [JENKINS] Improve cypress time [valentinab25 - [`170ff0c`](https://github.com/eea/volto-eea-website-theme/commit/170ff0c8e3b30e69479bdf1117e811fea94f1027)]
28
48
  ### [1.23.0](https://github.com/eea/volto-eea-website-theme/compare/1.22.1...1.23.0) - 2 November 2023
29
49
 
30
50
  #### :rocket: New Features
@@ -37,6 +57,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
37
57
 
38
58
  #### :house: Internal changes
39
59
 
60
+ - chore: [JENKINS] Refactor automated testing [valentinab25 - [`f28fce3`](https://github.com/eea/volto-eea-website-theme/commit/f28fce3d1eb815f95fb9aa40de42b10b7e8e30c5)]
40
61
  - chore: husky, lint-staged use fixed versions [valentinab25 - [`6d15088`](https://github.com/eea/volto-eea-website-theme/commit/6d150886c5aeb2ca0b569270486e60f7cc274e2c)]
41
62
  - chore:volto 16 in tests, update docs, fix stylelint overrides [valentinab25 - [`20c0323`](https://github.com/eea/volto-eea-website-theme/commit/20c032380b33c0077c869a05136f93e2fb68e5d4)]
42
63
 
@@ -222,6 +243,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
222
243
 
223
244
  #### :house: Internal changes
224
245
 
246
+ - chore: [JENKINS] Deprecate circularity website [valentinab25 - [`370dcbf`](https://github.com/eea/volto-eea-website-theme/commit/370dcbfbf1a8135ce7b1b3b271b004552a631837)]
225
247
 
226
248
  #### :hammer_and_wrench: Others
227
249
 
@@ -377,6 +399,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
377
399
 
378
400
  #### :hammer_and_wrench: Others
379
401
 
402
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`6c5e2f8`](https://github.com/eea/volto-eea-website-theme/commit/6c5e2f80456e2061d9e9c15fd0a0b91b9ac70568)]
380
403
  ### [1.9.1](https://github.com/eea/volto-eea-website-theme/compare/1.9.0...1.9.1) - 28 February 2023
381
404
 
382
405
  #### :bug: Bug Fixes
@@ -523,6 +546,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
523
546
 
524
547
  - For some reasons types is a string [Alin Voinea - [`3769a09`](https://github.com/eea/volto-eea-website-theme/commit/3769a0981181d5b633f3498daebbe96be8b4b833)]
525
548
  - Fix(redirect): o.filter - refs #157627 [Alin Voinea - [`deb23da`](https://github.com/eea/volto-eea-website-theme/commit/deb23da846444cc96539697fd798429ae0abe89e)]
549
+ - Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`f1fffc5`](https://github.com/eea/volto-eea-website-theme/commit/f1fffc5db96725440863d545580b4e76cce4b796)]
526
550
  ### [1.5.0](https://github.com/eea/volto-eea-website-theme/compare/1.4.2...1.5.0) - 9 January 2023
527
551
 
528
552
  #### :hammer_and_wrench: Others
@@ -556,6 +580,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
556
580
 
557
581
  - Release 1.4.0 [Alin Voinea - [`bd42a0d`](https://github.com/eea/volto-eea-website-theme/commit/bd42a0d26e928cac5d99933194755da3db06b341)]
558
582
  - bump version to use as volto-eea-design-system [David Ichim - [`f4be047`](https://github.com/eea/volto-eea-website-theme/commit/f4be047328b46399b03b612d378b18aaf82e7dc1)]
583
+ - Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`9b7cfef`](https://github.com/eea/volto-eea-website-theme/commit/9b7cfefb4d34fc1c948015e491feb370f9795bd8)]
559
584
  - test(Jenkins): Run tests and cypress with latest canary @plone/volto [Alin Voinea - [`df252a9`](https://github.com/eea/volto-eea-website-theme/commit/df252a9bfed0bb86cadf53c59dd1603b1e2cd822)]
560
585
  ### [1.3.2](https://github.com/eea/volto-eea-website-theme/compare/1.3.1...1.3.2) - 16 December 2022
561
586
 
@@ -565,6 +590,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
565
590
 
566
591
  #### :hammer_and_wrench: Others
567
592
 
593
+ - Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`a43c658`](https://github.com/eea/volto-eea-website-theme/commit/a43c658a7920c8df95e763b9a637f38ce77eba2c)]
568
594
  - Better razzle.config [Tiberiu Ichim - [`81dbf48`](https://github.com/eea/volto-eea-website-theme/commit/81dbf48815fb27facb4f82c9b764540fdf188b2e)]
569
595
  - Better razzle.config [Tiberiu Ichim - [`7bc9da2`](https://github.com/eea/volto-eea-website-theme/commit/7bc9da2cd837ab62a95cd29979cdd9b0055b7d67)]
570
596
  ### [1.3.1](https://github.com/eea/volto-eea-website-theme/compare/1.3.0...1.3.1) - 28 November 2022
@@ -575,6 +601,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
575
601
 
576
602
  #### :hammer_and_wrench: Others
577
603
 
604
+ - yarn 3 [Alin Voinea - [`ea7a709`](https://github.com/eea/volto-eea-website-theme/commit/ea7a7094945312776e9b6f44e371178603e92139)]
578
605
  ### [1.3.0](https://github.com/eea/volto-eea-website-theme/compare/1.2.0...1.3.0) - 22 November 2022
579
606
 
580
607
  #### :rocket: New Features
@@ -615,6 +642,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
615
642
  - Add subsite class to body [Tiberiu Ichim - [`74d700f`](https://github.com/eea/volto-eea-website-theme/commit/74d700fbfd6249a8604762a7e4e49cce857db0f3)]
616
643
  - Add subsite info to header [Tiberiu Ichim - [`47daf8b`](https://github.com/eea/volto-eea-website-theme/commit/47daf8bb6374a1222040626b19d4154df7ba1b83)]
617
644
  - fix eslint [Miu Razvan - [`eb8d0a7`](https://github.com/eea/volto-eea-website-theme/commit/eb8d0a790bc70c0aae256c6ff35f63c4885f338e)]
645
+ - Add Sonarqube tag using circularity-frontend addons list [EEA Jenkins - [`cc578a4`](https://github.com/eea/volto-eea-website-theme/commit/cc578a413b205a8e61e091fab3a88f94cedefc89)]
618
646
  ### [1.1.0](https://github.com/eea/volto-eea-website-theme/compare/1.0.0...1.1.0) - 28 October 2022
619
647
 
620
648
  #### :nail_care: Enhancements
@@ -662,6 +690,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
662
690
 
663
691
  #### :hammer_and_wrench: Others
664
692
 
693
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`33b56ac`](https://github.com/eea/volto-eea-website-theme/commit/33b56acb13fbaf0c5b79e8fc6e13c4b699c79c90)]
665
694
  ### [0.7.3](https://github.com/eea/volto-eea-website-theme/compare/0.7.2...0.7.3) - 22 September 2022
666
695
 
667
696
  #### :hammer_and_wrench: Others
@@ -929,6 +958,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
929
958
  - Header refactor, add custom logo #5 [ichim-david - [`4950235`](https://github.com/eea/volto-eea-website-theme/commit/49502358105437cfeac3b144e6d301cb59aa2346)]
930
959
  - Update footer.config with new publication card component [ichim-david - [`2e38e9a`](https://github.com/eea/volto-eea-website-theme/commit/2e38e9a417f835009d60c80d4eb4b30229f55e45)]
931
960
  - feature(breadcrumbs): implement eea-design-system breadcrumb as Volto component #32 #7 [ichim-david - [`181af41`](https://github.com/eea/volto-eea-website-theme/commit/181af4125ce2b9ddac56dab4723cb11c26633221)]
961
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`da8ceb6`](https://github.com/eea/volto-eea-website-theme/commit/da8ceb68ea68bfbc9504e48ccd4d68277f11ab9a)]
932
962
  - use breadcrumbs from eea-design-system [nileshgulia1 - [`db2f9e9`](https://github.com/eea/volto-eea-website-theme/commit/db2f9e9a4327420a3cce9a9903cd88549b129eab)]
933
963
  - Update theme.config [ichim-david - [`8eca4f4`](https://github.com/eea/volto-eea-website-theme/commit/8eca4f40397a4aeca6d39029c92db78968d37064)]
934
964
  - Added keyContent component to theme.config [ichim-david - [`d86f202`](https://github.com/eea/volto-eea-website-theme/commit/d86f202d0274d839487a88b51cae9a0e899beb23)]
@@ -970,4 +1000,5 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
970
1000
 
971
1001
  #### :hammer_and_wrench: Others
972
1002
 
1003
+ - yarn bootstrap [Alin Voinea - [`6995e9e`](https://github.com/eea/volto-eea-website-theme/commit/6995e9e091f21fdbbdffa8a44fc0e2c626f6d46a)]
973
1004
  - Initial commit [Alin Voinea - [`6a9c03a`](https://github.com/eea/volto-eea-website-theme/commit/6a9c03a7cebe71ca87e82cf58c42904063e9d8d3)]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-website-theme",
3
- "version": "1.24.0",
3
+ "version": "1.24.2",
4
4
  "description": "@eeacms/volto-eea-website-theme: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
package/src/index.js CHANGED
@@ -67,6 +67,15 @@ function tabVariationCustomization(tabs_block_variations, config) {
67
67
  const schema = (oldSchemaEnhancer ? oldSchemaEnhancer(props) : props)
68
68
  .schema;
69
69
  const oldSchemaExtender = schema.properties?.data?.schemaExtender;
70
+
71
+ //check before if schema.properties.data exists
72
+ if (!schema?.properties?.data) {
73
+ schema.properties = {
74
+ ...schema.properties,
75
+ data: {},
76
+ };
77
+ }
78
+
70
79
  schema.properties.data.schemaExtender = (schema, child) => {
71
80
  const innerSchema = oldSchemaExtender
72
81
  ? oldSchemaExtender(schema, child)
@@ -413,6 +422,10 @@ const applyConfig = (config) => {
413
422
  '/en/about': {
414
423
  hideChildrenFromNavigation: false,
415
424
  },
425
+ // if you want to set default settings for all menu items that don't have a specific path
426
+ // '*': {
427
+ // hideChildrenFromNavigation: false,
428
+ // },
416
429
  };
417
430
 
418
431
  // layout settings