Commit Graph

1393 Commits

Author SHA1 Message Date
Bryan Housel e0d7daad3a Minor style adjustments, code cleanups 2016-03-15 14:42:33 -04:00
Bryan Housel 3da6b21e44 Merge branch 'freeform' of https://github.com/kepta/iD into kepta-freeform 2016-03-15 11:27:34 -04:00
Bryan Housel e1cde03a95 Only set coalesceChanges flag when a real tag change has happened
(closes #3035)
2016-03-14 20:55:53 -04:00
Bryan Housel 58e6ac075b Return to browse mode and block ui while geolocating
(fixes #3016)
2016-03-10 11:07:52 -05:00
Kushan Joshi 9c09af98bb Freeform lasso shapes
Allows iD to draw freeform lasso shapes
(closes #2937)
2016-03-08 03:20:55 +05:30
Bryan Housel 643df21cd9 Fix selector for .layer-background opacity
(fixes #3010)
2016-03-03 13:20:20 -05:00
Bryan Housel e7dfe3949e Fix classes of map data lists and items
(gpx layer was erroneously classed `layer-gpx` and getting `pointer-events:none`)
2016-03-01 13:06:30 -05:00
Bryan Housel 4a93977f43 Merge pull request #3001 from openstreetmap/data-layer-refactor2
Data layer refactor
2016-02-27 23:10:06 -05:00
Bryan Housel a866856ec2 Cleanup turn restriction handlers when form not visible 2016-02-26 00:14:09 -05:00
Bryan Housel a40a6fae2a Avoid sneaky subselection data inheritance 2016-02-25 16:54:52 -05:00
Bryan Housel 69bc50aafb Move data layers out of Background 2016-02-24 22:38:03 -05:00
Bryan Housel 45e4e730a8 iD.svg.Surface -> iD.svg.Layers 2016-02-24 15:41:22 -05:00
Bryan Housel c595fdbf57 Avoid calling getComputedStyle and triggering reflows 2016-02-24 12:04:44 -05:00
Bryan Housel caf5ff815c Move svg into iD.svg.Surface, adjust layer names 2016-02-24 00:07:04 -05:00
Bryan Housel 1f337aa960 Move more data layers from Background into Surface 2016-02-23 16:15:26 -05:00
Bryan Housel a5d8e1b0cb Move gpx layer from background to surface 2016-02-22 23:31:43 -05:00
Bryan Housel 6c1df37298 Move GPX, Mapillary Images, Mapillary Signs into svg namespace 2016-02-18 17:11:57 -05:00
Bryan Housel c2760470b8 Merge pull request #2988 from kepta/2972
Adding ▶/▼ to category presets to make it clearer
2016-02-18 16:12:32 -05:00
Bryan Housel 5957adb67d Dynamically check for existence of Mapillary service
This allows us to
1. enable specific parts of Mapillary only for certain browsers
2. remove the Mapillary service completely if desired (closes #2722)

To remove Mapillary, just set `iD.services.mapillary = null`
or remove the <script> tag that loads mapillary.js.
2016-02-15 16:16:44 -05:00
Kushan Joshi d1f9c88f04 Adding ▶/▼ to category presets to make it more clear
(closes #2972)
2016-02-13 17:19:42 +05:30
Bryan Housel a083ae3001 Call service reset functions from iD.flush()
Also fix misspelling nominatum -> nominatim
2016-02-08 12:02:57 -05:00
Bryan Housel 3e65156754 Refactor services 2016-02-08 10:31:34 -05:00
Bryan Housel 4ffabf8933 Mapillary code cleanup 2016-02-07 01:05:20 -05:00
peterneubauer ea819c0d09 adding a first traffic sign layer, rendering not working properly yet. 2016-02-07 01:02:22 -05:00
Bryan Housel 540700c6ef Accept input and return to browse mode only on preset input fields
(closes #2957, better solution for #2380)
2016-02-06 22:41:30 -05:00
Bryan Housel b1b8d25974 Better fit for 60px preset icons inside area frame
(e.g. pedestrian street mapped as area)
2016-02-06 15:00:47 -05:00
Bryan Housel 83b0a8ca68 No need to make FAQ link translatable
(closes #2973)
2016-02-06 14:05:10 -05:00
Bryan Housel e7a7e2edc5 Adjust styles, constrain tooltip to fit in map-control panel 2016-02-05 00:16:48 -05:00
Bryan Housel 70d808d2f0 Merge branch '2902' of https://github.com/kepta/iD into kepta-2902 2016-02-04 14:41:38 -05:00
Kushan Joshi bf334ed8a3 for "best" imagery
(closes #2902)
2016-02-05 00:59:41 +05:30
Kushan Joshi 4f328f6bfb change http to https
(closes #2960)

Interim
2016-02-04 21:42:38 +05:30
Bryan Housel 57e5f2540c Fix rendering after user clicks "Add field"
(closes #2956)
2016-02-01 13:54:13 -05:00
Kushan Joshi 427d08a7b8 Splitting success.help_html
In ref issue: https://github.com/openstreetmap/iD/issues/2940
2016-01-29 20:32:04 -05:00
Kushan Joshi 459f2929ce Link to wiki for changeset comments
Added the link:http://wiki.openstreetmap.org/wiki/Good_changeset_comments
below the comment box

Issue: https://github.com/openstreetmap/iD/issues/2923
2016-01-29 20:31:19 -05:00
Bryan Housel 7afa0e4ad2 Option to collapse preset fields section
(closes #2894)
2016-01-29 00:40:37 -05:00
Bryan Housel ecb0db7009 Remove inline opacity style after transition complete
(This was causing the raw tag editor to sometimes *not* display
 for fallback presets like "point", "line", "area")
2016-01-29 00:38:59 -05:00
Kushan Joshi 25d652abd1 Use user language for default translated names
Shows the default user language for translated names.
in ref to issue: https://github.com/openstreetmap/iD/issues/2882
2016-01-25 23:43:53 +05:30
John Firebaugh 0d2a742e18 Autocomplete changeset comments from previous changeset comments
Fixes #2002
2016-01-24 12:46:26 -08:00
Martin Raifer 1c9e7ff1dd drop overly agressive email address character cleanup
email addresses may contain UTF-8 characters in both the local
part and/or domain part (see RFC 6531, RFC 6532, IDN).

refs #2323, #2892
2016-01-24 17:31:58 +01:00
Bryan Housel 274d9df95d Fix crash when selecting a category preset with enter button
(this happens because the datum() is a constructor not a constructed object, and
category presets have state, so calling datum().choose from keypress doesn't work)
2016-01-23 22:50:06 -05:00
Kushan Joshi 5b9908d2f6 Removal of faulty regex
In ref to
https://github.com/openstreetmap/iD/issues/2892
2016-01-23 23:57:20 +05:30
Bryan Housel 23b22fdaac Avoid removing and re-adding address field (closes #2903) 2016-01-17 23:32:03 -05:00
Bryan Housel ce9c480498 Prefer parentNode over parentElement because IE (closes #2910) 2016-01-13 00:04:59 -05:00
Bryan Housel e2f7111f81 Compare graphs instead of using expensive iD.Difference calls 2016-01-10 23:22:45 -05:00
Bryan Housel f2a8f7181b Plug memory leak in raw tag editor / d3.combobox 2016-01-05 01:33:16 -05:00
Bryan Housel afca7c5643 Prevent most keyboard shortcuts during walkthrough
(If hit accidently these can really get a user stuck)
2015-12-22 23:06:41 -05:00
Bryan Housel a2f32275ac Prevent user from editing during pause if restarting task 2015-12-22 23:03:21 -05:00
Bryan Housel 902c122383 Cancel throttled hover events when exiting hover modes
possibly related to #2736, as a source of "Uncaught Error Entity xxxx not found" errors
2015-12-22 16:23:18 -05:00
Bryan Housel ee66674c64 Localize some of the features in the walkthrough (closes #2881) 2015-12-21 15:12:04 -05:00
Bryan Housel 7b6c1c7cfe Clear feature search param and results when changing modes 2015-12-20 02:23:15 -05:00