Commit Graph

10063 Commits

Author SHA1 Message Date
Minh Nguyễn
9e3d49efb7 Replace wkid/w/s/n/e in WMS URL templates 2019-01-19 15:42:22 -08:00
Bryan Housel
2df39c1dc7 Escape all .s in imagery identifiers, not just the first one
(closes #5737)
2019-01-19 10:53:09 -05:00
Bryan Housel
19a8f5c47c Remove test that only works if we can reliably simulate clicks
Previously the combo showed immediately on mousedown, now it
shows on mouseup after some slight delay.
2019-01-18 23:34:59 -05:00
Bryan Housel
1ec5b708fc Restore default click behaviors on mousedown of a combobox
(closes #5732)
2019-01-18 23:23:35 -05:00
Bryan Housel
7e69ab508f Add quotes around "to" way to match other error messages 2019-01-18 18:23:08 -05:00
Bryan Housel
087c38e8fd Avoid calling changeRole recursively
(closes #5731)
2019-01-18 18:20:47 -05:00
Bryan Housel
4e3def9ce8 Fix the width of the add-tag and add-relation buttons
(closes #5729)
2019-01-18 13:48:17 -05:00
Quincy Morgan
46beb31e74 Removed extra padding in comboboxes when the caret is hidden 2019-01-18 11:59:40 -05:00
Quincy Morgan
af011d990c Fixed multiCombo field vertical alignment and hover styling issues 2019-01-18 11:28:57 -05:00
Quincy Morgan
bf2574f4e3 Hide the dropdown arrow in combo fields if there are no suggestions from tagInfo (closes #5730) 2019-01-18 11:21:31 -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
bc81a62a58 Made the value chips in the Destinations semiCombo field full-width to mimic the layout of highway signs (re: #4178)
The input and combobox caret elements in the multicombo field value list are now wrapped in a li element for consistency
2019-01-18 10:41:51 -05:00
Bryan Housel
e69f7399ca Add 'building' as a moreField for fuel stations
(closes #5713)

People mostly tag fuel stations on the property outline. But sometimes people
tag them on the convenience store or building=roof.  When it's done this way,
we need to show the building field.
2019-01-17 16:34:05 -05:00
Quincy Morgan
5909adeb19 Merge branch 'master' of https://github.com/openstreetmap/iD 2019-01-17 15:43:52 -05:00
Quincy Morgan
77cfde7913 combo, multiCombo, and semiCombo fields now correctly submit the typed value upon pressing enter/return without deselecting the feature (closes #5725) 2019-01-17 15:42:35 -05:00
Bryan Housel
95a9ec7c53 Remove redundant "building_area" field from shop=fuel preset 2019-01-17 15:42:26 -05:00
Quincy Morgan
bb4d0a9282 Fixes false error when a preset inherits fields from a preset with no fields 2019-01-17 15:40:42 -05:00
Bryan Housel
e37dbbd3e1 Style preset icon fill with building if it has a building_area field
These are presets that default to `building=yes` so they should look like
buildings.
2019-01-17 14:28:57 -05:00
Quincy Morgan
6adc174ddf Changed the destination field to semiCombo type and made it require oneway=yes
Added fields for destination:ref, destination:symbol, and junction:ref that require oneway=yes
Updated trunk_link to inherit fields from motorway_link
Moved name and ref_road_number from fields to moreFields on link presets
Added destination and destination/ref to fields of link presets
Added destination/symbol and junction/ref to moreFields of link presets
Added toll to moreFields of highway/primary
2019-01-17 14:17:50 -05:00
Bryan Housel
445b585b27 Use arrays instead of string concat for classparts
(less brittle than keeping track of spaces)
2019-01-17 14:01:50 -05:00
Bryan Housel
0180801c79 Style baseball/softball fields in yellow, not green 2019-01-17 13:31:18 -05:00
Quincy Morgan
90637bdcfa Fixed an issue where the cycleway field would throw an error when added from the "Add field:" dropdown 2019-01-17 12:32:14 -05:00
Bryan Housel
89e45225b8 Style multipolygon inner/outers as areas not lines 2019-01-17 12:32:45 -05:00
Quincy Morgan
cff28b84b9 Updated the restriction presets to use field inheritance 2019-01-17 12:14:19 -05:00
Quincy Morgan
cfc8da881b Made road and unclassified highways inherit from residential
Added smoothness to moreFields of highway/residential
2019-01-17 11:52:49 -05:00
Quincy Morgan
9f7ef21e5c The additional fields dropdown now mixes universal and moreFields and is sorted alphabetically 2019-01-17 11:37:05 -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
39a4cc2d7e Style leisure=track racetracks in yellow, not green 2019-01-17 09:59:50 -05:00
Quincy Morgan
9ad217dce3 Fixed broken preset field inheritance 2019-01-17 09:49:48 -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
Bryan Housel
3e12a85fa1 Merge pull request #5717 from nyurik/wikilink
Add wiki links from tag description
2019-01-17 00:10:45 -05:00
Bryan Housel
0e0e87453f npm run build 2019-01-17 00:10:09 -05:00
Bryan Housel
048a1c2d7f Merge pull request #5724 from CloCkWeRX/patch-1
Presets: Add alias of "real estate" for estate agent
2019-01-17 00:07:48 -05:00
Bryan Housel
a9ac1bda97 Fix issues causing mode/undo/save buttons to be missing disabled style 2019-01-17 00:06:57 -05:00
Daniel O'Connor
6f21f95c61 Add alias of "real estate" for estate agent 2019-01-17 15:30:49 +10:30
Bryan Housel
0773fedb8f Fix undefined fieldID.indexOf('{') > -1 causing tests to fail 2019-01-16 22:13:56 -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
Quincy Morgan
d02f6ff821 Removed wheelchair field from universal list and added it to relevant fields individually (re: #5719) 2019-01-16 15:28:06 -05:00
Yuri Astrakhan
3caf6eabed remove non local non en wiki links 2019-01-16 15:00:20 -05:00
greenkeeper[bot]
62118fa7f8 chore(package): update esm to version 3.1.0 2019-01-16 14:52:43 -05:00
Quincy Morgan
9f2d18e061 Updated the public_transport presets to use field inheritance 2019-01-16 14:38:07 -05:00
Quincy Morgan
d284e0f589 Removed universal Tourism field (re: #5719) 2019-01-16 14:36:00 -05:00
Yuri Astrakhan
54b4a798b1 Localize language name 2019-01-16 14:35:47 -05:00
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
Yuri Astrakhan
2df519567d updated wiki link text 2019-01-16 14:09:22 -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