Re: [openstreetmap/openstreetmap-website] Fix UserLocationChangeTest (Issue #6022)

2025-05-17 Thread mmd via rails-dev
mmd-osm left a comment (openstreetmap/openstreetmap-website#6022) We never see these screenshots images taken when something is failing: `[Screenshot Image]: /home/runner/work/openstreetmap-website/openstreetmap-website/tmp/screenshots/failures_test_translated_links.png` https://dev.to/ugifract

Re: [openstreetmap/openstreetmap-website] Advanced preferences, language dropdown in basic preferences (PR #6024)

2025-05-17 Thread Anton Khorev via rails-dev
@AntonKhorev pushed 3 commits. 0403f719a386c73fbb528dcb6c12a8c5a2fc6f00 Replace text input with select for basic language preference 713585e76efa16ae018d656b0328013aedf4cff3 Adapt basic language select to update single language value 64b41a8879050a7f82ec670f5fd3a8ccbc2bb042 Adapt basic langua

Re: [openstreetmap/openstreetmap-website] Advanced preferences, language dropdown in basic preferences (PR #6024)

2025-05-17 Thread Anton Khorev via rails-dev
@AntonKhorev pushed 11 commits. d60cb53eacff4136545f75ad5fd6173748c27fa6 Move basic preferences controller to preferences module 05753f705a2e3783e7de1762dc17ae734d4c4ef0 Create parent preferences controller class 29f075322f9e58bc438e9565e16abdb33e11ea19 Add empty advanced preferences page 837

Re: [openstreetmap/openstreetmap-website] Prerender heatmap in partial (PR #5998)

2025-05-17 Thread Boris Verkhovskiy via rails-dev
verhovsky left a comment (openstreetmap/openstreetmap-website#5998) > just 5 color buckets is easier to read than a continuous gradient for example I can't see any of my contributions because in the last few months I've had days with a lot more contributions https://github.com/user-attachments/

Re: [openstreetmap/openstreetmap-website] Advanced preferences, language dropdown in basic preferences (PR #6024)

2025-05-17 Thread Anton Khorev via rails-dev
@AntonKhorev pushed 2 commits. 9795ef613d2612a12ae55b96250154cbd43faaa2 Adapt basic language select to update single language value 64e406aed8b8c6ce2bcb3ba502ff362520f2e9cc Adapt basic language select to update multiple language values -- View it on GitHub: https://github.com/openstreetmap/o

Re: [openstreetmap/openstreetmap-website] Advanced preferences, language dropdown in basic preferences (PR #6024)

2025-05-17 Thread github-actions[bot] via rails-dev
github-actions[bot] left a comment (openstreetmap/openstreetmap-website#6024) 1 Warning :warning: Number of updated lines of code is too large to be in one PR. Perhaps it should be separated into two or more? Gener

[openstreetmap/openstreetmap-website] Advanced preferences, language dropdown in basic preferences (PR #6024)

2025-05-17 Thread Anton Khorev via rails-dev
![image](https://github.com/user-attachments/assets/100cb279-3ea2-4b35-8e76-13639eadbbff) ![image](https://github.com/user-attachments/assets/2e568a61-f154-4e4e-be89-efab9fdf6d7b) You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-web

Re: [openstreetmap/openstreetmap-website] Refactor directions output rendering and unit handling (PR #5992)

2025-05-17 Thread Anton Khorev via rails-dev
AntonKhorev left a comment (openstreetmap/openstreetmap-website#5992) The only thing that could be significantly improved here were km/mi buttons code. I didn't do this because I haven't finished with them. There were supposed to be tooltips and I also wanted to try miles-yards, in which case th

Re: [openstreetmap/openstreetmap-website] Extract heatmap data assembly into helper (PR #6018)

2025-05-17 Thread Marwin Hochfelsner via rails-dev
@hlfan commented on this pull request. > @@ -2,6 +2,7 @@ class UsersController < ApplicationController include EmailMethods include SessionMethods include UserMethods + include HeatmapHelper I don't think it should have been in the controller at all. -- Reply to this email directly

Re: [openstreetmap/openstreetmap-website] Refactor directions output rendering and unit handling (PR #5992)

2025-05-17 Thread Anton Khorev via rails-dev
AntonKhorev left a comment (openstreetmap/openstreetmap-website#5992) What was an improvement here? Especially given this [let's move unit conversions out of formatters](https://github.com/openstreetmap/openstreetmap-website/pull/5915#discussion_r2039306783), which I did, followed by [let's mov

Re: [openstreetmap/openstreetmap-website] HTTP 500 error on user profile pages (Issue #6023)

2025-05-17 Thread Roman Deev via rails-dev
deevroman left a comment (openstreetmap/openstreetmap-website#6023) Related to a bug in heatmaps processing https://github.com/openstreetmap/openstreetmap-website/issues/6021#issuecomment-2888487364 -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstree

Re: [openstreetmap/openstreetmap-website] Fix UserLocationChangeTest (Issue #6022)

2025-05-17 Thread Tom Hughes via rails-dev
tomhughes left a comment (openstreetmap/openstreetmap-website#6022) Well I'd love to fix it but I can't work out what's going wrong! -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/6022#issuecomment-2888473006 You are receiving

Re: [openstreetmap/openstreetmap-website] HTTP 500 error on user profile pages (Issue #6023)

2025-05-17 Thread Tom Hughes via rails-dev
tomhughes left a comment (openstreetmap/openstreetmap-website#6023) I couldn't be bothered to work out if that could be done so I just restarted the caches to flush everything... -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/

Re: [openstreetmap/openstreetmap-website] HTTP 500 error on user profile pages (Issue #6023)

2025-05-17 Thread Marwin Hochfelsner via rails-dev
hlfan left a comment (openstreetmap/openstreetmap-website#6023) @tomhughes what does it take to delete all cache entries with keys containing "heatmap"? -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/6023#issuecomment-28884918

Re: [openstreetmap/openstreetmap-website] Extract heatmap data assembly into helper (PR #6018)

2025-05-17 Thread Tom Hughes via rails-dev
@tomhughes approved this pull request. Thanks. This looks good to me now. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/6018#pullrequestreview-2848342981 You are receiving this because you are subscribed to this thread. Messa

Re: [openstreetmap/openstreetmap-website] Profile heatmap doesn't work in Chrome 136 (Issue #6021)

2025-05-17 Thread Marwin Hochfelsner via rails-dev
hlfan left a comment (openstreetmap/openstreetmap-website#6021) Great! Now it returns HTTP 500 status codes... 😬 Next time I guess I'll rename the cache keys again -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/6021#issuecommen

[openstreetmap/openstreetmap-website] HTTP 500 error on user profile pages (Issue #6023)

2025-05-17 Thread Minh Nguyá»…n via rails-dev
1ec5 created an issue (openstreetmap/openstreetmap-website#6023) ### URL https://www.openstreetmap.org/user/Minh%20Nguyen ### How to reproduce the issue? Open certain user profile pages (can’t figure out a pattern yet). ### Screenshot(s) or anything else? ![Application error: The OpenStreetMa

Re: [openstreetmap/openstreetmap-website] Refactor directions output rendering and unit handling (PR #5992)

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

Re: [openstreetmap/openstreetmap-website] Refactor directions output rendering and unit handling (PR #5992)

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

Re: [openstreetmap/openstreetmap-website] Fix UserLocationChangeTest (Issue #6022)

2025-05-17 Thread Marwin Hochfelsner via rails-dev
hlfan left a comment (openstreetmap/openstreetmap-website#6022) Which is exactly why I opened this issue -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/6022#issuecomment-2888474213 You are receiving this because you are subscri

Re: [openstreetmap/openstreetmap-website] Fix UserLocationChangeTest (Issue #6022)

2025-05-17 Thread Tom Hughes via rails-dev
tomhughes left a comment (openstreetmap/openstreetmap-website#6022) I did have a go at reproducing it in non-headless mode to try and see what was happening but that seemed to stop it happening for me which I guess goes with the obvious fact that it seems to be in some way timing related. -- R

Re: [openstreetmap/openstreetmap-website] Extract heatmap data assembly into helper (PR #6018)

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

Re: [openstreetmap/openstreetmap-website] Profile heatmap doesn't work in Chrome 136 (Issue #6021)

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

[openstreetmap/openstreetmap-website] Fix UserLocationChangeTest (Issue #6022)

2025-05-17 Thread Marwin Hochfelsner via rails-dev
hlfan created an issue (openstreetmap/openstreetmap-website#6022) Specifically test_User_can_change_their_location, which has caused many failed runs for completely unrelated changes, even on the master branch. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetm

Re: [openstreetmap/openstreetmap-website] Extract heatmap data assembly into helper (PR #6018)

2025-05-17 Thread Marwin Hochfelsner via rails-dev
@hlfan pushed 3 commits. 74bb42109bd3e3302a633ff482a4a41f4929d811 Improve heatmap data caching 8c2e0968d4a5757c361f0d466099aec019d8c47a Fix heatmap not appearing when first day of the week is a Sunday 64b0e787f047d95c87b205be947122d9fe3953d0 Extract heatmap data assembly into helper -- View

Re: [openstreetmap/openstreetmap-website] Bump eslint from 9.26.0 to 9.27.0 (PR #6019)

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

Re: [openstreetmap/openstreetmap-website] Extract heatmap data assembly into helper (PR #6018)

2025-05-17 Thread Tom Hughes via rails-dev
@tomhughes commented on this pull request. > @@ -2,6 +2,7 @@ class UsersController < ApplicationController include EmailMethods include SessionMethods include UserMethods + include HeatmapHelper This should probably be a `HeatmapMethods` concern rather than a helper - helpers are pri

Re: [openstreetmap/openstreetmap-website] Profile heatmap doesn't work in Chrome 136 (Issue #6021)

2025-05-17 Thread mmd via rails-dev
mmd-osm left a comment (openstreetmap/openstreetmap-website#6021) Yes, I've also seen that. I gave it a try, seems to be working ok on Chrome: ![Image](https://github.com/user-attachments/assets/e68150e4-7b2e-4467-9acf-5333e1e80ef5) -- Reply to this email directly or view it on GitHub: https://

Re: [openstreetmap/openstreetmap-website] Profile heatmap doesn't work in Chrome 136 (Issue #6021)

2025-05-17 Thread Roman Deev via rails-dev
deevroman left a comment (openstreetmap/openstreetmap-website#6021) I saw that the cause had already been found https://github.com/openstreetmap/openstreetmap-website/pull/5998#issuecomment-2888280658 -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstr

Re: [openstreetmap/openstreetmap-website] Profile heatmap doesn't work in Chrome 136 (Issue #6021)

2025-05-17 Thread mmd via rails-dev
mmd-osm left a comment (openstreetmap/openstreetmap-website#6021) Same results here: Chrome Version 128.0.6613.84 on Linux x64 is failing, Firefox is ok. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/6021#issuecomment-2888348

[openstreetmap/openstreetmap-website] Profile heatmap doesn't work in Chrome 136 (Issue #6021)

2025-05-17 Thread Roman Deev via rails-dev
deevroman created an issue (openstreetmap/openstreetmap-website#6021) ### URL https://www.openstreetmap.org/user/TrickyFoxy ### How to reproduce the issue? Open any active user profile Version 136.0.7103.114 (Official Build) (arm64) macOS 15 ### Screenshot(s) or anything else? https://github

Re: [openstreetmap/openstreetmap-website] Extract heatmap data assembly into helper (PR #6018)

2025-05-17 Thread Marwin Hochfelsner via rails-dev
@hlfan pushed 1 commit. 19938d5c7aa23c247fa41ef2c7fa2992b8ef7303 Fix heatmap not appearing when first day of the week is a Sunday -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/6018/files/3f7fe6412d499e63d06ab0a0b1c8e290e333136d..19938d5c7aa23c247fa41ef2c7fa2

Re: [openstreetmap/openstreetmap-website] Prerender heatmap in partial (PR #5998)

2025-05-17 Thread Marwin Hochfelsner via rails-dev
hlfan left a comment (openstreetmap/openstreetmap-website#5998) I think I've found the culprit: https://github.com/openstreetmap/openstreetmap-website/blob/32f23461fc37f93ba7fcddd901ed156d544c575e/app/assets/javascripts/heatmap.js#L23 getUTCDay is [0,6], weekInfo.firstDay is [1,7] -- Reply to th

Re: [openstreetmap/openstreetmap-website] Prerender heatmap in partial (PR #5998)

2025-05-17 Thread Tom Hughes via rails-dev
tomhughes left a comment (openstreetmap/openstreetmap-website#5998) Looks OK to me in both Firefox and Chromium on linux whether or not I am logged in. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5998#issuecomment-2888277827

Re: [openstreetmap/openstreetmap-website] Prerender heatmap in partial (PR #5998)

2025-05-17 Thread git-tgo via rails-dev
git-tgo left a comment (openstreetmap/openstreetmap-website#5998) nenad-vujicic > ... looks now (Edge, Chrome ... I can partly agree.   | logged in | logged out -- | -- | -- FF | ok | ok Edge | not ok | ok Chrome | not ok | ok -- Reply to this email directly or view it on GitHub: https://git

Re: [openstreetmap/openstreetmap-website] Prerender heatmap in partial (PR #5998)

2025-05-17 Thread Nenad Vujicic via rails-dev
nenad-vujicic left a comment (openstreetmap/openstreetmap-website#5998) I'm not 100% sure merging of this PR is causing this, but take a look at how e.g. (my profile page)[https://www.openstreetmap.org/user/Nenad%20Vujicic] looks now (Edge, Chrome, .. every browser and user profile I tried): ![

[openstreetmap/openstreetmap-website] Removing legacy OpenID login option (Issue #6020)

2025-05-17 Thread mmd via rails-dev
mmd-osm created an issue (openstreetmap/openstreetmap-website#6020) Before starting a new PR, I wanted to get some feedback, if this login option is working, and if anyone is still using it? My impression is that it is in some broken state for quite a while. I would therefore suggest to remove i