Commit Graph

1380 Commits

Author SHA1 Message Date
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 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
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
Bryan Housel ea1e626d41 Center map on feature when selecting feature from search results 2015-12-20 00:33:22 -05:00
Bryan Housel 7b077b48a4 Suppress radial menu when selecting feature from search results 2015-12-20 00:12:01 -05:00
Bryan Housel f4c9f7487a Add search to walkthrough (closes #2363) 2015-12-19 23:21:14 -05:00
Bryan Housel edd19cbd0a Display Help button in walkthrough, stay on it longer (closes #2364) 2015-12-17 15:15:26 -05:00
Bryan Housel 83ce993157 Add back button for feature type reselection (closes #2453) 2015-12-16 22:11:31 -05:00
Bryan Housel 2bbe968045 Enable save as soon as user starts typing (closes #2342) 2015-12-16 20:50:49 -05:00
Bryan Housel 07fae18da0 Add button images to walkthrough text (closes #2404) 2015-12-15 15:02:19 -05:00
Bryan Housel 51ed5b6eb2 Better save blocking in intro (closes #1795)
Previous code blocked the button click handler only, not the ⌘S keybinding
2015-12-15 10:35:57 -05:00
Bryan Housel 000b4a8819 Change feature editor close X to check mark (closes #2384) 2015-12-14 20:36:08 -05:00
Bryan Housel 239abdf4e7 Better save and restore map state when entering walkthrough
(should cut down on errant edits in Three Rivers, MI)
2015-12-10 14:02:16 -08:00
Bryan Housel 00b426e951 Add snake_case field property (closes #2867)
The vast majority of tag values in OSM should be automatically snake_cased
(e.g. `amenity=place_of_worship`)
But there are a few exceptions, e.g. fields expected to include a unit
(e.g. `maxstay=1 day`)
So this allows a ui field to set whether or not to automatically snake_case
2015-12-09 13:46:30 -08:00
Bryan Housel 6f6a250483 Use Maki dentist icon 2015-12-08 00:04:49 -08:00
Bryan Housel e06d0cbca6 Merge pull request #2853 from openstreetmap/no-roundcoords
Eliminate rounding causing jumpiness and loss of precision
2015-12-07 23:39:21 -08:00