[openstreetmap/openstreetmap-website] Show "reporting user" on "issues" screen (PR #4990)

Anton Khorev notifications at github.com
Tue Jan 21 01:24:13 UTC 2025


Are reporters sorted? Judging by https://github.com/openstreetmap/openstreetmap-website/pull/4990#pullrequestreview-2180762354 there was an attempt to show last three unique reporters, but now looks like it's not happening.

If there's an issue that was resolved, it has `read_reports`. Then the same item may get reported again and get new `unread_reports`. If you look at the issues list, reporters from `read_reports` are not as important and maybe shouldn't be shown at all. Or maybe they should, but only if the status filter is set to *resolved* (otherwise there's no available reports because they all are read).

But all of those considerations could be skipped (at least initially) if we sort reporters by their last reports. Unread reports always come chronologically after read reports, therefore last reporters will come from unread reports first.

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

Message ID: <openstreetmap/openstreetmap-website/pull/4990/c2603444207 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250120/08a39389/attachment.htm>


More information about the rails-dev mailing list