@eeacms/volto-arcgis-block 0.1.308 → 0.1.309
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 +10 -0
- package/DEVELOP.md +8 -1
- package/Jenkinsfile +0 -3
- package/package.json +1 -1
- package/src/components/MapViewer/TimesliderWidget.jsx +14 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,16 @@ 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.309](https://github.com/eea/volto-arcgis-block/compare/0.1.308...0.1.309) - 18 October 2024
|
|
8
|
+
|
|
9
|
+
#### :house: Internal changes
|
|
10
|
+
|
|
11
|
+
- chore: [JENKINSFILE] remove unused code [valentinab25 - [`c62af37`](https://github.com/eea/volto-arcgis-block/commit/c62af37e5c81f7b6b1d204de8a724499d00420d9)]
|
|
12
|
+
|
|
13
|
+
#### :house: Documentation changes
|
|
14
|
+
|
|
15
|
+
- docs: Added translation docs and link to latest Install methods [valentinab25 - [`3689c1b`](https://github.com/eea/volto-arcgis-block/commit/3689c1bf52a3498201af85f278279b42c6679d19)]
|
|
16
|
+
|
|
7
17
|
### [0.1.308](https://github.com/eea/volto-arcgis-block/compare/0.1.307...0.1.308) - 14 October 2024
|
|
8
18
|
|
|
9
19
|
#### :hammer_and_wrench: Others
|
package/DEVELOP.md
CHANGED
|
@@ -26,7 +26,9 @@
|
|
|
26
26
|
|
|
27
27
|
### Or add @eeacms/volto-arcgis-block to your Volto project
|
|
28
28
|
|
|
29
|
-
Before starting make sure your development environment is properly set.
|
|
29
|
+
Before starting make sure your development environment is properly set.
|
|
30
|
+
|
|
31
|
+
See [Install](https://6.docs.plone.org/install/).
|
|
30
32
|
|
|
31
33
|
1. Make sure you have installed `yo`, `@plone/generator-volto` and `mrs-developer`
|
|
32
34
|
|
|
@@ -104,3 +106,8 @@ Or run it:
|
|
|
104
106
|
```Bash
|
|
105
107
|
make cypress-run
|
|
106
108
|
```
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
## Internationalization (i18n) and localization (l10n)
|
|
112
|
+
|
|
113
|
+
See [Internationalization](https://6.docs.plone.org/volto/development/i18n.html) and [Translate Volto](https://6.docs.plone.org/i18n-l10n/contributing-translations.html#translate-volto).
|
package/Jenkinsfile
CHANGED
package/package.json
CHANGED
|
@@ -391,7 +391,20 @@ class TimesliderWidget extends React.Component {
|
|
|
391
391
|
}
|
|
392
392
|
|
|
393
393
|
this.setState({ periodicity: periodicity });
|
|
394
|
-
|
|
394
|
+
if (this.TimesliderWidget.effectiveStops.length === 11) {
|
|
395
|
+
let period =
|
|
396
|
+
(this.TimesliderWidget.fullTimeExtent.end -
|
|
397
|
+
this.TimesliderWidget.fullTimeExtent.start) /
|
|
398
|
+
590000000;
|
|
399
|
+
if (period > this.TimesliderWidget.stops.interval.value) {
|
|
400
|
+
this.TimesliderWidget.stops = {
|
|
401
|
+
interval: {
|
|
402
|
+
value: period,
|
|
403
|
+
unit: 'minutes',
|
|
404
|
+
},
|
|
405
|
+
};
|
|
406
|
+
}
|
|
407
|
+
}
|
|
395
408
|
this.TimesliderWidget.watch('timeExtent', (timeExtent) => {
|
|
396
409
|
if (!this.container.current ? true : false) {
|
|
397
410
|
this.TimesliderWidget.stop();
|