Commit Graph

802 Commits

Author SHA1 Message Date
Ansis Brammanis b59cd62304 Don't include empty tags in taglist count
fixes #1289
2013-04-19 16:30:14 -04:00
Tom MacWright 8ec9ba3378 Don't close geocoder on result click. Fixes #1234 2013-04-19 15:22:24 -04:00
Ansis Brammanis d21d52d905 add maki as dependency, new sprite script
issue #1319
2013-04-19 14:51:48 -04:00
Ansis Brammanis 21c89f22dc export line preset sprite straight from inkscape
We could also use an svg sprite, just swapping the
one line in line-presets.css, but it seemed to
make scrolling the preset grid significantly
less smooth in Firefox.
2013-04-19 12:27:57 -04:00
Ansis Brammanis e893f686ca add postal code field, fixes #1292 2013-04-18 16:45:48 -04:00
Ansis Brammanis 5ed5968b76 fix reverting tag values
broke with dc0a6576
2013-04-18 16:29:03 -04:00
Ansis Brammanis b3ee67bee8 Allow suggested maxspeed units to be overridden
fixes #947
2013-04-18 15:09:15 -04:00
Ansis Brammanis 77403f62ec force blur and tag change when closing inspector
Firefox doesn't fire a blur if the element is just
removed from the dom.
2013-04-18 12:49:26 -04:00
John Firebaugh ab56cc5207 Clean up how OAuth keys are handled
Connection defaults to osm.org URL and keys for the simple
case. Customization is done via connection.switch().

Externalize SourceSwitch's use of iD.data.keys.
2013-04-17 17:43:25 -07:00
John Firebaugh a0edf68cbf URL, not Url 2013-04-17 17:25:04 -07:00
John Firebaugh a7a58d0775 Restore source switch for development 2013-04-17 16:24:12 -07:00
John Firebaugh a1d368e05c Use Connection#userUrl 2013-04-17 16:24:12 -07:00
Ansis Brammanis e2f9f57410 improve navigating saving with keyboard 2013-04-17 18:45:42 -04:00
Ansis Brammanis a18c9f1c6d fix id in intro, fixes #1323 2013-04-17 18:14:22 -04:00
John Firebaugh 4399ddb023 Don't hard-code "view on openstreetmap.org" URL
Fixes #1325
2013-04-17 14:54:42 -07:00
Ansis Brammanis 690f2d94a5 disable reset button when background not offset
also, only start the fast adjustment after 500ms to
prevent slow clicks from triggering multiple nudges

fixes #1312
2013-04-16 22:58:13 -04:00
John Firebaugh 5d88bce00f Fix Loading 2013-04-16 18:20:23 -07:00
John Firebaugh 77ce20c8c1 Add configurable image path 2013-04-16 17:20:21 -07:00
Ansis Brammanis 7403b9b9e8 Fix maxspeed unit detection
Centroid calculations were failing for two node ways.
It just uses the middle node now.
2013-04-16 19:08:52 -04:00
Ansis Brammanis 6636d9ace4 fill in localizations using wikipedia
If a feature has a wikipedia tag, then all
translated page titles are fetched. If a user
starts adding a localized name for a language with
an available translation, that translation gets
filled in automatically.
2013-04-16 17:43:39 -04:00
Ansis Brammanis 6fc290cf5c insert blank name localization field at top 2013-04-16 17:43:04 -04:00
Ansis Brammanis dd35ed91d9 name field is now localizable 2013-04-16 16:32:39 -04:00
Ansis Brammanis 7e75ea4bad Notify users of API status 2013-04-16 12:36:58 -04:00
John Firebaugh dc0a65768d Trim tag values (fixes #1276) 2013-04-15 18:40:45 -07:00
John Firebaugh 7f498c2a10 Fix "Remove" translation in radio field (fixes #1317) 2013-04-15 17:06:37 -07:00
Ansis Brammanis f981724448 improve wikipedia input
- more careful about parsing existing values
- if an wikipedia url is entered, convert it to the
  preferred format
2013-04-15 18:07:43 -04:00
Tom MacWright f091237b70 JSHint fixes 2013-04-15 12:59:29 -04:00
Saman Bemel-Benrud 541ac0ad51 friendlier access form. 2013-04-15 12:27:53 -04:00
saman bb c87bf425e7 styled radio menus. 2013-04-14 23:37:19 -04:00
John Firebaugh 52929b9312 Show preset grid for untagged features (fixes #1258) 2013-04-12 18:15:56 -04:00
John Firebaugh 5dda54ea52 Refine focus behavior for inspector (fixes #1277)
Auto-focus the search field only right after finishing drawing.
At that point, the radial menu isn't shown anyway. So then the
flow for correcting geometry before assigning a preset is:

 1. Draw.
 2. Finish drawing. The search field is focused, and no
    radial menu is open.
 3. Click again to reselect the feature and show menu.
    Now the search field is blurred.

In other words: when the menu is shown, search should not be
focused. When search is focused, the menu should not be shown.
2013-04-12 10:08:44 -04:00
John Firebaugh 4a960216d1 Camel case 2013-04-11 10:11:10 -04:00
John Firebaugh 0540060f2e Fix global leak 2013-04-11 10:10:38 -04:00
Saman Bemel-Benrud bce352f27a reworked background reset button. 2013-04-08 19:21:21 -04:00
John Firebaugh 872b148bc0 Add access field (#934) 2013-04-06 17:55:53 -07:00
Ansis Brammanis f356e3e357 fix cursors 2013-04-05 14:24:58 -04:00
saman bb cebf5dc1a6 adding mini-loader graphics. 2013-04-05 11:45:49 -04:00
Ansis Brammanis ece158b65e fix geocoder 2013-04-04 19:10:47 -04:00
John Firebaugh c1df01cec1 Fix global leak 2013-04-03 16:45:40 -07:00
Saman Bemel-Benrud 4bc98c32d1 reworked out links, closes #1242 2013-04-03 14:20:38 -04:00
Ansis Brammanis e097641f4e Fix deleting entity with modified field
fixes #1237
2013-04-02 16:43:53 -04:00
Ansis Brammanis 834139a7ba fix lasso 2013-04-02 15:59:09 -04:00
Ansis Brammanis 7e85fed027 add .id-container class to container
fixes #1228
2013-04-02 14:03:46 -04:00
Ansis Brammanis 7a5fca1e8a select geocoder result
fixes #1235
2013-04-02 12:51:17 -04:00
Ansis Brammanis 9b6a8f2b18 fix wiki link 2013-04-02 12:11:19 -04:00
Saman Bemel-Benrud fc0d89a6bd styled wikipedia preset. 2013-04-02 11:58:19 -04:00
Ansis Brammanis ffdc224390 Fix wikipedia input 2013-04-02 11:56:09 -04:00
Ansis Brammanis bae7b13425 Localize maxspeed field (mph and km/h) 2013-04-01 19:36:39 -04:00
Ansis Brammanis 33ebd9cb5e fix wikipedia input 2013-04-01 16:06:42 -04:00
Ansis Brammanis e82df13a28 wikipedia input field 2013-04-01 15:55:37 -04:00