@eeacms/volto-arcgis-block 0.1.416 → 0.1.417

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,7 +4,12 @@ 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
- ### [0.1.416](https://github.com/eea/volto-arcgis-block/compare/0.1.415...0.1.416) - 3 December 2025
7
+ ### [0.1.417](https://github.com/eea/volto-arcgis-block/compare/0.1.416...0.1.417) - 9 December 2025
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - CLMS-294791 (feat): refactor error reporting widget to embed error report int he url params to load message in text area input upon window loading [Unai Bolivar - [`b8a514f`](https://github.com/eea/volto-arcgis-block/commit/b8a514f762f62fcf45c8568f390ed7fee87cc68c)]
12
+ ### [0.1.416](https://github.com/eea/volto-arcgis-block/compare/0.1.415...0.1.416) - 4 December 2025
8
13
 
9
14
  #### :hammer_and_wrench: Others
10
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-arcgis-block",
3
- "version": "0.1.416",
3
+ "version": "0.1.417",
4
4
  "description": "volto-arcgis-block: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: CodeSyntax",
@@ -178,25 +178,10 @@ class ErrorReport extends React.Component {
178
178
  this.state.latlong.y +
179
179
  '. Active layers: ' +
180
180
  datasets.join(', ');
181
- try {
182
- if (navigator && navigator.clipboard && navigator.clipboard.writeText) {
183
- navigator.clipboard.writeText(message);
184
- } else {
185
- let ta = document.createElement('textarea');
186
- ta.value = message;
187
- ta.setAttribute('readonly', '');
188
- ta.style.position = 'absolute';
189
- ta.style.left = '-9999px';
190
- document.body.appendChild(ta);
191
- ta.select();
192
- document.execCommand('copy');
193
- document.body.removeChild(ta);
194
- }
195
- } catch {}
196
181
  let url = this.helpdeskUrl;
197
182
  try {
198
183
  let u = new URL(url);
199
- u.hash = 'error-report';
184
+ u.searchParams.set('text', message);
200
185
  url = u.toString();
201
186
  } catch {}
202
187
  window.open(url, '_blank');