Commit Graph

7211 Commits

Author SHA1 Message Date
Bryan Housel 2c2a0bb533 Remove unused variables - eslint 2017-05-07 17:34:22 -04:00
Bryan Housel 86c5db8c70 Add ability to specify the reference lookup for presets
(closes #3227)
2017-05-07 11:52:30 -04:00
Bryan Housel c017d3aa46 Don't draw the turn restrictions help icon too big
(closes #4022)
2017-05-07 10:31:24 -04:00
greenkeeper[bot] 4fcf0c7c81 chore(package): update uglify-js to version 3.0.0 2017-05-06 18:47:43 -04:00
Bryan Housel 65e403c524 Add a bit more instruction about dragging, mention keyboard arrow keys
(closes #4015)
2017-05-05 16:04:48 -04:00
Bryan Housel 76d9f0293e Teach +/- buttons during the zoom step, and don't cover them with curtain
(closes #4014)
2017-05-05 15:49:05 -04:00
Bryan Housel a99136786f Move the greenkeeper badge 2017-05-05 10:07:45 -04:00
Bryan Housel 86ef14a8e0 Don't bump xmlbuilder just yet, as it requires node 6 2017-05-05 10:06:09 -04:00
greenkeeper[bot] 7d55071bc3 docs(readme): add Greenkeeper badge 2017-05-05 13:31:11 +00:00
greenkeeper[bot] 30f3afcc7c chore(package): update dependencies 2017-05-05 13:31:08 +00:00
Bryan Housel 660511ec66 Add a validation warning about creating old-style multipolygons
(closes #3933)
2017-05-04 12:30:58 -04:00
Bryan Housel 89013627fb Don't consider untagged multipolygons as old multipolygons
Also add a lot of old-style multipolygon tests
(closes #4009)
2017-05-04 12:16:04 -04:00
Bryan Housel 6f66cf84bc Fix field reference buttons
(closes #4008)
2017-05-03 22:44:12 -04:00
Bryan Housel 7f2275bab9 Shortcuts for point/line/area should deselect tool
(closes #4003)
2017-05-03 18:01:07 -04:00
Bryan Housel 232fbf13c8 Don't show overlay layers in the walkthrough
(re: #4007)
2017-05-03 17:44:54 -04:00
Bryan Housel a18d690dd5 Don't let window.location changes happen during draw modes
(closes #3996)
2017-05-03 17:15:35 -04:00
Bryan Housel 651ec363f6 Undo/Redo while drawing line/area should keep the user in drawing mode
(closes #3530)
2017-05-03 16:08:23 -04:00
Bryan Housel e88aeadd32 Undo/Redo handler shouldn't switch modes unless already in browse/select 2017-05-03 16:07:16 -04:00
Bryan Housel ef95db8524 Add ability to history.pop n times
This is a little better than just calling pop a bunch of times because
it avoids dispatching extra history change events
2017-05-03 16:03:56 -04:00
Bryan Housel 2ebfcd174e Don't redo into un-annotated edit states
(closes #4006)
2017-05-03 00:21:37 -04:00
greenkeeperio-bot b7c0176498 chore(package): update sinon-chai to version 2.10.0
https://greenkeeper.io/
2017-05-01 16:57:22 -04:00
Bryan Housel 5df8d1268f Add preset for beach volleyball pitch
(closes #3983)
2017-04-29 08:59:32 -04:00
Bryan Housel 8395ca8b43 Adjust position of Name Road prompt, simplify code
(closes #3992)
2017-04-28 14:57:44 -04:00
Bryan Housel ccbc0a3f91 Make "Add field" wider
(closes #3993)
2017-04-28 12:08:01 -04:00
Bryan Housel a4a3dd2896 Add -ms-user-select rules to prevent shift-click from extending selection
(closes #2921)
2017-04-28 14:48:16 +01:00
Bryan Housel eb58974c3f Merge pull request #3997 from Andygol/Ukr-phone
Ukraine phone number format
2017-04-27 16:45:31 -04:00
Andrey Golovin 7930c48f41 Ukraine phone number format 2017-04-27 23:20:53 +03:00
Bryan Housel 4edf83dd3b Merge pull request #3995 from Andygol/patch-1
Added fields for address in Ukraine
2017-04-27 16:00:06 -04:00
Andrey Golovin eb67dcd270 Added fields for address in Ukraine
As Ukrainian OSM Community don't fill in `addr:city` for each building, It is better to decrease amount of field for adding addresses.
>Теґ addr:city=* в Україні зазвичай не використовується.

☝️ https://wiki.openstreetmap.org/wiki/Uk:Addresses
2017-04-27 22:48:59 +03:00
Bryan Housel ea1e64d4d2 Fix combobox accept on click in IE11
(closes #3991)
2017-04-27 19:23:11 +01:00
Bryan Housel 4542ad8dc4 Don't count right click twice in walkthrough on Windows
(closes #3988)
2017-04-27 17:09:57 +01:00
Bryan Housel af31cf5eb5 Fix spacedraw drawing, make clicking less touchy
(closes #3986)

Root cause was the vertex shadow strokes were too big, esp on endpoints.
For normal lines 16px stroke width centers on the line, but for vertices
it extends beyond the vertex radius, stealing clicks.

Also switched some "globals" to module variables in draw.js
2017-04-26 16:37:15 -04:00
Bryan Housel 5ca4246a6d If drawing a way, don't hover on a node that was just placed
(closes #3974)
2017-04-26 13:33:21 -04:00
Bryan Housel 8520e06c5a Performance: only draw midpoints in select mode 2017-04-26 10:27:38 -04:00
Bryan Housel 1dfd3f46ac Put the tooltip near the Residential Road button
(closes #3985)
2017-04-26 09:36:20 -04:00
Bryan Housel 3d762b58f6 Add an ellipse to resolve point ambiguity when dragging
(closes #3536)
2017-04-26 02:08:54 -04:00
Bryan Housel ba97dde0f2 Limit members editor and memberships editor to 1000 entrires
(closes #3737)
2017-04-26 01:15:16 -04:00
Bryan Housel fb4c64bf70 Fix isConnected tests 2017-04-26 00:54:45 -04:00
Bryan Housel 795fe29cdd Only show connected vertex if it connects an interesting line 2017-04-26 00:34:48 -04:00
Bryan Housel 49c087d51f Rename delegate->selector, adjust formatting, drop userselect polyfill 2017-04-25 16:51:12 -04:00
Bryan Housel e6da524f82 Allow all nodes and vertices to be dragged
(revert of #3739)
2017-04-25 16:44:09 -04:00
Bryan Housel 3b54743f86 Add more d3.timerFlush to avoid false test failures (hopefully) 2017-04-24 16:15:41 -04:00
greenkeeperio-bot 129450f4ad chore(package): update mocha to version 3.3.0
https://greenkeeper.io/
2017-04-24 16:04:22 -04:00
Bryan Housel b803730a4b More modal and confirm tests, d3.timerFlush to avoid false failures 2017-04-24 14:57:47 -04:00
Bryan Housel d07d20cba7 Drop custom "classed" chai assertation and just use d3 2017-04-24 10:27:29 -04:00
Bryan Housel 149cbbe350 Fix hover tests 2017-04-24 10:05:02 -04:00
Bryan Housel 14ebd273b5 Make opening_hours a combo
see:  https://github.com/openstreetmap/iD/issues/974#issuecomment-296665907
2017-04-24 09:51:12 -04:00
Bryan Housel 6de6056c66 Don't hover sidebar or vertices when alt key disables snapping
This makes it a little more clear that the alt key is doing its job
2017-04-23 11:11:16 -04:00
Bryan Housel 38f69fa4bd Add inscription field to historic=boundary_stone preset too
(missed in be63485)
2017-04-23 09:36:06 -04:00
Bryan Housel be634853a9 Add inscription field to historic presets
(closes #3949)
2017-04-23 01:29:45 -04:00