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/5...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to