Compare commits

...

10 commits

Author SHA1 Message Date
Dimitar
e35e5dc5b8
Update reference tags for recycling containers and centres (#1497)
Some checks failed
Deploy / Deploy (push) Has been cancelled
Code Style Checks / Check file endings (push) Has been cancelled
Code Style Checks / Check for code formatting mistakes (push) Has been cancelled
Code Style Checks / Check for spelling errors (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
Build and Deploy Staging Instance / build-deploy (push) Has been cancelled
Test / test (18) (push) Has been cancelled
2025-04-02 16:31:34 +02:00
Martin Raifer
ac2bdbb98f
add new label preset for generic/other enhancements to presets 2025-04-02 16:26:50 +02:00
Mateusz Konieczny
eadb27f94a
Consistently use term "Wikibase" for data items also in contribution guidelines (#1504) 2025-04-02 16:22:54 +02:00
Mateusz Konieczny
641bf77e6b
these are not Wikidata items (#1502) 2025-04-02 15:47:52 +02:00
Martin Raifer
46fe675a55
refine PR labels to semantic version matching 2025-04-02 15:31:09 +02:00
Martin Raifer
a2a916d59b
change release note category template to match previous styling 2025-04-02 15:26:08 +02:00
Martin Raifer
6914cc43db
fix yaml syntax error 2025-04-02 15:21:41 +02:00
Mateusz Konieczny
6a94c36018
"empty" term should find vacant shop (#1499) 2025-04-02 15:18:52 +02:00
Martin Raifer
be215c5ab7
set up release-drafter (#1503)
see https://github.com/marketplace/actions/release-drafter#configuration for description of the config options
2025-04-02 15:18:11 +02:00
dependabot[bot]
ca93ae1653
Bump netlify-cli from 19.0.2 to 19.1.5 (#1501)
Bumps [netlify-cli](https://github.com/netlify/cli) from 19.0.2 to 19.1.5.
- [Release notes](https://github.com/netlify/cli/releases)
- [Changelog](https://github.com/netlify/cli/blob/main/CHANGELOG.md)
- [Commits](https://github.com/netlify/cli/compare/v19.0.2...v19.1.5)

---
updated-dependencies:
- dependency-name: netlify-cli
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-02 15:12:55 +02:00
8 changed files with 2442 additions and 2679 deletions

62
.github/release-drafter.yml vendored Normal file
View file

@ -0,0 +1,62 @@
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
categories:
- title: 'New Presets'
labels:
- 'new-preset'
- title: 'New and Changed Fields'
labels:
- 'field'
- 'new-field'
- 'new-value'
- title: 'Changed Presets'
labels:
- 'preset'
- 'add-field'
- 'new-icon'
- 'new-label'
- title: 'Regional Presets and Fields'
labels:
- 'regional'
- title: 'Deprecated Tags'
labels:
- 'deprecating'
- title: 'Bug Fixes'
labels:
- 'bug'
- title: 'Documentation and Other Changes'
labels:
- 'ci'
- 'documentation'
- 'new-category'
- 'schema-builder'
- 'schema'
- title: 'Dependencies'
collapse-after: 3
labels:
- 'dependencies'
category-template: '#### $TITLE'
change-template: '* $TITLE (#$NUMBER, thanks @$AUTHOR)'
change-title-escapes: '\<*_&'
version-resolver:
major:
labels:
- 'breaking'
minor:
labels:
- 'enhancement'
- 'new-preset'
- 'new-field'
- 'new-value'
- 'new-icon'
- 'new-label'
- 'new-category'
- 'add-field'
- 'deprecating'
- 'regional'
patch:
labels:
- 'bug'
- 'documentation'
default: minor
template: '$CHANGES'

21
.github/workflows/release-drafter.yml vendored Normal file
View file

@ -0,0 +1,21 @@
name: Release Drafter
on:
push:
branches:
- main
permissions:
contents: read
jobs:
update_release_draft:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v6
with:
disable-autolabeler: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -53,7 +53,7 @@ Icons from different sources (_icon sets_) can be used in the tagging schema. He
![Screenshot of a preset in iD with the information details open.](https://github.com/openstreetmap/id-tagging-schema/assets/111561/13549318-cd7c-4dd1-9948-7a2d84662f04)
iD and other tools provide users with a way to learn more about the main tag of a preset. It is important to provide good information in this information panel. Here are a few notes on how to do this:
- Does your tag have a Wikidata entry? Click the small pencil icon next to the text to open the Wikidata item on the OSM wiki. Improve this wording if needed. If the Wikidata item is missing, [learn more about how to add it in "Current methods for creating new items"](https://wiki.openstreetmap.org/wiki/Data_items#Item_creation_process).
- Does your tag have a Wikibase entry? Click the small pencil icon next to the text to open the Wikibase item on the OSM wiki. Improve this wording if needed. If the Wikibase item is missing, [learn more about how to add it in "Current methods for creating new items"](https://wiki.openstreetmap.org/wiki/Data_items#Item_creation_process).
- Does your tag have a Wiki page with a good image?
- Your preset might need [a `reference` property](https://github.com/ideditor/schema-builder?tab=readme-ov-file#reference) to force the system to use a specific tag for the information section.

View file

@ -65,7 +65,7 @@ The user interface must be clear, concise, and easy to use, leaving no room for
- Check the search functionality to ensure other presets do not cause confusion.
- Select an icon or start the process to create a new one.
- Define which fields to show (`fields`) and suggest (`moreFields`), considering the order of fields.
- Check the `(i)` documentation and add or update the OSM Wikidata item if needed to provide a helpful short text.
- Check the `(i)` documentation and add or update the [OSM Wikibase item](https://wiki.openstreetmap.org/wiki/Data_items) if needed to provide a helpful short text.
- Use the PR preview to add test cases with deep links to OSM objects that demonstrate the preset in use.
## 3. Implement

View file

@ -36,7 +36,7 @@
},
"reference": {
"key": "recycling_type",
"value": "*"
"value": "centre"
},
"name": "Recycling Center"
}

View file

@ -34,8 +34,8 @@
"recycling_type": "container"
},
"reference": {
"key": "amenity",
"value": "recycling"
"key": "recycling_type",
"value": "container"
},
"aliases": [
"Recycling Container"

View file

@ -9,6 +9,9 @@
"point",
"area"
],
"terms": [
"empty"
],
"tags": {
"shop": "vacant"
},

5025
package-lock.json generated

File diff suppressed because it is too large Load diff