Merge branch 'master' into develop
All checks were successful
/ deploy_on_hosted (push) Successful in 19m21s

This commit is contained in:
Pieter Vander Vennet 2025-04-23 21:43:42 +02:00
commit 918225409a
6 changed files with 22 additions and 6 deletions

View file

@ -4,6 +4,10 @@
"type": "feat",
"section": "Features"
},
{
"type": "feature",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
@ -51,4 +55,4 @@
],
"commitUrlFormat": "https://source.mapcomplete.org/MapComplete/MapComplete/commits/{{hash}}",
"compareUrlFormat": "https://source.mapcomplete.org/MapComplete/MapComplete/compare/{{previousTag}}...{{currentTag}}"
}
}

View file

@ -2,6 +2,19 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
### [0.51.1](https://source.mapcomplete.org/MapComplete/MapComplete/compare/v0.51.0...v0.51.1) (2025-04-23)
### Bug Fixes
* actually upload images to notes ([a870724](https://source.mapcomplete.org/MapComplete/MapComplete/commits/a8707243cf186846ead4a02fb9e62d24f91e14e1))
### Theme improvements
* **mobility_hub:** Add examples and show sign type ([b5a365d](https://source.mapcomplete.org/MapComplete/MapComplete/commits/b5a365d3c31ac95c6042161288918d1d725323ad))
* **mobility_hub:** Add question about physical marker ([f59cf14](https://source.mapcomplete.org/MapComplete/MapComplete/commits/f59cf1430af7a0722a553b7bceaac589db3dab6d))
## [0.51.0](https://source.mapcomplete.org/MapComplete/MapComplete/compare/v0.50.8...v0.51.0) (2025-04-15)
### [0.50.8](https://source.mapcomplete.org/MapComplete/MapComplete/compare/v0.50.7...v0.50.8) (2025-04-15)

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "mapcomplete",
"version": "0.51.0",
"version": "0.51.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "mapcomplete",
"version": "0.51.0",
"version": "0.51.1",
"hasInstallScript": true,
"license": "GPL-3.0-or-later",
"dependencies": {

View file

@ -1,6 +1,6 @@
{
"name": "mapcomplete",
"version": "0.51.0",
"version": "0.51.1",
"repository": "https://source.mapcomplete.org/MapComplete/MapComplete",
"description": "A small website to edit OSM easily",
"bugs": "hhttps://source.mapcomplete.org/MapComplete/MapComplete/issues",

View file

@ -212,7 +212,7 @@ export class ImageUploadManager {
args.featureId
)
if (args.featureId.startsWith("note/")) {
if (!isNaN(Number(args.featureId))) {
// This is an OSM-note
const url = result.absoluteUrl
await this._osmConnection.addCommentToNote(args.featureId, url)

View file

@ -13,7 +13,6 @@
import FileSelector from "../Base/FileSelector.svelte"
import LoginButton from "../Base/LoginButton.svelte"
import { Translation } from "../i18n/Translation"
import LayerConfig from "../../Models/ThemeConfig/LayerConfig"
import type { Feature } from "geojson"
import Camera from "@babeard/svelte-heroicons/mini/Camera"