Commit graph

1206 commits

Author SHA1 Message Date
377c411143 Fix: init indexedFeatureStore with a default map as to fix crash upon loading if a pending change is present 2023-05-05 00:59:43 +02:00
cbb0c9c1d7 Core: add 'onDestroy'-callback to mappedStore to unregister 2023-05-05 00:58:26 +02:00
1f39ba9ab5 Fix: fix validation of question input; remove some obsolete logging; stabilize output of generate:translations wrt newlines 2023-05-03 00:57:15 +02:00
7813653265 Fix: better error handling and handling of changes 2023-05-01 01:16:57 +02:00
7b73578f88 Fix: better select available levels 2023-05-01 01:16:57 +02:00
2b47cf934c Refactoring: highlight the currently selected element 2023-04-27 02:24:38 +02:00
06631ccd6d Refactoring: stabilize touchingFeatureSource 2023-04-27 00:58:21 +02:00
7fd7a3722e Add level selector and global filters 2023-04-26 18:04:42 +02:00
78c56f6fa2 Refactoring: save ID to the hash of the URL 2023-04-24 02:54:15 +02:00
476423f9d1 Refactoring: re-enable caching 2023-04-21 20:50:38 +02:00
23b26c4197 Refactoring: fix background layer switch and hotkeys 2023-04-21 17:37:50 +02:00
d8e14927c8 Refactoring: port wikipedia panel to Svelte 2023-04-21 16:02:36 +02:00
24f7610d0a Fix overlay layers 2023-04-21 01:53:24 +02:00
3aeedf22c8 Refactoring: fix rendering artefact when switching selected element 2023-04-21 00:25:56 +02:00
c6e12fdd6b Refactoring: fix GPX-track view 2023-04-20 18:58:31 +02:00
4172af6a72 Refactoring: fix delete indication, fix splitroad, fix addition of multiple new points snapped onto the same way (all will properly attach now) 2023-04-20 17:42:07 +02:00
1f9aacfb29 Refactoring: move download functionality for OsmObjects into a new object 2023-04-20 03:58:31 +02:00
8eb2c68f79 Refactoring: fix rendering of new roads, generated by a split 2023-04-20 01:52:23 +02:00
e36e9123f3 Refactoring: improve caching 2023-04-19 03:18:47 +02:00
9a282cbce4 Refactoring(layout): move infobox to right modal; fix minimap 2023-04-16 04:13:09 +02:00
1123a72c5e Refactoring: fix most of the custom input elements, support right click/long tap/double click to add a new element 2023-04-16 03:42:26 +02:00
ee8dbbcf7d refactoring: Add _backend in overpass-source 2023-04-15 02:56:14 +02:00
105120060d Refactoring: add metatagging, add 'last edited by' element, add 'metacondition' 2023-04-15 02:28:24 +02:00
3db87232f2 Refactoring: add metatagging 2023-04-14 17:53:08 +02:00
ef0ec5160d Refactoring: fix download buttons 2023-04-14 04:33:06 +02:00
466dd16568 Fix contributor count 2023-04-14 00:18:41 +02:00
ea62b5b7ff refactoring: Fix some tests 2023-04-13 20:58:49 +02:00
bef05481bd Merge develop 2023-04-07 04:36:41 +02:00
042d400dc4 refactoring: Remove more obsoleted code, add copyright tab 2023-04-07 04:23:45 +02:00
f8d34648a0 refactoring: slight cleanup of tests 2023-04-07 03:54:11 +02:00
8085079eff Port user settings 2023-04-07 02:13:57 +02:00
97aaa8e941 Refactoring: fix filters, remove obsolete code 2023-04-06 02:20:25 +02:00
0241f89d3d refactoring: fix basic flow to add a new point 2023-04-06 01:33:08 +02:00
52a0810ea9 refactoring: move logic of lastclick into special layer, fix labels, fix anchoring 2023-04-02 02:59:20 +02:00
d47fd7e746 Add question box as special rendering 2023-03-31 03:28:11 +02:00
29372c465e refactoring: more fixes, first attempt at tagRenderingAnswer 2023-03-30 04:51:56 +02:00
aaaaf1948d refactoring: fix special renderings (partly), deprecate 2023-03-29 18:54:00 +02:00
41e6a2c760 More refactoring 2023-03-29 17:21:20 +02:00
5d0fe31c41 refactoring 2023-03-28 05:13:48 +02:00
b94a8f5745 refactoring: more state splitting, basic layoutFeatureSource 2023-03-26 05:58:28 +02:00
8e2f04c0d0 refactoring: split all the states 2023-03-25 02:48:24 +01:00
4d48b1cf2b refactoring(maplibre): WIP 2023-03-24 19:21:15 +01:00
231d67361e Refactoring(maplibre): remove 'freshness' and 'name' from FeatureSource to simplify the code 2023-03-23 01:42:47 +01:00
1b3609b13f refactoring(maplibre): add pointRendering 2023-03-23 00:58:21 +01:00
ef93ad126f Fix: gps-icon should turn into an arrow again 2023-03-22 16:25:24 +01:00
b99588b4ba performance: Make _referencing_ways actually lazy 2023-03-21 20:59:31 +01:00
3eee9bd9f8 docs: improve typing 2023-03-21 20:59:09 +01:00
0dcc20f20b docs: improve typing 2023-03-21 20:35:34 +01:00
96c819ea40 Fix bug in presets which generated incorrect 'referencingWays' 2023-03-15 15:21:09 +01:00
08565dd20e feature: expose _referencing_ways/snap_to_layer in preset icon 2023-03-15 14:25:24 +01:00
4f2bbf4b54 refactoring(maplibre): add RasterLayer info, add background switch, add default global layers 2023-03-11 02:46:49 +01:00
74dd9974ca Refactoring: mark UIEventSource as a svelte-writable 2023-03-11 02:35:45 +01:00
e9797fbd39 docs: improve typing 2023-03-11 02:35:11 +01:00
750a0620e9 docs: improve typing 2023-03-11 02:34:47 +01:00
868d476891 Merge feature/svelte into develop 2023-03-08 19:02:41 +01:00
60f3499eb0 feature(usersettings): Add option to show all questions at once 2023-03-08 01:36:27 +01:00
6ee85b12f8 Split up allKnownLayouts, make parsing it lazy for faster loading 2023-03-02 05:20:53 +01:00
2e5aef35b8 Improve maproulette documentation, add possibility to change the maproulette state with a special rendering 2023-02-14 00:09:04 +01:00
509b237d02 Add clipping to generateCache 2023-02-14 00:08:21 +01:00
7cc184fdd8 Fix unit tests (no doctests yet) 2023-02-10 01:55:29 +01:00
a3f704a57d Only jump to the start location if no coordinates are given in the URL 2023-02-10 01:35:49 +01:00
df92bda151 Fix dynamically selecting the popup when changing the hash 2023-02-09 16:05:37 +01:00
d077db1ed5
Merge pull request #1294 from RobJN/patch-4
Update MetaTagging.ts
2023-02-09 15:51:34 +01:00
029f1fd7fc Improve autozoom of geolocationHandler 2023-02-09 03:12:21 +01:00
79a88401dc Move 'translators'-logic into UserSettings 2023-02-09 02:45:19 +01:00
36aed99843 Fix generateLayerOverview, drop priviliged 'icons.json' from code 2023-02-08 01:21:19 +01:00
92887e6e01 Remove obsolete import 2023-02-08 01:18:57 +01:00
02da80c311 Experimenting with Svelte: build a wrapper to convert 'old' components into Svelte, add a community index overview 2023-02-08 01:18:56 +01:00
112162e6c8 More svelte work 2023-02-08 01:18:56 +01:00
d30ed22673 Adding a community index view with Svelte (WIP) 2023-02-08 01:18:56 +01:00
ce44f34bf3 Add wrong default import from json files to code quality checks, fix those imports 2023-02-08 01:14:21 +01:00
70657161dc Remove _referencing_ways from cache 2023-02-06 22:23:56 +01:00
f8f30f8d7a Fix reviews for way objects, fix #1296 2023-02-06 00:37:44 +01:00
RobJN
4b1fdc0e2f
Update SimpleMetaTagger.ts
objectMetaInfo should return false if it does not change anything (e.g. if run on a non-OSM layer). Returning true  causes MetaTagging to execute state?.allElements?.getEventSourceById(feature.properties.id)?.ping() with is slow and makes MapComplete unresponsive in some themes.

