Commit Graph

587 Commits

Author SHA1 Message Date
Bryan Housel
577637f97a npm run translations 2016-10-26 16:38:16 -04:00
Bryan Housel
8fb5f3a5a1 Degunk data sources by named-importing single toplevel key
See: https://github.com/openstreetmap/iD/issues/3403#issuecomment-245150454

This change drops the iD.js bundle size from 4.5MB to 3.4MB, and makes it
much more readable, which is nice for debugging.  This does not affect the
minified bundle size.
2016-10-26 16:29:49 -04:00
Bryan Housel
699da57ad1 Let user know if the documentation is a redirect page
(closes #3337)
2016-10-25 11:03:35 -04:00
Bryan Housel
2ddfb3193c Cleanup nails preset, add tanning preset 2016-10-23 18:43:39 -04:00
Will Skora
fc6fade6e3 add preset for nail salon 2016-10-23 10:53:32 -04:00
Bryan Housel
053074d076 Export live binding for services in iD.services, fix init/reset
(closes #3324)

Previously we allowed devs to swap out services that they didn't need.
This became difficult now that ES6 exports are immutable bindings.
But we can wrap the immutable bindings themselves in a live object,
to get back the flexibility that we used to have.

This change also drops the `taginfo` accessor on Context, since devs who want
to swap out taginfo service with something else can now do so through the live
binding.  `iD.services.taginfo = myTaginfo()`
2016-10-14 10:38:09 -04:00
Bryan Housel
61fe3167dd Split golf water_hazard presets into separate line and area presets
(closes #3483)
2016-10-06 21:16:58 -04:00
Bryan Housel
c176d66948 Run 'npm run build' for new preset terms 2016-10-04 22:28:04 -04:00
Bryan Housel
aa2c4afd47 Flatten names, cleanups in index.html 2016-10-04 22:03:38 -04:00
Alex
399de1929e Add pastry shop preset
(closes #3444)
2016-10-03 09:12:00 -04:00
Bryan Housel
1bdcaa9052 Run npm run build for new presets 2016-10-02 21:03:06 -04:00
Bryan Housel
4f5019d5a6 Merge branch 'master' into d3-v4 2016-09-28 16:08:40 -04:00
Bryan Housel
d7b3bb5a89 Fix placeholders set during enter selection not finding input element
Also remove unhelpful placeholder from access_simple.json
2016-09-26 01:03:55 -04:00
Kushan Joshi
851daafced Add preset man_made=pumping_station 2016-09-05 18:12:13 +05:30
Bryan Housel
7e30fa0fe3 Add string suggestions for display and visibility combos 2016-08-28 16:10:16 -04:00
Wille Marcel
84de65e316 add preset to amenity=coworking_space 2016-08-28 11:24:42 -03:00
Bryan Housel
36a90b4f86 Adjust fields (building->building_area), run make for yoga preset 2016-08-21 09:50:45 -04:00
Bryan Housel
2501a763e2 Run make for preset updates 2016-08-18 15:14:36 -04:00
Bryan Housel
b3d8d13138 Run make 2016-08-03 21:36:36 -04:00
Bryan Housel
24af9e6404 Remove leading underscores from preset id parts
Introduced with 0d2f78c, but I don't want to break existing translations
2016-08-03 14:47:26 -04:00
Bryan Housel
423329c1eb Add dummy linear presets for emergency tag area exceptions
(closes #3311)
2016-08-03 10:26:14 -04:00
Minh Nguyễn
4922a37b00 Combo field with taginfo for road networks
Added a variation of the combo field for road networks. If the field’s value is blank or shares a prefix with the current country code, search taginfo for values beginning with the country code and a colon.
2016-08-02 07:23:17 -07:00
Bryan Housel
4fe111180d Add network_horse for horseback routes 2016-07-29 16:41:08 -04:00
Bryan Housel
764e443046 Merge branch 'bike-hike-network-combo' of https://github.com/1ec5/iD into 1ec5-bike-hike-network-combo 2016-07-29 16:32:27 -04:00
Bryan Housel
8b9fc25e87 Add preset for shop=charity 2016-07-28 22:11:25 -04:00
Midgard
f0d24add72 Add preset for healthcare=blood_donation (#3290) 2016-07-28 21:27:09 -04:00
Midgard
641f3bc79a Add indoor=yes/no to preset for Defibrillator (#3284) 2016-07-28 20:38:45 -04:00
Bryan Housel
5de925b881 Fix commas, run make 2016-07-27 12:45:02 -04:00
Midgard
a84497a8d0 Add AED as term for Defibrillator (#3283) 2016-07-27 11:50:56 -04:00
Minh Nguyễn
b36ed08138 Combo network type field for bike/hike routes
Replaced the generic network field (network) with a specialized network type field (network) in the bicycle, foot, and hiking route relation presets. Added a network (cycle_network) field to the bicycle route relation preset.
2016-07-27 03:03:20 -07:00
Will Skora
27c41ea234 Add second_hand tag for car preset
* add field for second_hand tag
* add additional files for second_hand and field for used in shop=car
2016-07-25 12:00:43 -07:00
Bryan Housel
f4979db992 Don't use checkboxes in walkthrough navigation
(closes #3247)
2016-07-24 12:31:57 -07:00
Wille Marcel
69bde8f37f Add preset for amenity=planetarium (#3268) 2016-07-22 14:25:08 -04:00
Bryan Housel
1bc2523cd0 Add support for addr:floor to address field 2016-07-21 10:34:54 -04:00
Ankit Muchhala
dd19920f76 Add preset for amenity=ice_cream
(closes #3253)
2016-07-21 00:52:02 -04:00
Bryan Housel
7ca6d06254 Replace iD global with iD.Context() module (#3254) 2016-07-19 10:15:32 -04:00
Bryan Housel
3f79a100af Prefer government=register_office, deprecate amenity=register_office
(closes #3245)
2016-07-17 00:18:54 -04:00
Bryan Housel
240880b13c make translations 2016-07-16 11:39:45 -04:00
Bryan Housel
cb71e90384 Module for iD.Detect() (#3243)
* convert iD.Detect() iife to a module

* iD.Detect() should return loaded locale (except for 'en')

(The previous code was a hack to replace the detected locale with the loaded
locale.  Now that Detect is a module, we can not replace the detected locale
from external code, but we can have Detect() return the locale we really want)
2016-07-13 09:15:47 -04:00
Kushan Joshi
39c82af158 Sort modules [eslint rule] 2016-07-06 12:12:08 +05:30
Bryan Housel
759413fe40 Merge pull request #3221 from ramyaragupathy/master
Adding emergency =defibrillator preset (fixes #3202)
2016-07-05 11:10:20 -04:00
Ramya
aa135d921f fixing #3202 2016-07-05 15:49:05 +05:30
Bryan Housel
2c3162c9ad Remove unused language json files (fil and ko-KR)
(closes #3214)
2016-07-03 13:18:53 -04:00
Satya Sudheer
63363a8d67 Adding man_made=bridge preset issue# 3183 2016-07-02 16:47:58 +05:30
Bryan Housel
8bf9c260a7 Switch from sloped_curb=* to kerb=*
(closes #3210)
2016-06-30 21:45:18 -04:00
Bryan Housel
e664c35e72 Rename "Chemist" preset label to "Drugstore" for en_US
(closes #3201)

Don't worry - we will leave it as "Chemist" in the en_GB translation.
2016-06-30 21:29:16 -04:00
Bryan Housel
03558c7e40 Bump dependencies, fix tests
(commented out 2 failing tests in mapillary service related to sinon spy)
2016-06-25 00:50:20 -04:00
Bryan Housel
7d80494ac5 Add stop type, direction forward/backward 2016-06-23 21:24:10 -04:00
Bryan Housel
4cdcc8c2a3 Add rooms, internet fields to guest_house, hostel, motel presets 2016-06-23 17:35:21 -04:00
Bryan Housel
304b3b3579 Restore numeric lanes preset, but keep code for new WIP lanes field 2016-06-22 16:21:51 -04:00