Re: [openstreetmap/openstreetmap-website] Add 'Load more' button + extras (PR #5808)

2025-03-16 Thread Anton Khorev via rails-dev
@AntonKhorev pushed 4 commits. 582b7d6ace2f4e951d9f2a290fd4bd97f454e6bf Add 'after' parameter to history pages a27790361367772bacc05a70b080b1e47f2274fc Preserve sidebar scroll position when prepending to history 6075d8fdf592ed185ec779f9d45938a927fecbb5 Rewrite history page url when scrolling

Re: [openstreetmap/openstreetmap-website] Put api keys directly in js layer definitions (PR #5809)

2025-03-16 Thread Tom Hughes via rails-dev
@tomhughes approved this pull request. This looks good now, thanks. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5809#pullrequestreview-2688772612 You are receiving this because you are subscribed to this thread. Message ID:

[openstreetmap/openstreetmap-website] Create heatmap links using elements (PR #5814)

2025-03-16 Thread Anton Khorev via rails-dev
#5805 added links to heatmaps, but those weren't real links. Those were click listeners that rewrite page locations. The browser won't show their urls and they can't be opened in new tabs. This PR creates real links by wrapping svg rectangles in `` elements. ![image](https://github.com/user-

Re: [openstreetmap/openstreetmap-website] Create heatmap links using elements (PR #5814)

2025-03-16 Thread Anton Khorev via rails-dev
@AntonKhorev pushed 1 commit. e8e37702ba1c06f2c9e2725a5b39d8099b3647ca Create heatmap links using elements -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5814/files/cf96d91e55fabc15b90d3e32ab4ba6b709566d72..e8e37702ba1c06f2c9e2725a5b39d8099b3647ca You are re

Re: [openstreetmap/openstreetmap-website] Add 'Load more' button + extras (PR #5808)

2025-03-16 Thread Anton Khorev via rails-dev
@AntonKhorev pushed 1 commit. 19fb50474ce059cb3b9cc2c96a4a24dc4c97454c Remove params from url when viewing place history and map is moved -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5808/files/8be6f820935b371bc8d8e1fd644137b5abc843c6..19fb50474ce059cb3b9cc

Re: [openstreetmap/openstreetmap-website] Add 'Load more' button + extras (PR #5808)

2025-03-16 Thread Anton Khorev via rails-dev
@AntonKhorev pushed 2 commits. 896af966c8f0f9af5e953c3a5fc0f5a4cdf242d3 Rename changeset loader functions 8be6f820935b371bc8d8e1fd644137b5abc843c6 Remove params from url when viewing place history and map is moved -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pu

Re: [openstreetmap/openstreetmap-website] Remove workaround for iD 2.31 (PR #5813)

2025-03-16 Thread Tom Hughes via rails-dev
Merged #5813 into master. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5813#event-16792398736 You are receiving this because you are subscribed to this thread. Message ID: ___ rails-

Re: [openstreetmap/openstreetmap-website] "Comments" link on the user profile should include changeset and note comments. (#1148)

2025-03-16 Thread Tom Hughes via rails-dev
tomhughes left a comment (openstreetmap/openstreetmap-website#1148) Well technically this issue suggests including note comments as well, which are there, but on a separate link. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/

Re: [openstreetmap/openstreetmap-website] "Comments" link on the user profile should include changeset and note comments. (#1148)

2025-03-16 Thread Dimitar via rails-dev
Dimitar left a comment (openstreetmap/openstreetmap-website#1148) This issue, along with #842 should be marked as resolved by #5518. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/1148#issuecomment-2727658311 You are receiv

[openstreetmap/openstreetmap-website] Remove workaround for iD 2.31 (PR #5813)

2025-03-16 Thread Marwin Hochfelsner via rails-dev
This removes the workaround from #5661 that has become unnecessary with #5750 You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/5813 -- Commit Summary -- * Remove workaround for iD 2.31 -- File Changes -- M app/a

Re: [openstreetmap/openstreetmap-website] Update to i18n-js 4.x (PR #5811)

2025-03-16 Thread Tom Hughes via rails-dev
tomhughes left a comment (openstreetmap/openstreetmap-website#5811) I've split this as suggested so that the mass renaming can be done first and then the functional changes. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5811#is

Re: [openstreetmap/openstreetmap-website] Put api keys directly in js layer definitions (PR #5809)

2025-03-16 Thread Tom Hughes via rails-dev
Merged #5809 into master. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5809#event-16791863281 You are receiving this because you are subscribed to this thread. Message ID: ___ rails-

Re: [openstreetmap/openstreetmap-website] Put api keys directly in js layer definitions (PR #5809)

2025-03-16 Thread Tom Hughes via rails-dev
@tomhughes commented on this pull request. > @@ -0,0 +1,19 @@ +module MapLayers + def self.full_definitions(layers_filename) +YAML.load_file(Rails.root.join(layers_filename)).filter_map do |layer| Err... I guess... Which is why I hate that sort of control flow :-( -- Reply to this email

Re: [openstreetmap/openstreetmap-website] Update to i18n-js 4.x (PR #5811)

2025-03-16 Thread Tom Hughes via rails-dev
@tomhughes pushed 1 commit. cc525cdf2a47f9807ce71cc4722265d8c344122f Update to i18n-js 4.x -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5811/files/6ea3991de6ee0fc78335663a6a33f611d1304efb..cc525cdf2a47f9807ce71cc4722265d8c344122f You are receiving this becau

Re: [openstreetmap/openstreetmap-website] Put api keys directly in js layer definitions (PR #5809)

2025-03-16 Thread Marwin Hochfelsner via rails-dev
@hlfan pushed 1 commit. 6ecfab90271916c806c91aff51b9e395529fcf4a Put api keys directly in js layer definitions -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5809/files/07fe4034e95bf14d2b74650420c0c6b9df1141a0..6ecfab90271916c806c91aff51b9e395529fcf4a You are

Re: [openstreetmap/openstreetmap-website] Add PWA geo protocol handler (PR #5736)

2025-03-16 Thread Marwin Hochfelsner via rails-dev
@hlfan pushed 1 commit. 37f32c74844eb44c5c8c2fc8ae15c1f8736c2d75 Add PWA geo protocol handler -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5736/files/c1d8ed666a8f81a514a2700d052234753b6a2351..37f32c74844eb44c5c8c2fc8ae15c1f8736c2d75 You are receiving this be

Re: [openstreetmap/openstreetmap-website] Remove u-turn side decision (PR #5777)

2025-03-16 Thread Marwin Hochfelsner via rails-dev
@hlfan pushed 1 commit. 4073971014485b09c0f301267b5043ce24822d53 Remove u-turn side decision -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5777/files/c685d6d38c4bd3d749f5aeaae86386eb0d317e09..4073971014485b09c0f301267b5043ce24822d53 You are receiving this bec

Re: [openstreetmap/openstreetmap-website] Reuse mirrored turn icons (PR #5776)

2025-03-16 Thread Marwin Hochfelsner via rails-dev
@hlfan pushed 1 commit. 1ade2335b9ca186e7b123d728591f8c768ddb6ee Reuse mirrored turn icons -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5776/files/3b2a19061408101621ce12c81702fd267dba64c7..1ade2335b9ca186e7b123d728591f8c768ddb6ee You are receiving this becau

Re: [openstreetmap/openstreetmap-website] Overhaul markers (PR #5764)

2025-03-16 Thread Marwin Hochfelsner via rails-dev
@hlfan pushed 2 commits. 1552910828676ea71b27745099f99f5203bf2d88 Name markers uniformly 278a0c41365a3d5e5cb5a124e1f4583ad952d9ca Overhaul markers -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5764/files/9197668276d899726ead8b00802f06fd50e2488e..278a0c41365a

Re: [openstreetmap/openstreetmap-website] Remove controls sprite (PR #5752)

2025-03-16 Thread Marwin Hochfelsner via rails-dev
@hlfan pushed 4 commits. bc508673e788ce8c00cf2f030261f733184c2177 Unify active control button behaviour bc405e7ca14374523346c2bd25712521b7225192 Set fixthemap note link in template a84751f1c135ced546f05d53473eb2050db83ea9 Click links instead of icons in tests 5fbbc4801b6c1e0ed258526f55043bfcc69

Re: [openstreetmap/openstreetmap-website] Add 'Load more' button + extras (PR #5808)

2025-03-16 Thread Anton Khorev via rails-dev
@AntonKhorev pushed 1 commit. 2ca7a67a4013a8b6da45336ddeaf1288ffb72f38 WIP eslint -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5808/files/cf1a2e7ebe7f3e99781934ad4c8deabd4dd51e6d..2ca7a67a4013a8b6da45336ddeaf1288ffb72f38 You are receiving this because you ar

Re: [openstreetmap/openstreetmap-website] Add PWA geo protocol handler (PR #5736)

2025-03-16 Thread Marwin Hochfelsner via rails-dev
@hlfan pushed 1 commit. c1d8ed666a8f81a514a2700d052234753b6a2351 Add PWA geo protocol handler -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5736/files/7fb4fb7663524893340b30710283d605915b508a..c1d8ed666a8f81a514a2700d052234753b6a2351 You are receiving this be

[openstreetmap/openstreetmap-website] Add 'Load more' button that loads newer changesets to history pages (PR #5812)

2025-03-16 Thread Anton Khorev via rails-dev
If you get to the user's history page from the heatmap, it will start on a selected date. You can scroll down, press *Load more* and and load changesets that were created before the initially visible set. But what if you want to see changesets created after the date? This PR adds a *Load more*

Re: [openstreetmap/openstreetmap-website] Update to i18n-js 4.x (PR #5811)

2025-03-16 Thread Tom Hughes via rails-dev
@tomhughes pushed 1 commit. 6ea3991de6ee0fc78335663a6a33f611d1304efb Update to i18n-js 4.x -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5811/files/93fab10f6e606e14a867bac1f5a990d22c41cd6d..6ea3991de6ee0fc78335663a6a33f611d1304efb You are receiving this becau

Re: [openstreetmap/openstreetmap-website] Update to i18n-js 4.x (PR #5811)

2025-03-16 Thread Marwin Hochfelsner via rails-dev
hlfan left a comment (openstreetmap/openstreetmap-website#5811) How about instanciating i18n or even just aliasing `OSM.i18n = { t: I18n.t }` in a separate commit first so the main version upgrade can be a smaller commit? -- Reply to this email directly or view it on GitHub: https://github.com/

Re: [openstreetmap/openstreetmap-website] Put api keys directly in js layer definitions (PR #5809)

2025-03-16 Thread Marwin Hochfelsner via rails-dev
@hlfan commented on this pull request. > @@ -0,0 +1,19 @@ +module MapLayers + def self.full_definitions(layers_filename) +YAML.load_file(Rails.root.join(layers_filename)).filter_map do |layer| I split the filtering and mapping up (from phone, hence no squash). -- Reply to this email dire

Re: [openstreetmap/openstreetmap-website] Put api keys directly in js layer definitions (PR #5809)

2025-03-16 Thread Marwin Hochfelsner via rails-dev
@hlfan pushed 1 commit. 07fe4034e95bf14d2b74650420c0c6b9df1141a0 Fix indentation -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5809/files/a132b837cfce4931a4c4d3b819ddb6f0bdf34493..07fe4034e95bf14d2b74650420c0c6b9df1141a0 You are receiving this because you are

Re: [openstreetmap/openstreetmap-website] Put api keys directly in js layer definitions (PR #5809)

2025-03-16 Thread Marwin Hochfelsner via rails-dev
@hlfan pushed 1 commit. a132b837cfce4931a4c4d3b819ddb6f0bdf34493 Clear up MapLayers control flow -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5809/files/fc878e3c019f7e06ea5e7c811bde6ae2425c5bf1..a132b837cfce4931a4c4d3b819ddb6f0bdf34493 You are receiving this

Re: [openstreetmap/openstreetmap-website] Add 'Load more' button that loads newer changesets to history pages (PR #5808)

2025-03-16 Thread Anton Khorev via rails-dev
@AntonKhorev pushed 5 commits. 8a65f551a71e92052107805c03ad687697d375e3 Add 'after' parameter to history pages 9880953e9191777574141adfb4fa340589c5a7a4 Preserve sidebar scroll position when prepending to history 4caf285c5c346fe70c9f24934ad06916528e92a3 WIP intersect with visible e4d27dd1c05a9d

Re: [openstreetmap/openstreetmap-website] Update to i18n-js 4.x (PR #5811)

2025-03-16 Thread Tom Hughes via rails-dev
@tomhughes pushed 1 commit. 93fab10f6e606e14a867bac1f5a990d22c41cd6d Update to i18n-js 4.x -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5811/files/37dfb402cfe3d8e6429f80ebacbe37ae97fef158..93fab10f6e606e14a867bac1f5a990d22c41cd6d You are receiving this becau

Re: [openstreetmap/openstreetmap-website] Update to i18n-js 4.x (PR #5811)

2025-03-16 Thread Tom Hughes via rails-dev
@tomhughes pushed 1 commit. 37dfb402cfe3d8e6429f80ebacbe37ae97fef158 Update to i18n-js 4.x -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5811/files/aa75a1ec628fe387342bce58f90ca14bc6c3714e..37dfb402cfe3d8e6429f80ebacbe37ae97fef158 You are receiving this becau

[openstreetmap/openstreetmap-website] Update to i18n-js 4.x (PR #5811)

2025-03-16 Thread Tom Hughes via rails-dev
This updates i18n-js to the 4.x branch which requires quite a bit of re-engineering due to upstream API changes. Although this looks quite large the vast majority of it is just replacement of `I18n.t` with `OSM.i18n.t` as you now need to instantiate an instance of I18n instead of just using glo

Re: [openstreetmap/openstreetmap-website] Put api keys directly in js layer definitions (PR #5809)

2025-03-16 Thread Marwin Hochfelsner via rails-dev
@hlfan commented on this pull request. > @@ -0,0 +1,19 @@ +module MapLayers + def self.full_definitions(layers_filename) +YAML.load_file(Rails.root.join(layers_filename)).filter_map do |layer| I understood it as the `next` in line 5 makes it returns `nil`, and therefore the `filter_map`.

Re: [openstreetmap/openstreetmap-website] Filter out invisible nodes and ways during initial selection (PR #5589)

2025-03-16 Thread Tom Hughes via rails-dev
@tomhughes pushed 1 commit. 6f887001dec8a31da29ee3a17d64549511d21bff Filter out invisible nodes and ways during initial selection -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5589/files/ff0c1b492a966b183d8a03f47bc4b8c9f598418d..6f887001dec8a31da29ee3a17d645

Re: [openstreetmap/openstreetmap-website] Put api keys directly in js layer definitions (PR #5809)

2025-03-16 Thread Tom Hughes via rails-dev
@tomhughes commented on this pull request. > @@ -0,0 +1,19 @@ +module MapLayers + def self.full_definitions(layers_filename) +YAML.load_file(Rails.root.join(layers_filename)).filter_map do |layer| This isn't actually doing any filtering it is? The block always returns a "truthy" value so

Re: [openstreetmap/openstreetmap-website] Add links to days in user history from heatmap (PR #5805)

2025-03-16 Thread Tom Hughes via rails-dev
Merged #5805 into master. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5805#event-16791358522 You are receiving this because you are subscribed to this thread. Message ID: ___ rails-

Re: [openstreetmap/openstreetmap-website] Contribution heatmap is off by a month (Issue #5802)

2025-03-16 Thread Tom Hughes via rails-dev
Closed #5802 as completed via #5806. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/5802#event-16791358588 You are receiving this because you are subscribed to this thread. Message ID: _

Re: [openstreetmap/openstreetmap-website] Monkey patch Selenium to allocate unique bidi ports (PR #5796)

2025-03-16 Thread Tom Hughes via rails-dev
Merged #5796 into master. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5796#event-16791358519 You are receiving this because you are subscribed to this thread. Message ID: ___ rails-

Re: [openstreetmap/openstreetmap-website] Fix heatmap month titles in Western Hemisphere (PR #5806)

2025-03-16 Thread Tom Hughes via rails-dev
Merged #5806 into master. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5806#event-16791358517 You are receiving this because you are subscribed to this thread. Message ID: ___ rails-

Re: [openstreetmap/openstreetmap-website] Monkey patch Selenium to allocate unique bidi ports (PR #5796)

2025-03-16 Thread Tom Hughes via rails-dev
tomhughes left a comment (openstreetmap/openstreetmap-website#5796) I don't normally self-merge things but nobody has spotted any problems with this and it's getting annoying seeing a sea of red in the PR queue so I'm going to merge and if anybody spots a problem we can fix it later. -- Reply

Re: [openstreetmap/openstreetmap-website] Add links to days in user history from heatmap (PR #5805)

2025-03-16 Thread Tom Hughes via rails-dev
tomhughes left a comment (openstreetmap/openstreetmap-website#5805) Looks good to me, thanks. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5805#issuecomment-2727498726 You are receiving this because you are subscribed to this t

Re: [openstreetmap/openstreetmap-website] Fix heatmap month titles in Western Hemisphere (PR #5806)

2025-03-16 Thread Tom Hughes via rails-dev
tomhughes left a comment (openstreetmap/openstreetmap-website#5806) Looks good to me, thanks. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5806#issuecomment-2727479794 You are receiving this because you are subscribed to this t