Helps with #1094
2023-02-04 20:52:41 +00:00
RobJN
14b4fedc26
Update MetaTagging.ts
Remove second .ping(). Fixes #1288 and helps with #1094.
2023-02-04 20:42:07 +00:00
aef573d37c Fix cache build 2023-01-31 18:21:27 +01:00
19b381e8b0 Remove check on no '&' in value, fixes #1281 2023-01-29 13:40:01 +01:00
3c7d632739 Fix #1280 2023-01-29 13:31:49 +01:00
8cf3b88172 Slice script now clips to tile box if flag is set 2023-01-26 01:41:21 +01:00
b88bb5b6d0 Fix default import 2023-01-25 11:48:39 +01:00
562dfbc5ff Merge branch 'develop' into feature/vite 2023-01-22 01:20:21 +01:00
321568abe6 Fix tests 2023-01-22 01:09:16 +01:00
888d4e95a3 Use mangrove-reviews-typescript, rework reviews modules 2023-01-21 23:58:14 +01:00
74185b852a Add _referencing_way property for @thibaultmol 2023-01-17 18:24:17 +01:00
311abbf806 Fix overpass.ts 2023-01-17 02:56:34 +01:00
6ca5c31e3a Neuter mangrove.reviews, it doesn't build 2023-01-17 01:09:11 +01:00
e9004a2190 Undo some changes to fix the build, move svg-check into generateLayerOverview as to move fs out of the dependency tree for the webpage 2023-01-17 01:00:43 +01:00
wjtje
39cc043f8b 🚧 Working on vite build 2023-01-17 00:50:42 +01:00
wjtje
cc0c925b81 "working" 2023-01-17 00:50:42 +01:00
a81dbb170e Merge master 2023-01-13 04:02:50 +01:00
6392585664 Improve documentation 2023-01-13 03:45:02 +01:00
ec84cd11aa Remove unused imports 2023-01-13 02:43:51 +01:00
a85fe85358 Improvements to the user information panel 2023-01-11 04:27:42 +01:00
a995f0e2aa Move image license picker into user panel, fix #1236 2023-01-11 03:53:58 +01:00
437ee34333 Fix documentation generation, regenerate documentation 2023-01-11 01:32:46 +01:00
7f6611f9d5 Fix tests 2023-01-06 04:06:05 +01:00
29b0b2871b Add awareness of 'api/capabilities', see #880 2023-01-06 03:30:18 +01:00
a2a4071022
Merge pull request #1223 from pietervdvn/fix/1219
Fix/1219
2023-01-05 01:12:31 +01:00
02981b1982 Remove debug logging 2023-01-04 19:13:40 +01:00
a7da5d65cf Close popup after splitting; scroll popup into view 2023-01-04 18:52:49 +01:00