[openstreetmap/openstreetmap-website] Advanced preferences, language dropdown in basic preferences (PR #6024)
Anton Khorev
notifications at github.com
Sat May 17 18:06:33 UTC 2025


You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6024
-- Commit Summary --
* Move change preferences path to preferences/basic
* Update basic preferences path helpers
* Move basic preferences controller to preferences module
* Create parent preferences controller class
* Add empty advanced preferences page
* Add navigation tabs to preferences pages
* Add empty form to advanced preferences page
* Define preferences system tests using test "..."
* Copy languages input to advanced preferences form
* Scan locale yaml files for available languages
* Replace text input with select for basic language preference
* Adapt basic language select to update single language value
* Adapt basic language select to update multiple language values
-- File Changes --
M app/abilities/ability.rb (2)
A app/controllers/preferences/advanced_preferences_controller.rb (10)
A app/controllers/preferences/basic_preferences_controller.rb (37)
A app/controllers/preferences/preferences_controller.rb (26)
D app/controllers/preferences_controller.rb (44)
M app/views/layouts/_header.html.erb (2)
D app/views/preferences/_update_success_flash.html.erb (1)
A app/views/preferences/advanced_preferences/show.html.erb (12)
R app/views/preferences/basic_preferences/show.html.erb (11)
A app/views/preferences/preferences/_navigation.html.erb (8)
A app/views/preferences/preferences/_update_success_flash.html.erb (7)
M app/views/site/_potlatch.html.erb (2)
M config/initializers/i18n.rb (32)
M config/locales/en.yml (44)
M config/routes.rb (9)
A test/controllers/preferences/advanced_preferences_controller_test.rb (32)
A test/controllers/preferences/basic_preferences_controller_test.rb (157)
D test/controllers/preferences_controller_test.rb (101)
M test/system/preferences_test.rb (26)
M test/system/view_communities_test.rb (2)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6024.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6024.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6024
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6024 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250517/551b05fe/attachment-0001.htm>
More information about the rails-dev
mailing list