[openstreetmap/openstreetmap-website] Note subscriptions (PR #5283)

Anton Khorev notifications at github.com
Thu Oct 24 03:04:30 UTC 2024


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

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

-- Commit Summary --

  * Create note subscription table and model
  * Subscribe users when they interact with notes
  * Backfill note subscriptions
  * Send notifications to note subscribers instead of commenters
  * Add create note subscription api endpoint
  * Add create note subscription api endpoint
  * Add subscribe/unsubscribe buttons to note pages

-- File Changes --

    M app/abilities/api_capability.rb (1)
    M app/assets/javascripts/index/note.js (26)
    A app/controllers/api/note_subscriptions_controller.rb (22)
    M app/controllers/api/notes_controller.rb (8)
    M app/models/note.rb (2)
    A app/models/note_subscription.rb (20)
    M app/models/user.rb (2)
    M app/views/notes/show.html.erb (26)
    M config/locales/en.yml (3)
    M config/routes.rb (2)
    A db/migrate/20241022141247_create_note_subscriptions.rb (8)
    A db/migrate/20241023004427_backfill_note_subscriptions.rb (23)
    M db/structure.sql (43)
    A test/controllers/api/note_subscriptions_controller_test.rb (132)
    M test/controllers/api/notes_controller_test.rb (169)
    A test/factories/note_subscriptions.rb (3)
    M test/system/note_comments_test.rb (47)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list