[openstreetmap/openstreetmap-website] "Edit" menu shown on (small format) mobile devices largely non-functional (Issue #5326)

2024-11-14 Thread Simon Poole via rails-dev
### URL _No response_ ### How to reproduce the issue? Use phone to connect to openstreetmap.org ### Screenshot(s) or anything else? On phone the edit button is now displayed, while it works for iD (if it is useful is a matter of debate), JOSM RC will not work as is. See https://github.com/op

Re: [openstreetmap/openstreetmap-website] Enable dark theme if user prefers dark color scheme - no javascript version (PR #4761)

2024-11-14 Thread Vincent Wong via rails-dev
@DaveF63 Random OSM user passing by, but my guess is that, per https://github.com/gravitystorm/openstreetmap-carto/issues/5044, there are actually no "official" dark tiles from osm-carto yet, so the dimming is a stop-gap measure to get dark mode published. I would expect the tile-dimming prob

Re: [openstreetmap/openstreetmap-website] Use CSS filter instead of dimming tiles (PR #5325)

2024-11-14 Thread mxdanger via rails-dev
For the time being this should be discussed in depth and not treated as a "quick fix". Theres serious implications to changing the color of a map that has been meticulously colored and iterated on for the past decade. Realistically, I don't expect a "default" dark map theme until the vector map

Re: [openstreetmap/openstreetmap-website] Dark Mode (#2332)

2024-11-14 Thread Alexis Markwick via rails-dev
> As an alternative to reverting, I have created PR #5325 as a quick fix that > basically uses one of the filters from this issue. Please be aware of the performance issues with adding multiple css filters, old hardware will struggle. -- Reply to this email directly or view it on GitHub: https

Re: [openstreetmap/openstreetmap-website] Add light/dark mode preference (Issue #5324)

2024-11-14 Thread nickvet419 via rails-dev
It darkens the map background, which also dims the map. and no option to disable dark mode on the page. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/5324#issuecomment-242931 You are receiving this because you are subscri

Re: [openstreetmap/openstreetmap-website] Use CSS filter instead of dimming tiles (PR #5325)

2024-11-14 Thread Alexis Markwick via rails-dev
I quite like the new dark mode. I've used that inversion filter OP mentioned on my own website, but wasn't a fan due to the terrible performance on old devices. I think adding `contrast(1.1)` to the filter would help readability. -- Reply to this email directly or view it on GitHub: https://git

Re: [openstreetmap/openstreetmap-website] Dark Mode (#2332)

2024-11-14 Thread Luka S via rails-dev
Agreed, the current darkened map does not look great, especially as iD does not yet support dark mode at all, and so there's a bit of a jump on editing. Maybe some layers can be changed for dark mode? Whilst I usually agree that I don't like dark mode maps, I make an exception for Tracestrack's

Re: [openstreetmap/openstreetmap-website] Use CSS filter instead of dimming tiles (PR #5325)

2024-11-14 Thread Tom Hughes via rails-dev
There were dozens of pull requests over many months so it was hardly done in a hurry beyond maybe the final merge to turn it on which I admit took me somewhat by surprise. I'll leave an decision about reverting that decision to the person that made it and and will bow out of all future discussi

Re: [openstreetmap/openstreetmap-website] Use CSS filter instead of dimming tiles (PR #5325)

2024-11-14 Thread Tim Weber via rails-dev
> We're not going to be merging anything in a hurry anyway so talk of a > "hotfix" or of not having time to do things properly is not helpful. In that case, please revert the dark mode, and I'll close this PR. I'm proposing this change as a service to the community, with multiple people having

Re: [openstreetmap/openstreetmap-website] Enable dark theme if user prefers dark color scheme - no javascript version (PR #4761)

2024-11-14 Thread Tom Hughes via rails-dev
> I like dark modes in general, but can someone (other than TH) explain the > reason for the lack of choice & the dimmed tile window? Is my opinion not welcome then? What exactly have I done to upset you? -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/ope

Re: [openstreetmap/openstreetmap-website] Use CSS filter instead of dimming tiles (PR #5325)

2024-11-14 Thread Tom Hughes via rails-dev
> This "feauture" should at minimum be opt-in. That is something to disuss at #5324 not here. > I agree, but that is out of scope for this issue. It would need JavaScript > changes (basically the [code from the Bootstrap > docs](https://getbootstrap.com/docs/5.3/customize/color-modes/#javascrip

Re: [openstreetmap/openstreetmap-website] Use CSS filter instead of dimming tiles (PR #5325)

2024-11-14 Thread Tim Weber via rails-dev
> how does it look with the other map styles? ![image](https://github.com/user-attachments/assets/05fb7d42-a96f-4750-95d3-c21211e1ef7e) ![image](https://github.com/user-attachments/assets/6a4f61ea-80e1-40fc-a81c-3f264aa48581) ![image](https://github.com/user-attachments/assets/1143154e-f2a8-4d4a

Re: [openstreetmap/openstreetmap-website] Use CSS filter instead of dimming tiles (PR #5325)

2024-11-14 Thread Tom Hughes via rails-dev
Having not looked at what is being proposed here my concern is exactly what I think was discussed originally, that I think this is completely distorting the colours chosen by the style designer? Which we were concerned was not a reasonable thing to and something that might be received badly by s

Re: [openstreetmap/openstreetmap-website] Enable dark theme if user prefers dark color scheme - no javascript version (PR #4761)

2024-11-14 Thread DaveF63 via rails-dev
I like dark modes in general, but can someone (other than TH) explain the reason for the lack of choice & the dimmed tile window? -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/4761#issuecomment-2477526339 You are receiving this

Re: [openstreetmap/openstreetmap-website] Use CSS filter instead of dimming tiles (PR #5325)

2024-11-14 Thread Tom Hughes via rails-dev
We're not going to be merging anything in a hurry anyway so talk of a "hotfix" or of not having time to do things properly is not helpful. If changes are need we should get them right rather than keep cycling through multiple changes. Obviously as the person that merged the original change here

Re: [openstreetmap/openstreetmap-website] Use CSS filter instead of dimming tiles (PR #5325)

2024-11-14 Thread Harry Bond via rails-dev
how does it look with the other map styles? -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5325#issuecomment-2477518825 You are receiving this because you are subscribed to this thread. Message ID: __

Re: [openstreetmap/openstreetmap-website] Dim map tiles in dark mode (PR #4712)

2024-11-14 Thread fincent via rails-dev
Why dim the entire map? This makes things very difficult to read... Maybe a toggle to dim the map would be more appropriate. (As well as a toggle for dark mode in general) -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/4712#issu

Re: [openstreetmap/openstreetmap-website] Dim map tiles in dark mode (PR #4712)

2024-11-14 Thread mxdanger via rails-dev
> There are two options: dim them or invert them You left out the third option of not changing anything! Just leaving my two cents here to say this should be reverted. Thanks. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/4712#

Re: [openstreetmap/openstreetmap-website] Use CSS filter instead of dimming tiles (PR #5325)

2024-11-14 Thread tomFlowee via rails-dev
For what it is worth, as someone that loves dark mode and even has an AMOLED display that makes a pure black background very easy on the eyes, for someone that is a fan of dark mode, I don't want my normal map usage to have tiles that have a dark background. Only while driving I like having dark

Re: [openstreetmap/openstreetmap-website] Dark Mode (#2332)

2024-11-14 Thread mxdanger via rails-dev
I really hope the dim filter over the map is removed. Either have a proper dark tile map or just don’t touch it at all. It just looks terribly washed out. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/2332#issuecomment-2477483

Re: [openstreetmap/openstreetmap-website] Adding map note tags - part 1 - added migration script and model files (PR #5323)

2024-11-14 Thread Nenad Vujicic via rails-dev
@nenad-vujicic pushed 2 commits. 54e517b2494b94508dbfb155f5d7f517e175fca9 Added NoteTag model and note_tags table ea120b04271d7be36b07cf973246cc1b7e4a9cf8 Added note_tag factory and NoteTag model test-case -- View it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5323

Re: [openstreetmap/openstreetmap-website] Use CSS filter instead of dimming tiles (PR #5325)

2024-11-14 Thread Tim Weber via rails-dev
> This "feauture" should at minimum be opt-in. I agree, but that is out of scope for this issue. It would need JavaScript changes (basically the [code from the Bootstrap docs](https://getbootstrap.com/docs/5.3/customize/color-modes/#javascript)) and an additional UI element. That's no longer a

Re: [openstreetmap/openstreetmap-website] Add light/dark mode preference (Issue #5324)

2024-11-14 Thread mxdanger via rails-dev
There should be absolutely no image or map dimming. It just reduces readability. Just leaving this comment here so an option is **NOT** created for it. The dimming shouldn’t be a thing. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/

Re: [openstreetmap/openstreetmap-website] Dark Mode (#2332)

2024-11-14 Thread tomFlowee via rails-dev
For what it is worth, as someone that loves dark mode and even has an AMOLED display that makes a pure black background very easy on the eyes, for someone that is a fan of dark mode, I don't want my normal map usage to have tiles that have a dark background. Only while driving I like having dark

Re: [openstreetmap/openstreetmap-website] Dark Mode (#2332)

2024-11-14 Thread Tim Weber via rails-dev
As an alternative to reverting, I have created PR #5325 as a quick fix that basically uses one of the filters from this issue. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/2332#issuecomment-2477469696 You are receiving this b

[openstreetmap/openstreetmap-website] Use CSS filter instead of dimming tiles (PR #5325)

2024-11-14 Thread Tim Weber via rails-dev
### Description This is basically a hotfix to address the dark mode rollout from today. I'm new to contributing here and kind of in a hurry, sorry in advance if anything in this PR isn't perfect. The current implementation of dark mode is already pretty good, but the tile display (i.e. the actu

Re: [openstreetmap/openstreetmap-website] Dark Mode (#2332)

2024-11-14 Thread tomFlowee via rails-dev
This seems to have been rolled out on the main website. At least, the main website has some css trick to make the tiles darker on my firefox on desktop. The unfortunate downside of this solution is that I can't use the website anymore. The contrast is too low, the text has become unreadable. T

Re: [openstreetmap/openstreetmap-website] geo URIs: separate z parameter with a semicolon, not question mark (Issue #5322)

2024-11-14 Thread Slaven Rezić via rails-dev
Closed #5322 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/5322#event-15304091302 You are receiving this because you are subscribed to this thread. Message ID: ___ rai

Re: [openstreetmap/openstreetmap-website] geo URIs: separate z parameter with a semicolon, not question mark (Issue #5322)

2024-11-14 Thread Slaven Rezić via rails-dev
OK, I read the URI RFC and it seems that indeed every URI type may contain a query part. And as the z is not standardized in the geo URI RFC, it is fair enough to put it into the query part. So I retract my objection here and will create issues elsewhere... -- Reply to this email directly or v

Re: [openstreetmap/openstreetmap-website] Dark Mode (#2332)

2024-11-14 Thread Shiba via rails-dev
Can the light/dark/follow system style be made as a user preference? I like what Dark Reader is doing way more, but it only works with light as a base style. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/2332#issuecomment-247

Re: [openstreetmap/openstreetmap-website] Add light/dark mode preference (Issue #5324)

2024-11-14 Thread Jay Turner via rails-dev
I agree, there needs to be a config option. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/5324#issuecomment-2477298494 You are receiving this because you are subscribed to this thread. Message ID: ___

Re: [openstreetmap/openstreetmap-website] Dark Mode (#2332)

2024-11-14 Thread pkrasicki via rails-dev
@kcne >Would you know which class should be targeted to apply this effect to the map? I'm not using the latest version of Leaflet, so I don't know if anything has changed, but back then I did this: JS code: ```js const mapElementId = "map"; map = L.map(mapElementId, { attributionControl

Re: [openstreetmap/openstreetmap-website] Add light/dark mode preference (Issue #5324)

2024-11-14 Thread DaveF63 via rails-dev
The tile screen didn't need dimming; it makes it difficult to read. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/issues/5324#issuecomment-2477244820 You are receiving this because you are subscribed to this thread. Message ID:

[openstreetmap/openstreetmap-website] Add light/dark mode preference (Issue #5324)

2024-11-14 Thread Will via rails-dev
### Problem Browsers do not let you set a per-site dark mode preference. Some users do not want to use the new dark mode. ### Description A toggle similar to the Wikipedia appearance (see below). It should probably be accessible for users who are not logged in, as well. ### Screenshots ![ima

Re: [openstreetmap/openstreetmap-website] Move History and Export buttons to secondary nav (PR #5151)

2024-11-14 Thread Roman Deev via rails-dev
> we get feedback on this Yes, get it :) I won't ask you to return everything back, because the Edit button is now more visible for beginners. But the current implementation has a problem: when you narrow the screen width, there is too much empty space that the History and Export buttons used t

Re: [openstreetmap/openstreetmap-website] Remove jQuery.timers plugin (PR #5320)

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

Re: [openstreetmap/openstreetmap-website] Note subscriptions API (PR #5314)

2024-11-14 Thread Tom Hughes via rails-dev
@tomhughes commented on this pull request. > @@ -0,0 +1,22 @@ +module Api + class NoteSubscriptionsController < ApiController +before_action :check_api_writable +before_action :authorize + +authorize_resource + +def create + note_id = params[:note_id].to_i + note = Not

Re: [openstreetmap/openstreetmap-website] Remove jQuery.timers plugin (PR #5320)

2024-11-14 Thread Tom Hughes via rails-dev
Looks good to me, thanks. -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5320#issuecomment-2477071696 You are receiving this because you are subscribed to this thread. Message ID: ___

[openstreetmap/openstreetmap-website] Adding map note tags - part 1 - added migration script and model files (PR #5323)

2024-11-14 Thread Nenad Vujicic via rails-dev