Skip to content

Commit

Permalink
Update field.json
Browse files Browse the repository at this point in the history
Rename `cycleway` to `directionalCombo`

Following the update in iD (https://github.com/openstreetmap/iD/pull/9423/files#diff-b3604385ed7e095c6c6fd1973a4c3d376f21e56f26452299a358d033411a38f6R65-R67) this changes the name of the field to make it reusable.

Fixes #79
  • Loading branch information
tordans committed Dec 28, 2022
1 parent 6f88158 commit 9d5b70e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
[#x]: https://github.com/ideditor/schema-builder/issues/x
-->

# 5.4.0
##### 2023-Jan-xx

* Rename `cycleway` to `directionalCombo` ([see README](https://github.com/ideditor/schema-builder#special))

# 5.3.0
##### 2022-Dec-09

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ A string specifying the UI and behavior of the field. Must be one of the followi

* `access` - Block of dropdowns for defining the `access=*` tags on a highway
* `address` - Block of text and dropdown fields for entering address information (localized for editing location)
* `cycleway` - Block of dropdowns for adding `cycleway:left` and `cycleway:right` tags on a highway
* `directionalCombo` - Block of dropdowns for adding `*:left` and `*:right` tags on a highway (this field was named `cycleway` until [`v5.3.0`](CHANGELOG.md#540))
* `roadspeed` - Numeric text field for speed and dropdown for "mph" / "km/h", defaulting to the speed unit used for roads in the feature's region
* `roadheight` - Numeric text field for height and dropdowns for "m" / "ft" and "in", defaulting to the height unit used for roads in the feature's region
* `restrictions` - Graphical field for editing turn restrictions
Expand Down
2 changes: 1 addition & 1 deletion schemas/field.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"check",
"colour",
"combo",
"cycleway",
"directionalCombo",
"defaultCheck",
"email",
"lanes",
Expand Down

0 comments on commit 9d5b70e

Please sign in to comment.