[openstreetmap/openstreetmap-website] Report changesets (PR #4370)

Anton Khorev notifications at github.com
Sat Nov 25 15:57:36 UTC 2023


Restores changeset reporting. It was introduced in the [original issues implementation](https://github.com/openstreetmap/openstreetmap-website/pull/1576), but was [removed](https://github.com/openstreetmap/openstreetmap-website/pull/1576/commits/3006ce9713da119ecbe9e0e1f915df53ff1a898f) before it went live. Later it ended up on the 2021 DWG wishlist.

![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/cfec7ac6-574f-4c4a-a211-b6f305ec6a45)

This is the original reporting categories. I asked about them a few months ago but nobody cam up with a better list.

![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/fe9640c0-dd00-4424-b046-5e9ade4cd6e4)

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

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

-- Commit Summary --

  * Add report changeset link
  * Fix changeset report title
  * Add changeset report categories
  * Assign reported changesets to moderators
  * Add new changeset report test
  * Make changeset a selectable type in the issues table
  * Add changeset report system test
  * Test changeset report visibility to moderators

-- File Changes --

    M app/controllers/issues_controller.rb (2)
    M app/controllers/reports_controller.rb (2)
    M app/helpers/issues_helper.rb (4)
    M app/helpers/reports_helper.rb (4)
    M app/models/report.rb (1)
    M app/views/browse/changeset.html.erb (8)
    M config/locales/en.yml (9)
    M test/controllers/reports_controller_test.rb (24)
    A test/system/report_changeset_test.rb (52)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list