### Description

It seems to me that #5511 didn't go in satisfying direction, so, created 
new PR based on [original 
suggestion](https://github.com/openstreetmap/openstreetmap-website/pull/5485#pullrequestreview-2545467592).

PR adds optional use of author and description from notes (in case 
data-migration is done) and author and description from first visible note 
comment (in case data-migration is not done). Also, adds author association to 
Note model.

### How has this been tested?

Automated unit tests and manual testing. Also tested after applying [migration 
script](https://github.com/openstreetmap/openstreetmap-website/pull/5485/commits/3981e9e02daec8441340bda6572111c795df82cb).
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Adds optional use of note's author and description

-- File Changes --

    M app/models/note.rb (14)

-- Patch Links --

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

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5579
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