[openstreetmap/openstreetmap-website] Create last managing user column in issues table (PR #5763)
Anton Khorev
notifications at github.com
Fri Mar 7 10:20:23 UTC 2025
Issues have `updated_at` and `user_updated` attributes. They are updated separately, sometimes without new `user_updated` being written. This makes "Last Updated / (date) by (user)" statements as they are shown in issue tables possibly incorrect:

Various solutions were discussed, some in #3211, but it's still not obvious which one is the best. The simplest one however is to stop claiming that the user from `user_updated` did their update at `updated_at`. This can be done by displaying the user in another column:

The column title suggested by @SomeoneElseOSM was "last managed by" but I don't want to stretch the table too much horizontally. Or we might need a wider table.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5763
-- Commit Summary --
* Create last managing user column in issues table
-- File Changes --
M app/views/issues/_page.html.erb (11)
M app/views/issues/index.html.erb (4)
M config/locales/en.yml (6)
M test/system/issues_test.rb (29)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5763.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5763.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5763
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5763 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250307/cf34596d/attachment.htm>
More information about the rails-dev
mailing list