Commit Graph

3115 Commits

Author SHA1 Message Date
Bryan Housel
a7a8a6f38e Cancel throttled hash updates in hash.off() 2015-12-23 10:09:11 -05:00
Bryan Housel
3830396e0f Ignore entity not found errors in childNodes conflict check (closes #2736)
Entity not found is caused by subtle bugs elsewhere in the iD code and should
not prevent users from saving their work because it can't be thoroughly
conflict checked.
2015-12-22 23:33:27 -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
226b73fd48 Don't call childNodes unless necessary (avoid extra _childNodes caching)
`hasHiddenConnections` was calling it for all features, inluding points and
vertices, causing _childNodes to have a lot of unnecessary keys added to it.
2015-12-22 12:03:08 -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
46ac91ad06 Fail gracefully when singular selected item disappears
(This was causing a crash in the walkthrough if the user failed to connect
Flower Street and the walkthrough removed the new way and restarted the task)
2015-12-21 15:09:44 -05:00
Bryan Housel
4bcbb6cbad Merge pull request #2879 from openstreetmap/breathe-behavior
Add Breathe behavior for interpolated select halos
2015-12-21 09:16:01 -05:00
Bryan Housel
7b6c1c7cfe Clear feature search param and results when changing modes 2015-12-20 02:23:15 -05:00
Bryan Housel
0720b03f66 In Taginfo results sort keys w ':' below keys w/o ':' (closes #2376) 2015-12-20 01:12:31 -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
c185189512 Adjust interpolation params, DRY code, perf improvements 2015-12-18 20:39:45 -05:00
Bryan Housel
882457a351 Add Breathe behavior for interpolated select halos (closes #1814) 2015-12-17 22:25:46 -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
8139ca7a48 Return should accept input and return to browse mode (closes #2380) 2015-12-16 21:33:53 -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
d124d13b4b jshint 2015-12-12 12:21:24 -08:00
Bryan Housel
879480263c Set 'Content-Type': 'text/xml' when closing changeset (closes #2874)
Not sure exactly why this matters only on OSM.org, only for IE,
and only on this PUT call with no content, but it seems to fix the issue.
2015-12-12 12:15:12 -08:00
Bryan Housel
534ddecccf 1.8.3 2015-12-11 13:16:27 -08:00
Bryan Housel
9bc52598df Replace nonstandard Arrayfind with _.find (closes #2871) 2015-12-11 13:06:42 -08:00
Bryan Housel
ce3cbcc197 1.8.2 2015-12-10 17:55:26 -08:00
Bryan Housel
6caad1bcea Set default map view to 2/0/0 (zoomed out world)
(should cut down on errant edits in Washington DC)
2015-12-10 14:02:47 -08: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
23bd2a101d Fix issues with <use>'d elements and fill under Firefox (closes #2860) 2015-12-06 22:28:09 -08:00
Bryan Housel
134ac6709b Handle situation when user closes oauth dialog window (closes #2858) 2015-12-04 20:56:46 -05:00
Bryan Housel
98d428e867 1.8.1 2015-12-02 16:47:23 -05: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
0b93fefa41 Add surface and tracktype as secondary tags for classing 2015-12-01 15:41:45 -05:00
Bryan Housel
8a9accfe8d Replace generic "tag-ephemeral" with specific "tag-status tag-status-xxx" 2015-12-01 15:31:25 -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
a117862e3f Detect Edge useragent 2015-11-26 01:54:50 -05:00
Bryan Housel
16ca10708b Fix oneway markers in IE 2015-11-26 01:11:46 -05:00
Bryan Housel
b4628298d9 Differentiate between paved/unpaved roads (closes #2564)
Now `iD.svg.TagClasses` will add the class 'tag-unpaved' for unpaved roads.
2015-11-25 15:28:37 -05:00
Bryan Housel
093b2a5a60 Workaround for broken maki hairdresser-18 icon 2015-11-25 02:00:28 -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
7f56c4d8db Merge pull request #2829 from naturalatlas/minimap-fixes
Support for multiple overlays in minimap + fix for #2813
2015-11-24 14:20:30 -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
Josh Lee
7500daca28 Update id.js
Fix iD.detect when navigator.languages is empty.
2015-11-20 19:33:24 -05:00
Brian Reavis
13f0ceda3e Support for multiple overlays in minimap + fix for #2813 2015-11-10 12:03:13 -07:00