Commit Graph

1362 Commits

Author SHA1 Message Date
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
Bryan Housel b892b8c156 Adjust to new taginfo wiki_pages API call (closes #2844)
Also decouple tag_reference.js from taginfo.js service
(no need to have special callback semantics just to retry the call w/o value)
2015-12-02 11:44:00 -05:00
Bryan Housel f6529cac39 Eliminate rounding causing jumpiness and loss of precision (closes #2849) 2015-12-01 11:39:26 -05:00
Bryan Housel 0e203c60cf Merge pull request #2841 from openstreetmap/best-imagery
Prefer imagery marked as `best` in editor-imagery-index
2015-11-24 23:43:17 -05:00
Bryan Housel e626d08b58 Don't transform gpx layer, as it is attached to tiles container
This was adding an extra scale transform to the gpx layer, but only while minimap zooming
2015-11-24 14:20:58 -05:00
Bryan Housel e5cd08a349 Prefer imagery marked as best (closes #2826)
* Sorts the imagery at the top of the background list
* Pick automatically if the url hash doesn't have another imagery chosen
* also fixes #1310
2015-11-23 21:15:48 -05:00
Brian Reavis 13f0ceda3e Support for multiple overlays in minimap + fix for #2813 2015-11-10 12:03:13 -07:00
Bryan Housel 0b1abc5c4f Make 100% brightness the default (closes #2824) 2015-11-05 16:12:49 -05:00
Bryan Housel d8e627b9b1 Translate operations icons rather than adding x,y attributes to the symbol
(Internet Explorer ignores the x,y attributes)
2015-11-05 10:43:06 -05:00
Bryan Housel eb88b67673 CSS styling for all preset icons 2015-11-04 10:47:28 -05:00
Bryan Housel d5a239159f Workarounds for Maki 2015-11-03 21:09:30 -05:00
Bryan Housel d729795049 Use svg for maki also 2015-11-03 16:43:22 -05:00
Bryan Housel 3853c0d993 Fix the rest of the icons (leave walkthrough graphics alone for now) 2015-11-02 20:46:08 -05:00
Bryan Housel 7a9acd84ee Restore almost all of the rest of the icons throughout the UI 2015-10-31 01:38:39 -04:00
Bryan Housel 27439208b1 Restore iD-sprite preset icons 2015-10-30 16:23:08 -04:00
Bryan Housel 53deaad7af Restore preset-icon-frame 2015-10-30 15:32:02 -04:00
Bryan Housel aa91ff49f8 Icons for operations, turn restrictions, bug/translate (closes #2766) 2015-10-30 14:06:29 -04:00
Bryan Housel d5dcc1ff1a More cleanups to iD-sprite and styles, remove old png and json files 2015-10-29 23:18:21 -04:00
Bryan Housel a6b83ef27f WIP: working svg sprite, import to defs, icons stylizable by css 2015-10-23 19:03:12 -04:00