Commit Graph

85 Commits

Author SHA1 Message Date
Quincy Morgan 236273e62d Update taginfo.json temaki icons endpoints to ideditor repo 2019-12-04 18:13:59 -05:00
Bryan Housel 05b3d023ce pacify eslint 2019-11-07 17:16:45 -05:00
Bryan Housel 5da962a694 Just make the build steps sequential, build single target with buble 2019-11-07 17:16:45 -05:00
Bryan Housel 0bbe9dded1 Cleanup build_src script.. add emojis to build messages 2019-11-07 17:16:45 -05:00
Bryan Housel 263c3ad081 Modernize build scripts, working towards multiple rollup targets 2019-11-07 17:16:45 -05:00
Quincy Morgan 17287452a0 Remove "terms" property from all unsearchable presets and fields and their derived data 2019-10-22 14:57:05 +02:00
Bryan Housel 065480b9bf Add CBA to the list of brands where we prefer a commons logo
re: https://github.com/osmlab/name-suggestion-index/pull/3122#issuecomment-542367715
2019-10-15 15:33:37 -04:00
Quincy Morgan b69aa45010 Ensure deterministic sorting of languages with equivalent percentages in territory-languages.json 2019-10-03 17:48:08 +02:00
Bryan Housel 06e0b1b5d5 Urls back to jsdelivr, but make sure to request files from master
(closes #6908)
2019-10-02 11:45:05 -04:00
Bryan Housel 3690c20d45 Switch jsdelivr back to githubusercontent for iD assets
(re: #6908)
2019-10-02 11:26:38 -04:00
Quincy Morgan c982ef189f Simplify field validation code 2019-09-25 15:48:11 +02:00
Quincy Morgan 2f7b576073 Use square brackets [] for field terms instead of angle brackets <> (re: #6738) 2019-08-12 12:27:50 -05:00
Quincy Morgan 67afa20dc0 Let comboboxes filter against terms, not just values
Add terms property to fields
Make terms translatable for searchable fields
Account for fields' terms and keys when filtering with the Add field menu (close #5763)
2019-08-09 11:12:40 -05:00
Quincy Morgan 5742e58ff6 Prioritize the user's language and territory languages in the multilingual name suggestion list (close #6712) 2019-08-08 16:21:06 -05:00
Bryan Housel 36f3a2935e Fetch icon files from CDN instead of raw.github urls 2019-07-01 12:56:13 -04:00
Bryan Housel 03a098a181 Fix issue displaying preset name for suggestions with a '/' in name
(closes #6594)
2019-06-30 01:49:07 -04:00
Bryan Housel 1d2861c787 Handle iD-NSI tag mismatches 2019-06-17 11:35:51 -04:00
Bryan Housel 35d3b1fada Prefer a wiki commons logo sometimes..
(closes #6361)
2019-06-17 11:08:17 -04:00
Bryan Housel 06bdfbfb8a Use gray stroke on marker and lock icon on field for locked item 2019-05-20 15:36:10 -04:00
Bryan Housel 03dd95e00f pacify eslint 2019-05-17 17:11:20 -04:00
Bryan Housel 3c031f80ea Prioritize suggestion tags over preset tags
Before it was causing presets with special cuisine tags to not match
(e.g. `cuisine=donut;coffee`, `cuisine=ice_cream;burger`)
2019-05-17 12:41:56 -04:00
Bryan Housel caecbffc18 Upgrade to name-suggestion-index v3.0.0
(closes: #6375, closes: #2032, re: 6361)
2019-05-17 01:01:33 -04:00
Bryan Housel 13b0cc3f0a Add preset for Donut fast food, improve cuisine suggestion matching 2019-05-15 18:17:44 -04:00
Bryan Housel b17e4e4f1d Add 'list'/'text' toggle buttons 2019-05-02 13:49:26 -04:00
Tobias Zwick d008a585fa remove removeTags from suggestionsToPresets 2019-04-30 22:14:51 +02:00
Quincy Morgan db3f634df4 Fix issue where build would fail on older node versions 2019-04-17 11:50:23 -07:00
Quincy Morgan 5c2d0d21ef Delete unused icons from the noun project when building (re: #5691) 2019-04-17 11:25:42 -07:00
Quincy Morgan a4a08e34bd Fix fatal error when building without a the_noun_project.auth file (re: #6193) 2019-04-17 08:38:54 -07:00
Quincy Morgan 2967d2d020 Add support for icons from the noun project (close #5691) 2019-04-16 18:06:05 -07:00
Bryan Housel 4a8c20c56e Remove lodash forEach
(re: 6087)
2019-03-28 19:50:20 -04:00
Quincy Morgan 1d3b6a3483 Use large Facebook brand images instead of square 2019-03-28 14:42:12 -04:00
Quincy Morgan 3d4c5c6087 Display logos for name-suggestion-index brands in the sidebar (close #5167) 2019-03-28 14:20:46 -04:00
Quincy Morgan b12e7277df Add countryCodes property to preset schema
Copy countryCodes from name suggestion index
Use countryCodes to filter the preset search results (close #6124)
2019-03-28 11:44:05 -04:00
Bryan Housel 0edd10001e Removing more lodash: isEmpty, isNumber, some map/reduce/forEach
(re: #6087)
2019-03-27 13:32:35 -04:00
Bryan Housel 76e0d13729 Remove lodash every and filter
(re: #6087)
2019-03-23 01:22:56 -04:00
Bryan Housel 0e90167513 Remove lodash clone
(re: #6087)
2019-03-22 23:18:25 -04:00
Bryan Housel 99d46e9f70 Upgrade to name-suggestion-index v2
(closes #6073)
2019-03-20 23:12:05 -04:00
Quincy Morgan 20e2be80e7 Add most data from depreacted.json to taginfo.json (close #5995) 2019-03-20 10:34:42 -04:00
Quincy Morgan 7da79abd11 Fix issues where outdated tag warnings could persist after upgrading tags (close #6063) 2019-03-19 10:07:59 -04:00
Quincy Morgan 17087f42c8 Adding mechanism for specifying an upgrade path for deprecated presets (close #6045) 2019-03-13 17:51:12 -04:00
Quincy Morgan 3629f6b5b8 Fix preset field validation during data build
Fix amenity/photo_booth preset
2019-02-19 08:32:42 -05:00
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