Re: [openstreetmap/openstreetmap-website] Move Intl.DisplayNames inside renderWikidataResponse (PR #6208)

2025-07-19 Thread Minh Nguyễn via rails-dev
@1ec5 approved this pull request. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/6208#pullrequestreview-3035481036 You are receiving this because you are subscribed to this thread. Message ID: ___

Re: [openstreetmap/openstreetmap-website] Image download with user feedback (PR #6192)

2025-07-19 Thread mmd via rails-dev
@mmd-osm commented on this pull request. > @@ -7,8 +7,33 @@ L.OSM.share = function (options) { }); function init(map, $ui) { -// Link / Embed +$("#export-image").on("turbo:submit-end", function (event) { + if (event.detail.success) { +event.detail.fetchResponse

Re: [openstreetmap/openstreetmap-website] Image download with user feedback (PR #6192)

2025-07-19 Thread mmd via rails-dev
@mmd-osm commented on this pull request. > @@ -8,7 +8,6 @@ L.OSM.share = function (options) { function init(map, $ui) { // Link / Embed - oops, fixed. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/6192#discussion_r2

Re: [openstreetmap/openstreetmap-website] Image download with user feedback (PR #6192)

2025-07-19 Thread mmd via rails-dev
@mmd-osm commented on this pull request. > + const contentType = blob.type; + let extension = "bin"; + if (contentType === "image/png") extension = "png"; + else if (contentType === "image/jpeg") extension = "jpg"; + else if (contentType === "image/sv

Re: [openstreetmap/openstreetmap-website] Image download with user feedback (PR #6192)

2025-07-19 Thread mmd via rails-dev
@mmd-osm pushed 1 commit. 6f098b047258b6bf1d0f13ac8638040757c1874d Image download with user feedback -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/6192/files/0f027550cff731114749a11cfa1b18bdc1e6a498..6f098b047258b6bf1d0f13ac8638040757c1874d You are receiving

Re: [openstreetmap/openstreetmap-website] Image download with user feedback (PR #6192)

2025-07-19 Thread Marwin Hochfelsner via rails-dev
@hlfan commented on this pull request. > @@ -8,7 +8,6 @@ L.OSM.share = function (options) { function init(map, $ui) { // Link / Embed - What has this empty line done to you? /j -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-websi

Re: [openstreetmap/openstreetmap-website] Image download with user feedback (PR #6192)

2025-07-19 Thread Marwin Hochfelsner via rails-dev
@hlfan commented on this pull request. > + const contentType = blob.type; + let extension = "bin"; + if (contentType === "image/png") extension = "png"; + else if (contentType === "image/jpeg") extension = "jpg"; + else if (contentType === "image/svg+

Re: [openstreetmap/openstreetmap-website] Image download with user feedback (PR #6192)

2025-07-19 Thread mmd via rails-dev
@mmd-osm pushed 1 commit. 0f027550cff731114749a11cfa1b18bdc1e6a498 Image download with user feedback -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/6192/files/2ee3e989e4b9edb41378d275544d1cc3915e..0f027550cff731114749a11cfa1b18bdc1e6a498 You are receiving

Re: [openstreetmap/openstreetmap-website] Image download with user feedback (PR #6192)

2025-07-19 Thread mmd via rails-dev
@mmd-osm commented on this pull request. > @@ -7,8 +7,33 @@ L.OSM.share = function (options) { }); function init(map, $ui) { -// Link / Embed +$("#export-image").on("turbo:submit-end", function (event) { good point -- Reply to this email directly or view it on GitHub: ht

Re: [openstreetmap/openstreetmap-website] Image download with user feedback (PR #6192)

2025-07-19 Thread mmd via rails-dev
@mmd-osm commented on this pull request. > + const contentType = blob.type; + let extension = "bin"; + if (contentType === "image/png") extension = "png"; + else if (contentType === "image/jpeg") extension = "jpg"; + else if (contentType === "image/sv

Re: [openstreetmap/openstreetmap-website] Image download with user feedback (PR #6192)

2025-07-19 Thread Marwin Hochfelsner via rails-dev
@hlfan commented on this pull request. > @@ -7,8 +7,33 @@ L.OSM.share = function (options) { }); function init(map, $ui) { -// Link / Embed +$("#export-image").on("turbo:submit-end", function (event) { Could this code block be moved into the `// Image` section just below?

[openstreetmap/openstreetmap-website] Update to iD v2.35.3 (PR #6209)

2025-07-19 Thread Martin Raifer via rails-dev
Includes a backported fix for issue https://github.com/openstreetmap/iD/issues/11225. You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/6209 -- Commit Summary -- * Update to iD v2.35.3 -- File Changes -- M vendo

Re: [openstreetmap/openstreetmap-website] Search function don't work on PaleMoon browser (Issue #6207)

2025-07-19 Thread mmd via rails-dev
mmd-osm left a comment (openstreetmap/openstreetmap-website#6207) Indeed, now everything seems to be working fine again. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/6207#issuecomment-3092270750 You are receiving this because

Re: [openstreetmap/openstreetmap-website] Image download with user feedback (PR #6192)

2025-07-19 Thread mmd via rails-dev
mmd-osm left a comment (openstreetmap/openstreetmap-website#6192) Instead of hardcoding formats, I have added a new attribute "formats" to layers.yml, and disable non-supported formats in the select options: https://github.com/user-attachments/assets/e5a5639e-69f5-45d2-aacc-96af327a91cf"; /> T

Re: [openstreetmap/openstreetmap-website] Search function don't work on PaleMoon browser (Issue #6207)

2025-07-19 Thread Marwin Hochfelsner via rails-dev
hlfan left a comment (openstreetmap/openstreetmap-website#6207) Well, AFAICT Intl.DisplayNames blocks OSM.MappedElement blocks OSM.router, so this is an easy fix (#6208). That doesn't mean future issues on legacy browsers will also get fixed. -- Reply to this email directly or view it on GitHu

[openstreetmap/openstreetmap-website] Move Intl.DisplayNames inside renderWikidataResponse (PR #6208)

2025-07-19 Thread Marwin Hochfelsner via rails-dev
### Description This avoids breaking page load in legacy browsers like Pale Moon by delaying the instanciation of Intl.DisplayNames until it's needed. Closes #6207. ### How has this been tested? Sandboxed Pale Moon with a locally served site. You can view, comment on, or merge this pull request on

Re: [openstreetmap/openstreetmap-website] use JOSM/tag2link to linkify tag values (PR #6197)

2025-07-19 Thread Kyℓe Hensel via rails-dev
k-yle left a comment (openstreetmap/openstreetmap-website#6197) i think excluding all [`wikidata:P3303`](https://wikidata.org/wiki/Property:P3303) is reasonable. There are only 4 keys where every URL is unofficial (`icao`, `ref:admiralty`, `ref:UAI`, `uic_ref`). So these 4 would have no link.

Re: [openstreetmap/openstreetmap-website] Search function don't work on PaleMoon browser (Issue #6207)

2025-07-19 Thread mmd via rails-dev
mmd-osm left a comment (openstreetmap/openstreetmap-website#6207) OSM.router is probably the bigger issue. It blocks a number of other features, such as adding notes, query features, directions, etc. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstre