@eeacms/volto-eea-map 3.0.2 → 3.1.0

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,11 +4,18 @@ 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
- ### [3.0.2](https://github.com/eea/volto-eea-map/compare/3.0.1...3.0.2) - 28 November 2023
7
+ ### [3.1.0](https://github.com/eea/volto-eea-map/compare/3.0.3...3.1.0) - 8 December 2023
8
8
 
9
- #### :bug: Bug Fixes
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - Release 3.1.0 [Alin Voinea - [`2fad87e`](https://github.com/eea/volto-eea-map/commit/2fad87e5a8013b80183797df45ba6494e7ca396d)]
12
+ - use internal url [Miu Razvan - [`c2b56f5`](https://github.com/eea/volto-eea-map/commit/c2b56f5395a79225d09c64c92720f23e74b17c88)]
13
+ ### [3.0.3](https://github.com/eea/volto-eea-map/compare/3.0.2...3.0.3) - 29 November 2023
10
14
 
11
- - fix: handle error when map_layers has no value [laszlocseh - [`0412974`](https://github.com/eea/volto-eea-map/commit/041297417dc1f1fd077983faedba90260e1616d7)]
15
+ #### :hammer_and_wrench: Others
16
+
17
+ - update [Miu Razvan - [`b299f0e`](https://github.com/eea/volto-eea-map/commit/b299f0e24a43c00228c605cae603f2be7bf94b3b)]
18
+ ### [3.0.2](https://github.com/eea/volto-eea-map/compare/3.0.1...3.0.2) - 28 November 2023
12
19
 
13
20
  ### [3.0.1](https://github.com/eea/volto-eea-map/compare/3.0.0...3.0.1) - 24 November 2023
14
21
 
@@ -30,8 +37,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
30
37
  - fix prettier [Dobricean Ioan Dorian - [`78fc2ba`](https://github.com/eea/volto-eea-map/commit/78fc2baa2f5264ca1bba61b70bc0bdc5b2788e67)]
31
38
  - Fix Sonorqube [dobri1408 - [`e04011a`](https://github.com/eea/volto-eea-map/commit/e04011aa811422f865d0bbb1e66af558a4310e77)]
32
39
  - adapt embedeeamap to use serialized data [Dobricean Ioan Dorian - [`005965c`](https://github.com/eea/volto-eea-map/commit/005965c6793a9a9977fef52c08ba9a3173eec348)]
33
- - test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`de2f4f6`](https://github.com/eea/volto-eea-map/commit/de2f4f6f516c2c9f7c2b4ea84373f4b1a21cd0af)]
34
- - test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`4722984`](https://github.com/eea/volto-eea-map/commit/47229842132b406101c340ab200c193925b784ad)]
35
40
  ### [2.0.7](https://github.com/eea/volto-eea-map/compare/2.0.6...2.0.7) - 10 November 2023
36
41
 
37
42
  #### :rocket: New Features
@@ -48,7 +53,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
48
53
 
49
54
  #### :house: Internal changes
50
55
 
51
- - chore: [JENKINS] Refactor automated testing [valentinab25 - [`7afd81a`](https://github.com/eea/volto-eea-map/commit/7afd81a76bf407b07a94228daf3ab0415fbe4621)]
52
56
  - chore: husky, lint-staged use fixed versions [valentinab25 - [`0ee38a7`](https://github.com/eea/volto-eea-map/commit/0ee38a7bee84694a5e0230e2d17083fbc071f0c8)]
53
57
  - chore:volto 16 in tests, update docs, fix stylelint overrides [valentinab25 - [`8efeb44`](https://github.com/eea/volto-eea-map/commit/8efeb4423da70e421a88cabdeb559eb3613fb96e)]
54
58
  - chore: display legend for content type item, fix case when no note is set [dana-cfc4 - [`ae630a8`](https://github.com/eea/volto-eea-map/commit/ae630a88cffa2a8ef60e0bbfead392508b015497)]
@@ -58,10 +62,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
58
62
 
59
63
  #### :hammer_and_wrench: Others
60
64
 
61
- - test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`335133d`](https://github.com/eea/volto-eea-map/commit/335133dc5186a53c1077bbead36100101bd9af45)]
62
65
  - Refs #260203: make background_image required [laszlocseh - [`baa5c4f`](https://github.com/eea/volto-eea-map/commit/baa5c4fa2fe618af51df12d48b4512ecafc357a8)]
63
- - test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`4874649`](https://github.com/eea/volto-eea-map/commit/48746492a2b32a82d33d1c6415eab8a6f6b9f5be)]
64
- - test: [JENKINS] Improve cypress time [valentinab25 - [`7fa0b83`](https://github.com/eea/volto-eea-map/commit/7fa0b837b24f41a01285fd1b17daeefde99a9c76)]
65
66
  - use toolbar from volto-embed [Miu Razvan - [`29b73fb`](https://github.com/eea/volto-eea-map/commit/29b73fb8378ca56b3634bf1f7d57ce69a242b18e)]
66
67
  ### [2.0.6](https://github.com/eea/volto-eea-map/compare/2.0.5...2.0.6) - 29 September 2023
67
68
 
@@ -78,7 +79,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
78
79
 
79
80
  - test: EN locales, pre-commit fix, feature PRs checks Refs #257193 [valentinab25 - [`4c6d141`](https://github.com/eea/volto-eea-map/commit/4c6d1413b67ffc3fe27a7d09dcc99ef98867cec9)]
80
81
  - test: Fix package.json scripts to use makefile [Alin Voinea - [`1cd6751`](https://github.com/eea/volto-eea-map/commit/1cd675118165d8631c41d35c00a8c902c7edd803)]
81
- - test: Fix eslint and yarn i18n [Alin Voinea - [`0184641`](https://github.com/eea/volto-eea-map/commit/018464116ba5b86b2c1e0a4ebc9b2fd95b772b66)]
82
82
  - i18n: Add en [Alin Voinea - [`1d29304`](https://github.com/eea/volto-eea-map/commit/1d293049a21e138fa933cd5ed9a04cceac1a5cff)]
83
83
  ### [2.0.5](https://github.com/eea/volto-eea-map/compare/2.0.4...2.0.5) - 23 August 2023
84
84
 
@@ -135,14 +135,11 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
135
135
  #### :hammer_and_wrench: Others
136
136
 
137
137
  - Release 2.0.0 [Alin Voinea - [`7be280d`](https://github.com/eea/volto-eea-map/commit/7be280d4809186e663f422687aca3c33dd732904)]
138
- - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`ba6ed22`](https://github.com/eea/volto-eea-map/commit/ba6ed22118406db979457384d4739cced2096137)]
139
138
  ### [1.0.2](https://github.com/eea/volto-eea-map/compare/1.0.1...1.0.2) - 21 July 2023
140
139
 
141
140
  #### :hammer_and_wrench: Others
142
141
 
143
142
  - Allow blocks in content type [Tiberiu Ichim - [`2ac09a6`](https://github.com/eea/volto-eea-map/commit/2ac09a613aba07f6cbaf42c386660f2d7d09bd13)]
144
- - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`403b4c0`](https://github.com/eea/volto-eea-map/commit/403b4c009e5aaded58203bc292ba3baa4631488b)]
145
- - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`aedb654`](https://github.com/eea/volto-eea-map/commit/aedb6544fd45b147a3385425aba46ffba108f5ca)]
146
143
  ### [1.0.1](https://github.com/eea/volto-eea-map/compare/1.0.0...1.0.1) - 22 June 2023
147
144
 
148
145
  #### :rocket: New Features
@@ -203,7 +200,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
203
200
 
204
201
  - chore: clear unused #254131 [andreiggr - [`ccec2ea`](https://github.com/eea/volto-eea-map/commit/ccec2eaab173c905cd4ea0190a9c6cfd630250f9)]
205
202
  - chore: clear block style #254131 [andreiggr - [`af500bc`](https://github.com/eea/volto-eea-map/commit/af500bc10a5f280eff0335f45bae1596d66a7e6b)]
206
- - chore: [JENKINS] Remove alpha testing version [valentinab25 - [`76b29e5`](https://github.com/eea/volto-eea-map/commit/76b29e510f5156590723831a524bc39dfba6deba)]
207
203
 
208
204
  #### :hammer_and_wrench: Others
209
205
 
@@ -213,7 +209,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
213
209
  - * versions [andreiggr - [`6d9ff2b`](https://github.com/eea/volto-eea-map/commit/6d9ff2b26a236b6445678e3d84698d1c3c0826f4)]
214
210
  - add razzle-plugin-scss dep [andreiggr - [`d74cee5`](https://github.com/eea/volto-eea-map/commit/d74cee51d30c866afe55730e5b25e0bf11d2caea)]
215
211
  - volto-object-widget [andreiggr - [`18d0ed7`](https://github.com/eea/volto-eea-map/commit/18d0ed72c1ba7b0f7159a0eefc09ccea9acee5cb)]
216
- - Add Sonarqube tag using bise-frontend addons list [EEA Jenkins - [`5911d01`](https://github.com/eea/volto-eea-map/commit/5911d01f7f3bc79a2c834fab75a9a4ac05d2d042)]
217
212
  ### [0.1.32](https://github.com/eea/volto-eea-map/compare/0.1.31...0.1.32) - 20 February 2023
218
213
 
219
214
  #### :hammer_and_wrench: Others
@@ -221,7 +216,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
221
216
  - remove console.log [tedw87 - [`3aeb3e8`](https://github.com/eea/volto-eea-map/commit/3aeb3e8ec5474387f3cd22eb9b387c6681e17120)]
222
217
  - refactor code [tedw87 - [`6d7830e`](https://github.com/eea/volto-eea-map/commit/6d7830eb934f56c255eea5642bdefba30d892946)]
223
218
  - add Blossom basemap layer [tedw87 - [`5226ee2`](https://github.com/eea/volto-eea-map/commit/5226ee218df3401cf467afbc7a4d720dc30719e1)]
224
- - Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`1dad5c6`](https://github.com/eea/volto-eea-map/commit/1dad5c6617096ff85223165a6dd2b1d5d7deea6a)]
225
219
  ### [0.1.31](https://github.com/eea/volto-eea-map/compare/0.1.30...0.1.31) - 11 November 2022
226
220
 
227
221
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-map",
3
- "version": "3.0.2",
3
+ "version": "3.1.0",
4
4
  "description": "@eeacms/volto-eea-map: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -75,7 +75,7 @@ export const Schema = (props) => {
75
75
 
76
76
  deepUpdateDataQueryParams(block, data, dataQuery, onChangeBlock);
77
77
  return {
78
- title: 'Embed EEA Map Block',
78
+ title: 'Embed Map layers (ArcGis)',
79
79
  fieldsets: [
80
80
  {
81
81
  id: 'default',
@@ -107,7 +107,7 @@ export const Schema = (props) => {
107
107
  ],
108
108
  properties: {
109
109
  vis_url: {
110
- widget: 'object_by_path',
110
+ widget: 'internal_url',
111
111
  title: 'Visualization',
112
112
  },
113
113
  height: {
package/src/index.js CHANGED
@@ -1,3 +1,5 @@
1
+ import { uniqBy } from 'lodash';
2
+
1
3
  import EmbedMapView from './components/Blocks/EmbedEEAMap/View';
2
4
  import EmbedMapEdit from './components/Blocks/EmbedEEAMap/Edit';
3
5
 
@@ -34,9 +36,9 @@ export default (config) => {
34
36
 
35
37
  config.blocks.blocksConfig.embed_eea_map_block = {
36
38
  id: 'embed_eea_map_block', // The name (id) of the block
37
- title: 'Embed EEA Map', // The display name of the block
39
+ title: 'Embed Map layers (ArcGis)', // The display name of the block
38
40
  icon: world, // The icon used in the block chooser
39
- group: 'common', // The group (blocks can be grouped, displayed in the chooser)
41
+ group: 'data_visualizations', // The group (blocks can be grouped, displayed in the chooser)
40
42
  view: EmbedMapView, // The view mode component
41
43
  edit: EmbedMapEdit, // The edit mode component
42
44
  sidebarTab: 1, // The sidebar tab you want to be selected when selecting the block
@@ -54,6 +56,14 @@ export default (config) => {
54
56
  ],
55
57
  };
56
58
 
59
+ config.blocks.groupBlocksOrder = uniqBy(
60
+ [
61
+ ...config.blocks.groupBlocksOrder,
62
+ { id: 'data_visualizations', title: 'Data Visualizations' },
63
+ ],
64
+ 'id',
65
+ );
66
+
57
67
  config.widgets.widget.map_layers_widget = LayerSelectWidget;
58
68
  config.widgets.widget.data_query_widget = DataQueryWidget;
59
69
  config.widgets.widget.simple_color_picker_widget = SimpleColorPickerWidget;