Ansis Brammanis
bd38a19fed
avoid trying to modify frozen tag object
...
fixes #1380
2013-04-25 15:35:38 -04:00
John Firebaugh
fdd49233b1
Avoid recomputing geometry in an inner loop
2013-04-25 11:27:53 -07:00
Ansis Brammanis
579e6a8a8b
geolocation sets zoom based on accuracy
...
fixes #1375
2013-04-25 11:04:22 -04:00
John Firebaugh
53a9c23835
Set initial state of "Zoom in to Edit" ( fixes #1372 )
2013-04-24 12:39:22 -07:00
John Firebaugh
275696caaa
Fix icons for lines that use maki ( fixes #1371 )
...
Generate a single feature-icons.json and feature-icons.css.
In the JSON, features with a line icon are indicated by the
presence of a `line` property. PresetIcon looks for this to
determine whether or not to add the `preset-icon-line` class.
New line icons may be added by editing line-icons.json.
2013-04-24 12:32:36 -07:00
John Firebaugh
c50c3121d8
Make Graph#entity strict
...
Use Graph#hasEntity for the previous behavior.
2013-04-24 09:27:37 -07:00
John Firebaugh
69868bfd22
Keep generic amenity preset choice ( fixes #1354 )
2013-04-23 16:43:59 -07:00
John Firebaugh
2d62a78ac9
Semicolons
2013-04-23 14:31:24 -07:00
John Firebaugh
29e5bf1f2f
Hack an icon for name add button ( #1300 )
2013-04-23 14:22:10 -07:00
John Firebaugh
16c1e9d7e5
Show all tags ( fixes #1181 )
2013-04-23 14:13:03 -07:00
Tom MacWright
080d2956a5
Much higher limit for text, ensure that links are separated properly. Fixes #1343
2013-04-22 16:00:28 -04:00
Tom MacWright
391ace0138
Mondays.
2013-04-22 15:51:45 -04:00
Tom MacWright
f7f0b7b1fa
Refix commit UI.
2013-04-22 15:48:09 -04:00
Tom MacWright
947de96edf
Show line/area/way/etc in commits. Fixes #1215
2013-04-22 15:39:16 -04:00
Ansis Brammanis
11d5627f45
Fix saving taglist changes
...
issue #1295
2013-04-22 11:51:43 -04:00
John Firebaugh
ddfe157a24
Translate 'Search' ( fixes #1358 )
2013-04-21 16:44:53 -07:00
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