[openstreetmap/openstreetmap-website] Editor color mode preference (PR #6492)
Pablo Brasero
notifications at github.com
Wed Nov 5 13:03:17 UTC 2025
pablobm left a comment (openstreetmap/openstreetmap-website#6492)
For things like this, I'd suggest to move code to models (or dedicated Ruby classes) where they can be tested thoroughly without too much ceremony.
Here's an example: https://github.com/hlfan/openstreetmap-website/compare/editor-theme...pablobm:openstreetmap-website:editor-theme The second commit is refactor idea, take it or leave it.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6492#issuecomment-3491093576
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6492/c3491093576 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251105/f4bc2778/attachment.htm>
More information about the rails-dev
mailing list