Re: [openstreetmap/openstreetmap-website] blocks with needs_view flag not shown when user does oauth authorisation (for example login into an OSM editor) (Issue #5490)

2025-01-10 Thread Tobias Zwick via rails-dev
> that may not be popular with clients that have invested a lot here in > optimising the flow Looking at JOSM, I seem to remember that they *used to* have some "fully automatic" authorization where you'd input the username and password into JOSM itself and JOSM would then fake towards the OSM w

Re: [openstreetmap/openstreetmap-website] Use baselayerchange/overlaylayerchange instead of layeradd/layerremove (PR #5474)

2025-01-10 Thread Roman Deev via rails-dev
@deevroman pushed 1 commit. 5b37b549391bc12ca25019960c726aa306417ec3 Use baselayerchange/overlaylayerchange instead of layeradd/layerremove for speed up Map Data layer render -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5474/files/a32249ec8ba1ebf437028bf15

Re: [openstreetmap/openstreetmap-website] Use baselayerchange/overlaylayerchange instead of layeradd/layerremove (PR #5474)

2025-01-10 Thread Roman Deev via rails-dev
@deevroman commented on this pull request. > @@ -124,7 +124,7 @@ L.OSM.layers = function (options) { map.fire("overlaylayerchange", { layer: layer }); }); -map.on("layeradd layerremove", function () { +map.on("baselayerchange overlaylayerchange", function ()

Re: [openstreetmap/openstreetmap-website] Use baselayerchange/overlaylayerchange instead of layeradd/layerremove (PR #5474)

2025-01-10 Thread Roman Deev via rails-dev
Okay, firing events from `addObject` / `removeObject` turned out to be the best idea. And I changed this PR to use `baselayerchange`/`overlaylayerchange` I also replaced layeradd for `map.on("layeradd",...)`, which tracks the layer's on/off state with `dataLayer.on("add", ...)`. Using `overlayla

[openstreetmap/openstreetmap-website] Bump eslint from 9.17.0 to 9.18.0 (PR #5491)

2025-01-10 Thread dependabot[bot] via rails-dev
Bumps [eslint](https://github.com/eslint/eslint) from 9.17.0 to 9.18.0.
Release notes

Sourced from eslint's releases.

v9.18.0

Features