Commit Graph

7583 Commits

Author SHA1 Message Date
Martin Raifer 19c3bb2563 live reloading with live-server doesn't work anymore 2016-09-29 10:42:07 +02:00
Martin Raifer bff55ef2bf update installation instructions and prerequisites 2016-09-29 10:16:58 +02:00
Bryan Housel 4f5019d5a6 Merge branch 'master' into d3-v4 2016-09-28 16:08:40 -04:00
Bryan Housel 76d6abd43e Hide combobox on tabbing
(This only seems to affect the raw_tag_editor)
2016-09-28 15:51:57 -04:00
Bryan Housel 4a94474a3a Better guard code around wiki services, always call callbacks 2016-09-28 14:42:30 -04:00
Bryan Housel 774fe1e67a Guard against calling wikipedia service with empty query 2016-09-28 00:36:00 -04:00
Bryan Housel aeb2e26fa0 Reassign input variable to the update selection after merge 2016-09-27 23:28:09 -04:00
Bryan Housel 132e699c89 Replace extend with smarter copy for tag changes
Because compound fields like `address` may send a bunch of undefined tag
values in the `changed` object, and we don't want them all to turn into
raw tags (but we do want them to override any existing tags).

This is subtlely different than what `_.extend({}, existing, changed)` did.
2016-09-27 23:20:16 -04:00
Bryan Housel b92e49f61a Fix raw tag editor data binding of key/value input fields 2016-09-27 23:06:28 -04:00
Bryan Housel 460ea42c95 Fix enter/update selections for multicombo chips 2016-09-27 00:12:37 -04:00
Bryan Housel 7b6a15eaa9 Fix left/right selections in cycleway field 2016-09-27 00:01:08 -04:00
Bryan Housel 6d2e999885 Fix enter/update selections for textpaths and text labels 2016-09-26 23:25:59 -04:00
Bryan Housel 464b0b2aca Fix issues with walkthrough 2016-09-26 16:25:38 -04:00
boothym 335c464214 Add maxspeed field to railway preset 2016-09-26 18:27:54 +01:00
boothym 2f73109c29 Add e-cigarette shop preset 2016-09-26 18:06:30 +01:00
boothym 2c925d270e Add capacity field to amenity=charging_station preset 2016-09-26 17:46:00 +01:00
Bryan Housel d7b3bb5a89 Fix placeholders set during enter selection not finding input element
Also remove unhelpful placeholder from access_simple.json
2016-09-26 01:03:55 -04:00
Bryan Housel e4509cc123 Update all dependencies, remove d3 from the greenkeeper ignore list
Also add a few workarounds for a few weird rollup v0.36 issues
2016-09-26 00:42:51 -04:00
Bryan Housel 6d68c30bf4 Merge pull request #3451 from jasonharrison/patch-1
though -> thought
2016-09-25 23:03:17 -04:00
Bryan Housel b90c5459ab Add RatchetyInterpolator for breathe behavior
The interpolator now just runs a few discrete steps, avoiding most of the
repainting that was causing high CPU and noisy laptop fans.  And it still
looks pretty good.

(closes #2911)
2016-09-24 23:22:00 -04:00
Jason Harrison f4b02d1c25 though -> thought 2016-09-24 01:51:15 -04:00
Bryan Housel ab1b5ad39c Fix hover behavior 2016-09-24 00:55:35 -04:00
Bryan Housel 12afac526b Fix breathe behavior 2016-09-24 00:13:28 -04:00
Bryan Housel 545cd4a44d Fix oneways 2016-09-23 12:00:21 -04:00
Bryan Housel 57d0bc13cf Fix lint warnings, comment out crashy service reset code (re: #3324) 2016-09-23 10:23:24 -04:00
Bryan Housel 9f956e414c Fix ui.Commit merge updated selections 2016-09-23 10:02:36 -04:00
Bryan Housel cd4e6f038e Fix and cleanup all map easing transitions, now supports eased zoom, pan 2016-09-22 23:51:40 -04:00
Bryan Housel 4e1a7cb6c8 Fix propagation of change events 2016-09-21 01:17:59 -04:00
Bryan Housel 0ea59a043d Fields mostly working (but not dispatch/update) 2016-09-20 22:41:05 -04:00
Bryan Housel c5a8bcc3a6 More fixes to fields 2016-09-18 12:57:23 -04:00
Bryan Housel 6346a11880 Continuing to audit enter/update selections that need merge() 2016-09-18 00:51:43 -04:00
Bryan Housel a6d683eaf7 Code cleanups in svg, ui for selection merging, fix Mapillary. 2016-09-17 23:26:49 -04:00
Bryan Housel 8a81293b0c Fix preset list and icons 2016-09-17 15:02:48 -04:00
Bryan Housel 415dd8c7ba Fix infobox 2016-09-17 13:18:02 -04:00
Kushan Joshi 4c996b9b42 refactor none to null 2016-09-13 19:53:02 +05:30
Bryan Housel f1b918cf43 Fix map-in-map to use new d3 v4 zoom behavior 2016-09-12 21:40:58 -04:00
Bryan Housel 4522d8f89a Add some namespaces to test labels 2016-09-12 21:40:00 -04:00
Bryan Housel c8e4f76c23 Merge pull request #3407 from openstreetmap/greenkeeper-eslint-3.5.0
Update eslint to version 3.5.0 🚀
2016-09-10 21:46:16 -04:00
Bryan Housel bb942aa9b6 Add only a single defs element to surface 2016-09-09 23:20:48 -04:00
greenkeeperio-bot 466cab9dc7 chore(package): update eslint to version 3.5.0
https://greenkeeper.io/
2016-09-09 16:34:21 -04:00
Bryan Housel 482b4d7cbe mock userAgents in a way that works in both Phantom and real browsers 2016-09-09 14:59:55 -04:00
Bryan Housel 273407da3d Fix svg layer selections, fix and add tests.. 2016-09-09 14:19:13 -04:00
Bryan Housel afb88f2ae6 Fix rendering selections for all the OSM layers
This includes some renames for clarity.. "surface" -> "selection"
to make it clearer that rendering functions take a selection, and
don't necessarily render to the literal `#surface` node anymore.
2016-09-08 22:37:06 -04:00
Bryan Housel 41b2122efe Fix wrong setDimensions call (dimensions is a method on Layers) 2016-09-08 22:35:36 -04:00
Eduard Popov 9cbf6217d7 Fix way disappearing due to invalid "layer" tag
Hello.

Now layer() returns only a finite number, not NaN.

/* Chrome 53 */
2016-09-08 12:26:27 +10:00
Bryan Housel 15b3a44c9a Add projection.transform, simplify projection code, WIP on minimap 2016-09-07 08:59:31 -04:00
Tom MacWright 9c902dbf71 geoCentroid -> polygonCentroid 2016-09-06 18:13:50 -04:00
Tom MacWright 81c9c4bd95 Remove event-sim test 2016-09-06 17:37:26 -04:00
Tom MacWright b7fffbd281 phantomjs doesn't support FocusEvent, moving back to makeEvent 2016-09-06 17:33:47 -04:00
Tom MacWright a28e24bb4c Fix lints 2016-09-06 17:29:03 -04:00