Show uppercase suggestions in the Draft Beers field and update changelog

This commit is contained in:
Quincy Morgan
2019-10-21 11:15:08 +02:00
parent 8cfb83f69c
commit 2576f58b14
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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);