[openstreetmap/openstreetmap-website] Adds optional use of note's author and description v2 (PR #5579)

Nenad Vujicic notifications at github.com
Thu Jan 30 12:27:25 UTC 2025


### 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/5579 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250130/6a9816d1/attachment.htm>


More information about the rails-dev mailing list