Commit a71a8c5
authored
feature/DF-861: Geospatial component (#321)
* Initial geospatial component
* Fix package-lock.json
* Add geospatial clientside map capability
* Add event constants
* Allow change for points
* Add geospatial tests
* Refactor tests
* Update package-lock.json
* Fix formatting
* Add linting exceptions
* Fix test error message text
* Sonar fixes (missing else)
* Sonar fixes (already declared in the upper scope)
* Sonar fixes (file too big)
* Add action button click tests
* Rename polygon to shape
* Fix shared test
* Sonar fixes (function too big)
* Sonar fixes (reduce function size)
* Improve JsDoc types
* Sonar fixes (reduce function size)
* Toggle action buttons when finished editing drawing
* Add feature description changed event
* Update Geospatial field summary display
* Geospatial getContextValueFromFormValue
* Update error messages
* Revert geospatial context value format
* Fix geospatial field tests
* Add gridref helper tests
* Add grid ref to feature properties on the clientside
* Special case Geospatial fields when building data for `submit`
* Remove unused files
* Fix map tests to generate grid refernce on the client
* Sonar fixes
* Sonar fixes (fn too big)
* Sonar fix (fn too big)
* Return centroid and coordinate grid refs in geojson
* Sonar fixes (consistent return)
* Fix map tests
* Don't allow edit of another while there's an active feature
* Refactor list UI
* Change link text
* Replace description input
* Sonar fixes
* Add geospatial submision tests
* Update geospatial list
* Update node 24
* Remove card list UI
* Update list UI
* Fix breaking tests
* Fix breaking tests
* Fix failing tests
* Sonar fixes (move to highest scope)
* Export map plugin separately
* Export shared map functions and allow for readonly list
* Update geospatial map help info
* Move exported functions to the top of the file
* Move exported functions to the top of the file
* Sonar fixes (negation)
* Add convenient "id" properties to the page and component base classes
* Update feature label text
* Fit feature to bounds to focus
* Sonar fixes (refactor if-else)
* Fix typo in Geospatial array.min error message
* Add GeometryType enum
* SVG constants
* Revert "Add GeometryType enum"
This reverts commit 5ddde77.
* Revert "Fix typo in Geospatial array.min error message"
This reverts commit 4902649.
* Fix spacing
* Add Geospatial test for getErrors1 parent 9c27495 commit a71a8c5
File tree
28 files changed
+5656
-6608
lines changed- src
- client
- javascripts
- stylesheets
- server
- plugins
- engine
- components
- helpers
- __stubs__
- pageControllers
- helpers
- views/components
- nunjucks
- routes
- services
- test/client/javascripts
28 files changed
+5656
-6608
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
87 | | - | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
| 91 | + | |
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
| |||
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
| 103 | + | |
| 104 | + | |
101 | 105 | | |
102 | 106 | | |
103 | 107 | | |
| |||
182 | 186 | | |
183 | 187 | | |
184 | 188 | | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | 189 | | |
| 190 | + | |
189 | 191 | | |
190 | 192 | | |
191 | 193 | | |
192 | 194 | | |
193 | 195 | | |
194 | 196 | | |
| 197 | + | |
195 | 198 | | |
196 | 199 | | |
197 | 200 | | |
| |||
208 | 211 | | |
209 | 212 | | |
210 | 213 | | |
| 214 | + | |
211 | 215 | | |
212 | 216 | | |
213 | 217 | | |
| |||
0 commit comments