Commit Graph

10015 Commits

Author SHA1 Message Date
Quincy Morgan
a58dd9cf91 Removed the address, email, fax, phone, and website fields from the universal field list (re: #5719)
Added those fields to the moreFields list of relevant presets
2019-01-16 14:15:02 -05:00
Bryan Housel
3fe6c0dbe7 Support more eased transitions, cleanup code
(re: #3967, #5169, #5407)
2019-01-16 13:42:32 -05:00
Quincy Morgan
c3819dac71 Removed the payment_multi field from the universal fields list and added it to moreFields of relevant presets (re #5719)
Added additional fields to the moreFields property of various presets
2019-01-16 12:43:29 -05:00
Quincy Morgan
0e006c3bd5 Added fields to the lighthouse preset 2019-01-16 08:56:47 -05:00
Quincy Morgan
6f72a3a386 Added club=sport preset 2019-01-16 08:23:45 -05:00
Bryan Housel
460d144c66 Use centerZoomEase for smoother walkthrough transitions 2019-01-16 01:32:15 -05:00
Bryan Housel
91bfac5861 Add map.centerZoomEase and simplify internal center/zoom code
(closes #3967)
2019-01-16 01:31:26 -05:00
Bryan Housel
196f93d735 Merge pull request #5716 from openstreetmap/suggestion-preset-inheritance
Switch brand suggestion preset generation over to inherit fields
2019-01-15 17:25:03 -05:00
Bryan Housel
d506487069 Use the full preset path in name() instead of just first 2 parts 2019-01-15 17:15:35 -05:00
Quincy Morgan
7735ecbf1b Updated mast fields to use field inheritance 2019-01-15 16:21:28 -05:00
Quincy Morgan
b9bf1d27c0 Updated the healthcare presets to use field inheritance 2019-01-15 16:10:29 -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
5c1bd6ee25 Updated pitch and fitness_station presets to use field inheritance 2019-01-15 16:02:31 -05:00
Quincy Morgan
1bdd1c8e58 Updated the craft presets to use presets to use field inheritance 2019-01-15 15:48:40 -05:00
Quincy Morgan
5dd3d50623 Updated office presets to use field inheritance 2019-01-15 15:37:26 -05:00
Quincy Morgan
512dfaa52c Updated attraction presets to use field inheritance
Added generic attraction preset with attraction typeCombo field
2019-01-15 15:28:01 -05:00
Quincy Morgan
20553dc977 Fix for prior commit 2019-01-15 14:56:30 -05:00
Quincy Morgan
c6dd743f90 Updated social_facility and vending_machine presets to use field inheritance 2019-01-15 14:55:52 -05:00
Bryan Housel
68be75af09 Assumption about mozInputSource = 1 was incorrect
Removing this conditional allows 2 finger panning on Firefox
2019-01-15 14:46:23 -05:00
Quincy Morgan
0b295db7df Converted buoy presets to use field inheritance 2019-01-15 14:39:36 -05:00
Quincy Morgan
0e795ae31d Updated the fast food and restaurant presets to use field inheritance 2019-01-15 14:34:37 -05:00
greenkeeper[bot]
dbd99730d8 chore(package): update mapillary-js to version 2.15.0 2019-01-15 14:31:08 -05:00
Quincy Morgan
8f6870336f Converted building presets to use field inheritance 2019-01-15 14:29:04 -05:00
Quincy Morgan
03f3dd5adb Merge pull request #5712 from openstreetmap/preset-field-inheritance
Preset field inheritance
2019-01-15 14:14:35 -05:00
Quincy Morgan
4252c5cb36 Presets no longer inherit fields for keys that define them 2019-01-15 13:52:03 -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
Bryan Housel
a9b8cfd4dc Avoid warning in Firefox for padding-right: auto 2019-01-15 11:46:11 -05:00
Quincy Morgan
0da15efc10 Merge branch 'master' into preset-field-inheritance
# Conflicts:
#	data/presets/presets.json
2019-01-15 11:44:16 -05:00
Quincy Morgan
d1a7400ed7 Added a field for the building:material key 2019-01-15 11:42:55 -05:00
Quincy Morgan
1ba61140f5 Changed the material field to be non-universal
Added the material field to the fields or moreFields properties of relevant presets
2019-01-15 11:35:56 -05:00
Quincy Morgan
becc087a91 Moved the seamark/type field from a universal field to the fields or moreFields properties of relevant presets 2019-01-15 10:53:35 -05:00
Quincy Morgan
d1c4e22337 Added documentation for preset field inheritance behavior 2019-01-15 10:23:38 -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
59795e41ab Don't style the active vertex in line drawing mode as a large endpoint
(closes #5711)
2019-01-14 17:30:20 -05:00
Quincy Morgan
92e514f891 Make the preset browser appear upon adding a new relation.
Closes #5656
2019-01-14 16:25:43 -05:00
Bryan Housel
18ea434d02 Update water area presets to use natural=water + water=*
(closes #5591)
2019-01-14 13:09:46 -05:00
Bryan Housel
bf79a714f1 "Forest" -> "Managed Forest"
(closes #5709)
2019-01-14 11:42:32 -05:00
Bryan Housel
67ef2bce1c Simplify and fix a few typos 2019-01-14 11:15:56 -05:00
Bryan Housel
fd23d13563 Distinguish between "This highway" and "highway" forms of error parts.
(closes #5703)
2019-01-14 10:59:45 -05:00
Bryan Housel
3090b5c875 Merge pull request #5708 from iriman/context-menu-rtl
[RTL] place tooltip under #id-container to inherit rtl
2019-01-14 09:07:12 -05:00
iriman
bc9a64058f [RTL] place edit menu under #id-container to inherit rtl 2019-01-14 15:50:31 +03:30
Bryan Housel
14fc2c82c2 Merge pull request #5704 from iriman/rtl-issues--iriman
fix for some rtl issues
2019-01-13 13:51:47 -05:00
iriman
a8fb9fc622 [RTL] right padding for .member-entity-name 2019-01-13 20:12:14 +03:30
iriman
7b53d0aa5a [RTL] pick appropriate class for .field-help-title > h2 2019-01-13 19:44:49 +03:30
Bryan Housel
ff296134ba Merge pull request #5700 from iriman/patch-1
margin-right for keyhints in rtl locale
2019-01-12 08:39:35 -05:00
Iman
36a6596897 margin-right for keyhints 2019-01-12 13:11:26 +03:30
Bryan Housel
1f69661b91 Add a preset "RV Dealership" for shop=caravan 2019-01-11 18:02:17 -05:00
Bryan Housel
09e574983f Don't call formFields.tagsChanged() when presetEditor.tags change
(closes #5690)

This change also makes sure to use the latest copy of the entity in
field.isAllowed() to ensure the prerequisite field check works
and fieldsArr is filtered properly for #5583
2019-01-11 17:42:34 -05:00
Bryan Housel
b575ee8500 Move formFields klass from an argument to a state variable
(maybe needed in case render can get called different ways)
2019-01-11 13:56:16 -05:00