@eeacms/volto-arcgis-block 0.1.416 → 0.1.418
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,17 @@ 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.
|
|
7
|
+
### [0.1.418](https://github.com/eea/volto-arcgis-block/compare/0.1.417...0.1.418) - 10 December 2025
|
|
8
|
+
|
|
9
|
+
#### :hammer_and_wrench: Others
|
|
10
|
+
|
|
11
|
+
- (task): change the error report instructions message to reflect the widget's new bheavior. [Unai Bolivar - [`f2028db`](https://github.com/eea/volto-arcgis-block/commit/f2028db989e5e2c66e2d67d38f090ae98e9b5402)]
|
|
12
|
+
### [0.1.417](https://github.com/eea/volto-arcgis-block/compare/0.1.416...0.1.417) - 9 December 2025
|
|
13
|
+
|
|
14
|
+
#### :hammer_and_wrench: Others
|
|
15
|
+
|
|
16
|
+
- 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)]
|
|
17
|
+
### [0.1.416](https://github.com/eea/volto-arcgis-block/compare/0.1.415...0.1.416) - 4 December 2025
|
|
8
18
|
|
|
9
19
|
#### :hammer_and_wrench: Others
|
|
10
20
|
|
package/package.json
CHANGED
|
@@ -86,8 +86,7 @@ class ErrorReport extends React.Component {
|
|
|
86
86
|
this.setState({
|
|
87
87
|
latlong: { x: pt.latitude.toFixed(4), y: pt.longitude.toFixed(4) },
|
|
88
88
|
datasets: ds,
|
|
89
|
-
instructionsText:
|
|
90
|
-
"The error report data has been added to your clipboard. Click the 'Service Desk' button and paste the clipboard content inside the Helpdesk's message box",
|
|
89
|
+
instructionsText: `The data will be automatically added in the technical support service's Message field`,
|
|
91
90
|
});
|
|
92
91
|
}.bind(this),
|
|
93
92
|
);
|
|
@@ -178,25 +177,10 @@ class ErrorReport extends React.Component {
|
|
|
178
177
|
this.state.latlong.y +
|
|
179
178
|
'. Active layers: ' +
|
|
180
179
|
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
180
|
let url = this.helpdeskUrl;
|
|
197
181
|
try {
|
|
198
182
|
let u = new URL(url);
|
|
199
|
-
u.
|
|
183
|
+
u.searchParams.set('text', message);
|
|
200
184
|
url = u.toString();
|
|
201
185
|
} catch {}
|
|
202
186
|
window.open(url, '_blank');
|