Commit Graph

675 Commits

Author SHA1 Message Date
Bryan Housel 43cb17cdda Only adjust the What's New tooltip if the login/logout links are hidden 2017-05-08 02:12:19 -04:00
Bryan Housel 4ee5d7334b Fix spacebar drawing and hover in Firefox - don't match active node
(closes #4016)
2017-05-08 01:37:38 -04:00
Bryan Housel cd09f9dfee Prevent mouseup from turning into a click
Mouseup was turning into a click on whatever was the last thing clicked.
In this walkthrough, this would sometimes be the "Add Area" mode button,
which would re-enter the add area mode and throw away the user's drawing.
(I have no idea why.)
2017-05-07 22:44:42 -04:00
Bryan Housel 2c2a0bb533 Remove unused variables - eslint 2017-05-07 17:34:22 -04:00
Bryan Housel 86c5db8c70 Add ability to specify the reference lookup for presets
(closes #3227)
2017-05-07 11:52:30 -04:00
Bryan Housel 65e403c524 Add a bit more instruction about dragging, mention keyboard arrow keys
(closes #4015)
2017-05-05 16:04:48 -04:00
Bryan Housel 76d9f0293e Teach +/- buttons during the zoom step, and don't cover them with curtain
(closes #4014)
2017-05-05 15:49:05 -04:00
Bryan Housel 660511ec66 Add a validation warning about creating old-style multipolygons
(closes #3933)
2017-05-04 12:30:58 -04:00
Bryan Housel 89013627fb Don't consider untagged multipolygons as old multipolygons
Also add a lot of old-style multipolygon tests
(closes #4009)
2017-05-04 12:16:04 -04:00
Bryan Housel 6f66cf84bc Fix field reference buttons
(closes #4008)
2017-05-03 22:44:12 -04:00
Bryan Housel 7f2275bab9 Shortcuts for point/line/area should deselect tool
(closes #4003)
2017-05-03 18:01:07 -04:00
Bryan Housel 232fbf13c8 Don't show overlay layers in the walkthrough
(re: #4007)
2017-05-03 17:44:54 -04:00
Bryan Housel a18d690dd5 Don't let window.location changes happen during draw modes
(closes #3996)
2017-05-03 17:15:35 -04:00
Bryan Housel 651ec363f6 Undo/Redo while drawing line/area should keep the user in drawing mode
(closes #3530)
2017-05-03 16:08:23 -04:00
Bryan Housel e88aeadd32 Undo/Redo handler shouldn't switch modes unless already in browse/select 2017-05-03 16:07:16 -04:00
Bryan Housel ef95db8524 Add ability to history.pop n times
This is a little better than just calling pop a bunch of times because
it avoids dispatching extra history change events
2017-05-03 16:03:56 -04:00
Bryan Housel 2ebfcd174e Don't redo into un-annotated edit states
(closes #4006)
2017-05-03 00:21:37 -04:00
Bryan Housel 8395ca8b43 Adjust position of Name Road prompt, simplify code
(closes #3992)
2017-04-28 14:57:44 -04:00
Bryan Housel ea1e64d4d2 Fix combobox accept on click in IE11
(closes #3991)
2017-04-27 19:23:11 +01:00
Bryan Housel 4542ad8dc4 Don't count right click twice in walkthrough on Windows
(closes #3988)
2017-04-27 17:09:57 +01:00
Bryan Housel af31cf5eb5 Fix spacedraw drawing, make clicking less touchy
(closes #3986)

Root cause was the vertex shadow strokes were too big, esp on endpoints.
For normal lines 16px stroke width centers on the line, but for vertices
it extends beyond the vertex radius, stealing clicks.

Also switched some "globals" to module variables in draw.js
2017-04-26 16:37:15 -04:00
Bryan Housel 5ca4246a6d If drawing a way, don't hover on a node that was just placed
(closes #3974)
2017-04-26 13:33:21 -04:00
Bryan Housel 8520e06c5a Performance: only draw midpoints in select mode 2017-04-26 10:27:38 -04:00
Bryan Housel 1dfd3f46ac Put the tooltip near the Residential Road button
(closes #3985)
2017-04-26 09:36:20 -04:00
Bryan Housel 3d762b58f6 Add an ellipse to resolve point ambiguity when dragging
(closes #3536)
2017-04-26 02:08:54 -04:00
Bryan Housel ba97dde0f2 Limit members editor and memberships editor to 1000 entrires
(closes #3737)
2017-04-26 01:15:16 -04:00
Bryan Housel 795fe29cdd Only show connected vertex if it connects an interesting line 2017-04-26 00:34:48 -04:00
Bryan Housel 49c087d51f Rename delegate->selector, adjust formatting, drop userselect polyfill 2017-04-25 16:51:12 -04:00
Bryan Housel e6da524f82 Allow all nodes and vertices to be dragged
(revert of #3739)
2017-04-25 16:44:09 -04:00
Bryan Housel 149cbbe350 Fix hover tests 2017-04-24 10:05:02 -04:00
Bryan Housel 14ebd273b5 Make opening_hours a combo
see:  https://github.com/openstreetmap/iD/issues/974#issuecomment-296665907
2017-04-24 09:51:12 -04:00
Bryan Housel 6de6056c66 Don't hover sidebar or vertices when alt key disables snapping
This makes it a little more clear that the alt key is doing its job
2017-04-23 11:11:16 -04:00
Bryan Housel 06caeb87b7 Correct lodash _.omit usage
(closes #3965)
2017-04-22 23:05:15 -04:00
Bryan Housel 0782ee10c8 Remove address part if translation matches <.*> 2017-04-22 12:03:37 -04:00
Bryan Housel a5554cf3b0 Expire saved changeset comment older than 2 days
(closes #3947)
2017-04-21 23:01:32 -04:00
Bryan Housel 92d6d51724 Mock geocoder in walkthrough so we can localize address field 2017-04-21 17:53:37 -04:00
Bryan Housel 2e6bb9b8d7 Localize addr:street tags in walkthrough 2017-04-21 13:41:16 -04:00
Bryan Housel 4bd883b221 Don't lowercase the field names in the tutorial
(closes #3977)
2017-04-21 13:24:04 -04:00
Bryan Housel f92320c166 Ignore uninteresting tags in old-style multipolygon code 2017-04-21 09:40:05 -04:00
Bryan Housel d3e7685eb5 Keep track of new row and keep it sorted last
(closes #3960)
2017-04-21 02:35:53 -04:00
Bryan Housel bcd4e5135a Use window.top.location instead of window.location
(closes #3950)
2017-04-21 01:29:22 -04:00
Bryan Housel 26ae84f8e5 Render old-style multipolygons slightly differently
(for #3908)
2017-04-20 23:34:00 -04:00
Bryan Housel d441cd92c3 Smaller nudge regions in drag_node and move
(closes #3956)
2017-04-20 22:18:33 -04:00
Bryan Housel 108150faf9 Don't re-request inflight nominatim requests 2017-04-20 14:45:22 -04:00
Bryan Housel 43b8ab1754 Set debounce wait to 500ms, still feels responsive 2017-04-20 14:13:10 -04:00
Bryan Housel 02688a1fcf Check cache for shortened query that returns fewer than max results 2017-04-20 14:08:38 -04:00
Bryan Housel 62d0bc0bf5 Debounce should debounce all requests even cached, fix tests
(see https://github.com/openstreetmap/iD/pull/3975#issue-222747308)
2017-04-19 13:13:12 -04:00
Bryan Housel 494dd979a9 Never reset the taginfo cache
The data on taginfo is refreshed once per day, so there's no reason to
reissue those API calls during a normal editing session.

reset() gets called after the user saves their changes to OSM
2017-04-19 09:25:09 -04:00
Bryan Housel c2d6c84aee Exclude popular keys from values lookups..
see #3955
2017-04-18 23:29:01 -04:00
Bryan Housel b44bd7a427 Increase debounce threshold for taginfo 2017-04-18 21:15:47 -04:00