From 2576f58b1406ff4ce2dd34fc225e9a7ca328cf80 Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Mon, 21 Oct 2019 11:15:08 +0200 Subject: [PATCH] Show uppercase suggestions in the Draft Beers field and update changelog --- CHANGELOG.md | 4 ++-- modules/services/taginfo.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a3c1a1f5c..fd0ef3a8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -116,7 +116,7 @@ _Breaking changes, which may affect downstream projects or sites that embed iD, * Fix an issue where some Mapillary traffic signs would not appear ([#6510], [#6921], thanks [@cbeddow]) * Don't treat closed `highway=corridor` ways as areas ([#6800]) * Fix an issue where operations might not be correctly enabled or disabled while editing a feature -* Properly show uppercase suggestions in the Country and Target country fields +* Properly show uppercase suggestions in the Country, Target, and Draft Beers fields [#6510]: https://github.com/openstreetmap/iD/issues/6510 [#6921]: https://github.com/openstreetmap/iD/issues/6921 @@ -173,7 +173,7 @@ _Breaking changes, which may affect downstream projects or sites that embed iD, * Add `notCountryCodes` preset property for blacklisting presets from being addable in certain places * Don't show the Cycle & Foot Path preset in France, Lithuania, or Poland ([#6836], [#6882]) * Require only the primary tag for a feature to match a golf preset -* Render Construction landuse preset with a yellow icon +* Rename Construction to Construction Area and render it with a yellow icon * Improve searchability of cycle presets in English ([#6825]) [#6949]: https://github.com/openstreetmap/iD/issues/6949 diff --git a/modules/services/taginfo.js b/modules/services/taginfo.js index 0ecbb6c71..bd4cc4fb8 100644 --- a/modules/services/taginfo.js +++ b/modules/services/taginfo.js @@ -299,7 +299,7 @@ export default { // A few OSM keys expect values to contain uppercase values (see #3377). // This is not an exhaustive list (e.g. `name` also has uppercase values) // but these are the fields where taginfo value lookup is most useful. - var re = /network|taxon|genus|species|brand|grape_variety|royal_cypher|listed_status|booth|rating|stars|:output|_hours|_times|_ref|manufacturer|country|target/; + var re = /network|taxon|genus|species|brand|grape_variety|royal_cypher|listed_status|booth|rating|stars|:output|_hours|_times|_ref|manufacturer|country|target|brewery/; var allowUpperCase = re.test(params.key); var f = filterValues(allowUpperCase);