[openstreetmap/openstreetmap-website] [WIP] Simplify GPS trace visibility levels (PR #7146)

Ruben L. Mendoza notifications at github.com
Tue Jun 9 20:10:15 UTC 2026


Ref:  https://github.com/openstreetmap/openstreetmap-website/issues/7089

This PR covers the GPS visibility simplification, new trace uploads now only accept `trackable` and `identifiable`. I removed the `private` and `public` options from the upload and edit forms. User can still change their own existing traces to `trackable` or `identifiable` whenever they want.


Deloyed here: https://gpsvisibility.apis.dev.openstreetmap.org/

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/7146

-- Commit Summary --

  * Restrict new traces to trackable and  identifiable visibility
  * Show only trackable and identifiable in trace upload and edit forms
  * Default new trace upload visibility to trackable
  * Map legacy public API param to trackable or identifiable
  * Reject legacy public param on trace upload
  * Update api trace test to rejected public param

-- File Changes --

    M app/controllers/api/traces_controller.rb (8)
    M app/controllers/traces_controller.rb (11)
    M app/models/trace.rb (1)
    M app/views/traces/edit.html.erb (4)
    M app/views/traces/new.html.erb (4)
    M test/controllers/api/traces_controller_test.rb (37)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/7146.patch
https://github.com/openstreetmap/openstreetmap-website/pull/7146.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7146
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/7146 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260609/40ed67c1/attachment.htm>


More information about the rails-dev mailing list