Quincy Morgan
55f71f5a7d
Replace Set objects in crossing ways validation
2019-02-08 09:20:41 -05:00
Quincy Morgan
1564f73de6
Merge branch 'master' into validation
2019-02-07 20:51:21 -05:00
Bryan Housel
a363f5175f
Fix tabbing beyond last row of raw tag editor in Firefox
...
(closes #5847 )
- removed the stopPropagation from the combobox keydown handler
to make sure that the raw_tag_editor keydown handler will run
- increased timeout from 1ms to 10ms for Firefox
This is related to Firefox's newish time budgeting approach that they
started using around Firefox 55. As a result, very fast timers (<4ms?)
may run synchronously instead of yielding and running asynchronously
https://blog.wanderview.com/blog/2017/03/13/firefox-52-settimeout-changes/
(note similar code in ui/fields/combo.js to delay focus changes and
redraws 10ms after the tag changes and other events have completed)
2019-02-07 15:56:49 -05:00
Bryan Housel
02790fcc5c
Also make sure you can delete the new row in the raw tag editor
...
(re #5840 )
2019-02-07 15:04:16 -05:00
Bryan Housel
2aa409d5a9
Fix crash when deleting rows in raw tag editor
...
(closes #5840 )
This didn't always trigger a crash, but it can. It attempted to remove the
row containing the key/value input fields, however this ilne is unnecessary
because the change event will trigger a redraw and d3 will handle the removing
milliseconds later.
2019-02-07 14:10:04 -05:00
Bryan Housel
d2735ab40c
Fix misspelling
2019-02-07 13:41:06 -05:00
Bryan Housel
492bb5b37e
Eliminate magic scale numbers from tests, add loadNotes test xml
2019-02-07 11:31:32 -05:00
Bryan Housel
3875ea565b
Remove mvt querystring parameter that we never used
2019-02-07 10:48:19 -05:00
Bryan Housel
8ec426bd9d
Increase contrast between waterways and ski pistes
...
we can do:
- waterways are more on the green/teal side of blue,
- pistes are more on the red/magenta side of blue
2019-02-07 10:36:44 -05:00
Bryan Housel
bb0a47b255
Remove kr and keepRight for styles used generically
...
(it was weird to see these classes in improveOSM components)
2019-02-07 10:35:50 -05:00
Bryan Housel
f4b9abe474
Merge pull request #5867 from SilentSpike/iOSM-comments
...
Add comments to ImproveOSM issues
2019-02-07 09:46:57 -05:00
Quincy Morgan
d3bbdfab7e
Merge branch 'master' into validation
2019-02-07 07:01:36 -05:00
Bryan Housel
043b827cc7
Remove linear water_hazard and lateral_water_hazard presets
...
From reviewing wiki, these seem like not a thing - they are always areas.
re: https://wiki.openstreetmap.org/wiki/Tag:leisure%3Dgolf_course
2019-02-06 22:07:07 -05:00
Bryan Housel
ce3b33e374
Add style for golf walking paths and cartpaths
...
Also
- use field inheritance to simplify presets
- rename multipurpose to "Golf Cartpath / Service Road"
(I think users would understand this better)
- add `maxspeed` to "Golf Cartpath / Service Road"
2019-02-06 21:56:22 -05:00
Bryan Housel
e045c0f178
Merge pull request #5862 from chadrockey/golf_paths
...
Presets for golf paths and cartpaths and driving ranges
2019-02-06 21:17:30 -05:00
Chad Rockey
90115b55ca
Update track to service
2019-02-06 14:31:11 -08:00
Quincy Morgan
a702281fb6
Add "remove" tooltip to raw tag editor remove button
2019-02-06 15:56:12 -05:00
Quincy Morgan
7036523bfc
Merge branch 'master' into validation
2019-02-06 15:37:03 -05:00
Quincy Morgan
5b8fea9e87
Use existing nodes where possible in the crossing ways connection fix
...
Fix a lint warning
2019-02-06 15:03:29 -05:00
Bryan Housel
e0a41656a1
Allow value to be entered before key in raw tag editor
...
(closes #5872 )
This commit also hardens the 'key=value' splitting behavior to actually
check the split result length and avoid overwriting a readonly key
(re: #5024 )
2019-02-06 15:03:03 -05:00
Quincy Morgan
50fcff6ec9
Only check the edge nodes for almost junction merge fix
2019-02-06 14:12:19 -05:00
Quincy Morgan
7765baf03b
Make merge threshold consistent for almost_junction and tag_suggests_area connection fixes
2019-02-06 13:12:58 -05:00
Quincy Morgan
88ecbcc069
Make the tag_suggests_area connection fix always use the location of the first node
2019-02-06 13:10:22 -05:00
Quincy Morgan
703d560a94
Merge branch 'master' into validation
2019-02-06 12:49:59 -05:00
Quincy Morgan
b25d75a6cc
Use existing nodes where possible in almost junction connection fix
2019-02-06 12:47:12 -05:00
Bryan Housel
601524c47c
Use color instead of fill for the badge icon
...
re: 7fe0380d7
Now that the icons are all using `fill=currentColor` this is the way to do it
2019-02-06 11:54:45 -05:00
Quincy Morgan
8545ebde8e
Add self-intersection check before flagging almost junction issues
2019-02-06 11:29:58 -05:00
greenkeeper[bot]
d958844bc0
chore(package): update mapillary-js to version 2.16.0
2019-02-06 10:42:24 -05:00
Bryan Housel
640730d38b
Change focus to existing key instead of suffixing it with _1
...
(re: #3625 , re: #2896 )
2019-02-06 10:29:09 -05:00
Quincy Morgan
4595a822dc
Add code tests for more missing_tag cases
2019-02-06 10:08:28 -05:00
Quincy Morgan
21967d2654
Show the area preset browser rather than editor upon selecting multipolygon from the relation preset browser
2019-02-06 09:48:45 -05:00
Quincy Morgan
33d02cdba0
Add different messages for no tags vs. no descriptive tags warnings
...
Add warning for relation without a "type" tag
2019-02-06 09:38:33 -05:00
Quincy Morgan
6383fa7ea0
Merge branch 'master' into validation
2019-02-06 08:58:13 -05:00
Quincy Morgan
011f82239b
Add new icons for Butcher, Cheese Shop, Copy Store, Dairy Shop, and Mexican Restaurant presets
...
Add Chess Table and Mexican Fast Food presets
2019-02-06 08:55:59 -05:00
Chad Rockey
31a5264c37
Add Golf Cartpath Multipurpose
2019-02-05 22:55:38 -08:00
Chad Rockey
25cc522333
Update to avoid connectivity errors
2019-02-05 22:20:16 -08:00
Quincy Morgan
c1df48ce0f
Simplify crossing ways warning message
2019-02-05 17:25:34 -05:00
Quincy Morgan
0aa3ce2cee
Fix issue with Issues section appearance if the sidebar was loaded with the section closed
2019-02-05 16:57:34 -05:00
SilentSpike
a566d58f81
Fix error on ImproveOSM issues with no comments
2019-02-05 21:48:06 +00:00
SilentSpike
0346d8060f
Retrieve ImproveOSM comments only once
...
This additionally fixes the comment box not clearing on submission as I
wasn't updating the error in the cache (to remove the newComment
property).
2019-02-05 21:46:17 +00:00
Quincy Morgan
2aa285c378
Merge branch 'master' into validation
2019-02-05 16:38:02 -05:00
Quincy Morgan
26dd7a4148
Use error for missing tags on all newly added features
2019-02-05 16:19:43 -05:00
Bryan Housel
b87ae4e98b
Exclude existing keys from auto-completion in raw tag editor
...
(closes #3625 )
2019-02-05 16:14:18 -05:00
SilentSpike
78111955dd
Fix user URL on ImproveOSM comments
2019-02-05 21:06:19 +00:00
Quincy Morgan
1055c239ed
Merge branch 'master' into validation
2019-02-05 16:03:19 -05:00
Quincy Morgan
beab323b20
Use warning severity for missing_tag validation if the user has not edited the feature
2019-02-05 15:58:20 -05:00
SilentSpike
c095600635
Use more appropriate new comment header string
2019-02-05 20:44:04 +00:00
SilentSpike
5fc87fb0a4
Pacify eslint
...
(I really need to start running npm test more often before pushing)
2019-02-05 20:23:02 +00:00
SilentSpike
f7bef29b92
Fix date conversion on ImproveOSM comments
2019-02-05 20:03:55 +00:00
SilentSpike
fa87ed75ae
Display ImproveOSM comments oldest to newest
2019-02-05 19:57:22 +00:00