Commit Graph

44 Commits

Author SHA1 Message Date
Bryan Housel
e4e0d9d13a Add oneway icon for ImproveOSM oneway markers 2019-02-03 23:55:16 -05:00
Quincy Morgan
4f650ad2f9 The Junction Number field now appears by default on Motorway Link and Trunk Link presets (re: #4178)
Fields with a prerequisiteTag property no longer count against the fields count buildtime check
2019-01-18 11:03:21 -05:00
Quincy Morgan
ecec397736 Added fields for oneway:bicycle, destination, minspeed, and dog tags and added them to moreFields of appropriate presets
Reduced the maximum fields count before warning from 9 to 8
Updated some similar highway presets to use field inheritance
Added additional fields to moreFields of various highway presets
2019-01-17 10:09:46 -05:00
Bryan Housel
f93ee2f242 Fix arg to json-stringify-pretty-compact so taginfo.json is condensed 2019-01-17 09:08:01 -05:00
Bryan Housel
ed1b32682a Don't enumerate all the values of radio fields in taginfo.json
(closes #5715)

Because for these fields, the `keys` property already contains all the values
2019-01-17 00:26:02 -05:00
Quincy Morgan
2804ef35fe Added a warning and an error in build data for presets with "fields" counts over a given threshold (now 9 and 12)
Reduced all "fields" counts to nine or fewer by moving fields to "moreFields"
Moved maxheight, cycleway, and toll fields in highway presets from fields to moreFields
Added covered and maxspeed/advisory fields to moreFields of more highway presets
Added smoothness field to more path type presets
Updated highway/service presets to use field inheritance
Added variants of the voltage and frequency fields that require "electrified" not equal to "no" and added them to the relevant railway presets
2019-01-16 17:16:55 -05:00
Bryan Housel
7c26816a7e Switch brand suggestion preset generation over to inherit fields
This also attempts to use `cuisine` and `vending` tags in the
presetID - in case a more specific preset exists for those things.

This fixes a minor annoyance where only matching `key/value`
would find the "fast food" preset instead of the "chicken fast food"
or "pizza fast food" preset.

So now Chick-fil-a has a chicken icon and Sbarro has a pizza icon. 🍕
2019-01-15 16:02:57 -05:00
Quincy Morgan
4b2c380b18 Changed preset field inheritance to target specific presets rather than just the parent preset 2019-01-15 13:07:58 -05:00
Quincy Morgan
ae7c099c8a Moved field inheritance resolution from the data build to the preset initialization
Removed the data build check for duplicate values between fields and moreFields
Renamed the shop field from Type to Shop Type
Renamed the beauty field from Shop Type to Beauty Specialty
Added the brand field to the shop preset under moreFields
2019-01-15 09:53:26 -05:00
Quincy Morgan
78853e1dc1 Added mechanism for presets to inherit their fields and moreFields values 2019-01-14 18:27:50 -05:00
Bryan Housel
e51f2eb1e7 pacify eslint 2018-12-22 13:42:09 -05:00
Bryan Housel
6d327b3eff Upgrade FontAwesome icons, add more icons for winter sports 2018-12-22 13:02:46 -05:00
Quincy Morgan
4285f2f5c0 Added "moreFields" property to the field schema
The "Add field" dropdown can now be used to add preset-specific fields in addition to universal fields
2018-12-09 13:51:57 -08:00
Bryan Housel
f7c29a96ef Send some more info to taginfo about how the tags are used
(closes #5536)

We now include in the description:
- 🄵  if it's a field
- 🄿  if it's a preset
- '(unsearchable)' if it's that
2018-11-30 12:12:40 -05:00
Bryan Housel
b1a2e30b22 Boost matchScore of name suggestion presets 2018-11-21 11:14:58 -05:00
Bryan Housel
c70d04efd1 Upgrade code for name-suggestion-index v1
- we now import all the name suggestions
- get rid of the code to pick a single name based on count
- get rid of "hacky" code to set healthcare tags
- we now actually match on brand:wikidata tag, not name
2018-11-20 21:36:25 -05:00
Bryan Housel
629ee53db2 Upgrade fontawesome libraries 2018-09-05 23:03:24 -04:00
Bryan Housel
440b01a6ca Use json-stringify-pretty-compact for compacter json
(this reduces a few file sizes and will make for better github diffs)
2018-06-15 11:48:07 -04:00
Bryan Housel
470835b38f Extract all graphics from iD sprite, reassemble with svg-sprite
All iD sprite graphics are now prefixed with `iD-`
Also includes support for sending the preset logos to taginfo
2018-06-08 16:06:46 -04:00
Bryan Housel
cbfe23c9e1 Support FontAwesome solid, regular, and brands
(might as well.. only the used ones get bundled into the fa-sprite anyway)
2018-06-06 17:59:28 -04:00
Bryan Housel
2dd7bfc849 Add support for FontAwesome icons as preset icons
(closes #3025)
2018-06-06 02:19:38 -04:00
Bryan Housel
da10b6b254 Add maki- prefix to all maki icons
(re: #3924)
2018-06-05 22:12:33 -04:00
Bryan Housel
5901be1027 Replace poi- icons with temaki- icons
(re: #3924)
2018-06-05 13:08:43 -04:00
Bryan Housel
82133d4577 Upgrade 'std/esm' to 'esm', fixing the build issues on Node 10
(closes #5028, re: a065f2f2)

'std/esm' has been replaced with just 'esm'
This fixes the build for Node 10 and we can return to using
the current version now that we've dropped support for Node 4
2018-05-11 09:41:26 -04:00
Bryan Housel
ab9ba0a632 Several changes
* Proper Case all the things
* Remove the `trailblazing_` fields, which require special knowledge to use
* Fix the icon on `trail_riding_station` preset
* Make the `horse_` checkboxes more consistent (yes/no)
* Remove `watering_place` field, remove it from `amenity=fountain` preset
* Update build script to not include "undefined" values in `taginfo.json`
2018-04-09 16:06:58 -04:00
Bryan Housel
89798ad865 Add community translation resource and npm run translations 2018-04-07 13:44:44 -04:00
mmd-osm
1da6d9029b bugfix: don't store icon and geom in t, as no translation is needed here 2018-03-28 23:12:06 +02:00
mmd-osm
19de638f58 Bug fix 2018-03-28 22:24:17 +02:00
mmd-osm
096585f9a5 Minor style fixes 2018-03-27 20:42:06 +02:00
mmd-osm
126d33308f Lint fixes 2018-03-27 20:10:38 +02:00
mmd-osm
c92eb99272 Fix GitHub URLs 2018-03-27 20:08:14 +02:00
mmd-osm
764acea67f Taginfo Maki icon lookup
+ Changed description duplicate handling
+ Removed geometry and icon from translation
2018-03-27 19:41:48 +02:00
mmd-osm
e3536fd05c lint fix 2018-03-26 21:32:49 +02:00
mmd-osm
35317d3a95 Taginfo: Added descriptions, coalesce entries 2018-03-26 21:21:03 +02:00
mmd-osm
872fdba3b1 fix lint error 2018-03-25 19:38:15 +02:00
mmd-osm
44f3ef8ee1 Add fields to Taginfo file
(Fixes #4937)
2018-03-25 19:25:49 +02:00
Bryan Housel
c8e89b7a05 Update @std/esm to v0.20.0 2018-01-29 09:46:35 -05:00
Wojciech Dzikowski
1c831b2b7f Lodash dependencies removed from build scripts
1. @std/esm added to handle ES6 imports in older node version
2. Swapped lodash dependencies for lodash-es in build scripts
2017-10-17 16:58:08 +02:00
Bryan Housel
bfda2c5438 Add healthcare tagging to suggestion presets 2017-10-07 12:12:56 -04:00
Bryan Housel
e6f46831f0 Pacify eslint 2017-09-29 10:13:42 -04:00
Kushan Joshi
84fd3d7d16 fix lodash merge 2017-09-28 17:32:55 +05:30
Kushan Joshi
6e3795bfd8 Merge branch 'master' of github.com:openstreetmap/iD into build
# Conflicts:
#	build_data.js
#	development_server.js
#	modules/services/mapillary.js
2017-09-28 17:27:34 +05:30
Kushan Joshi
6eb509d413 promisify build steps 2017-09-28 17:10:30 +05:30
Kushan Joshi
9b008a32a1 Separate build steps 2017-09-26 11:29:01 +05:30