Commit Graph

176 Commits

Author SHA1 Message Date
Martin Raifer 10a6719ea2 add presets for tourism=information subtags
* guidepost
* board
* map
* office
2016-11-09 11:18:39 +01:00
Bryan Housel 37965f40d8 Adjust tower field labels, remove lighthouse icons 2016-11-07 01:12:14 -05:00
Bryan Housel 72d16fd76d Improve traffic calming presets
(closes #3218)

* Allow traffic calmings on vertex and line geometry where appropriate
* Add parallel_direction field to tag forward/backward
* Add generic traffic calming preset and type field
* Add traffic calming to defaults.json for "vertex" geometry
* Add a bunch of types that we didn't have before (island, dip, choker, etc)
* Add some search terms
2016-11-02 18:12:20 -04:00
Bryan Housel ba15c7d299 Restore recycling_type, improve all the waste/recycling presets
(closes #2689)
2016-10-31 21:07:21 -04:00
Bryan Housel a6cf49db80 Use multiselect field for bike shop services 2016-10-31 15:06:58 -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 2ddfb3193c Cleanup nails preset, add tanning preset 2016-10-23 18:43:39 -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
Bryan Housel 7e30fa0fe3 Add string suggestions for display and visibility combos 2016-08-28 16:10:16 -04:00
Minh Nguyễn d1d6b5399e Filter taginfo by country code prefix
taginfo returns results that match anywhere within the string. So in Canada, you might get results like US:CA:SF. This change filters out such results.
2016-08-02 07:26:50 -07: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
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
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 1bc2523cd0 Add support for addr:floor to address field 2016-07-21 10:34:54 -04:00
Kushan Joshi 39c82af158 Sort modules [eslint rule] 2016-07-06 12:12:08 +05:30
Ramya aa135d921f fixing #3202 2016-07-05 15:49:05 +05:30
Bryan Housel 8bf9c260a7 Switch from sloped_curb=* to kerb=*
(closes #3210)
2016-06-30 21:45:18 -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
Kushan Joshi 4083a0e29e adding a lanes() to return lane data 2016-06-22 16:11:46 -04:00
Bryan Housel 0135fbe4a6 Update async wikidata tag if graph unchanged 2016-05-25 23:43:27 -04:00
Bryan Housel 2506a3881a Add fee and bin fields to some presets
(closes #2872)
2016-05-01 14:16:46 -04:00
Bryan Housel faa8f86dc0 Use multiCombo for payment options, add to vending
(re: #2872)
2016-05-01 12:27:32 -04:00
Bryan Housel fdfee96f53 Use multiCombo for currency options, add to vending, money exchange, atm
(re: #2872)
2016-05-01 12:17:11 -04:00
Bryan Housel 1495f45c20 Use multiCombo for fuel options
(closes #1987)
2016-05-01 11:44:22 -04:00
Bryan Housel f071b93654 Merge pull request #3080 from openstreetmap/kepta-chips
Add multiselect preset
2016-04-30 00:21:30 -04:00
Bryan Housel 8ecda6d9fc Remove multiselect.js, remove test data
(all functionality in multiselect.js has been moved to combo.js)
2016-04-29 21:31:56 -04:00
Bryan Housel 1a9c111d78 Set field.keys so that delete/undo buttons work
For multiselect fields,
field.key should have a ':' on the end of it - we use as the prefix, not the real key
field.keys should contain the array of real keys being modified

see https://github.com/openstreetmap/iD/blob/master/js/id/ui/preset.js#L17-L45

The address field preset works like this also..
It contains an array of key.fields for all the subfields that might be set.
For multiselect fields, we don't know ahead of time what all the subfields are,
so we append to the list in `change()` and rebuild list in `tags()`
2016-04-22 21:22:24 -04:00
Kushan Joshi 165b53e249 Change studio preset 2016-04-19 04:06:27 +05:30
Kushan Joshi 9261752068 add multiselect preset 2016-04-03 12:40:14 +05:30
Bryan Housel d45613bef5 Use access=yes instead of access=public for toilets
(closes #2576)
2016-02-16 23:49:53 -05:00
Bryan Housel e45cb9619b Add Site Relation to defaults.json, run make
(closes #2930)
2016-02-01 14:14:23 -05:00
Bryan Housel 84c98dacb7 Restore generated files in git and 4 space json
https://github.com/openstreetmap/iD/commit/90cd412bbe0bf0cfbe0631a8073a5c8d415093f3#commitcomment-15780969
2016-02-01 12:27:29 -05:00
Bryan Housel 90cd412bbe Don't check in as many data/ generated files, less agressive minification
(partial revert of c2833ba to help prevent merge conflicts)
2016-01-29 23:28:37 -05:00
Bryan Housel 0f352047d4 Building field should be combo not typeCombo
(because `building=yes` is a valid and popular tag)
2016-01-29 21:12:43 -05:00
Bryan Housel 792656f60f Add universal multiline text field for description, fixme (closes #1518) 2016-01-23 23:15:41 -05:00
Bryan Housel 129eaa4f18 make imagery 2016-01-19 22:59:26 -05:00
Bryan Housel ad7fc672f0 Run make to update generated preset files 2015-12-30 21:10:18 -05:00
Bryan Housel b7e343114f preset icons, add dock field 2015-12-27 00:31:48 -05:00
Bryan Housel 20a80830fe Change maxstay to combo with options, no placeholder (closes #2866) 2015-12-09 13:46:53 -08:00
Bryan Housel bddb7cb8c8 Add maxstay field for amenity=parking preset (closes #2851) 2015-12-07 23:37:51 -08:00
Bryan Housel df1cbbffb4 Add handrail field to steps preset (closes #2815) 2015-11-25 00:14:55 -05:00
Bryan Housel 12409e48e1 Add traffic signal type field 2015-09-27 23:00:07 -04:00
Bryan Housel 522e593f11 Improvements to access field (closes #2763) 2015-09-08 00:03:34 -04:00