Commit Graph

7188 Commits

Author SHA1 Message Date
Bryan Housel
ccbc0a3f91 Make "Add field" wider
(closes #3993)
2017-04-28 12:08:01 -04:00
Bryan Housel
a4a3dd2896 Add -ms-user-select rules to prevent shift-click from extending selection
(closes #2921)
2017-04-28 14:48:16 +01:00
Bryan Housel
eb58974c3f Merge pull request #3997 from Andygol/Ukr-phone
Ukraine phone number format
2017-04-27 16:45:31 -04:00
Andrey Golovin
7930c48f41 Ukraine phone number format 2017-04-27 23:20:53 +03:00
Bryan Housel
4edf83dd3b Merge pull request #3995 from Andygol/patch-1
Added fields for address in Ukraine
2017-04-27 16:00:06 -04:00
Andrey Golovin
eb67dcd270 Added fields for address in Ukraine
As Ukrainian OSM Community don't fill in `addr:city` for each building, It is better to decrease amount of field for adding addresses.
>Теґ addr:city=* в Україні зазвичай не використовується.

☝️ https://wiki.openstreetmap.org/wiki/Uk:Addresses
2017-04-27 22:48:59 +03: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
fb4c64bf70 Fix isConnected tests 2017-04-26 00:54:45 -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
3b54743f86 Add more d3.timerFlush to avoid false test failures (hopefully) 2017-04-24 16:15:41 -04:00
greenkeeperio-bot
129450f4ad chore(package): update mocha to version 3.3.0
https://greenkeeper.io/
2017-04-24 16:04:22 -04:00
Bryan Housel
b803730a4b More modal and confirm tests, d3.timerFlush to avoid false failures 2017-04-24 14:57:47 -04:00
Bryan Housel
d07d20cba7 Drop custom "classed" chai assertation and just use d3 2017-04-24 10:27:29 -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
38f69fa4bd Add inscription field to historic=boundary_stone preset too
(missed in be63485)
2017-04-23 09:36:06 -04:00
Bryan Housel
be634853a9 Add inscription field to historic presets
(closes #3949)
2017-04-23 01:29:45 -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
956f557d22 Better punctuation for walkthrough sentences 2017-04-21 13:34:35 -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
3e917f3c7b Merge pull request #3975 from openstreetmap/taginfo_improvements
Taginfo improvements
2017-04-20 14:49:14 -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
Bryan Housel
6f8770241f Merge pull request #3921 from openstreetmap/walkthrough-updates
Walkthrough updates
2017-04-18 14:13:14 -04:00
Bryan Housel
bde1c78d32 Break up longer text, mention Alt key to avoid point snapping 2017-04-18 14:06:00 -04:00
Bryan Housel
e3152fb8ec Make sure user can left and right click 2017-04-18 02:37:49 -04:00