[openstreetmap/openstreetmap-website] Show tag changes in object history view (PR #6448)
Ian Dees
notifications at github.com
Sat Oct 25 00:37:10 UTC 2025
@iandees commented on this pull request.
> + when :unmodified
+ "diff-indicator-cell diff-unmodified"
+ else
+ "diff-indicator-cell"
+ end
+ end
+
+ def format_tag_row_with_change(key, change_info)
+ case change_info[:type]
+ when :modified
+ # Generate two rows for modified tags
+ value_cells = format_tag_value_with_change(key, change_info)
+ [
+ tag.tr(:class => tag_change_class(change_info[:type])) do
+ safe_join([
+ tag.th(format_key(key), :class => "diff-key-modified", :rowspan => 2),
Good question, I didn't know that was visible in the history view. I would propose removing it from the history view to reduce the complexity of this view. It would still be visible in the view of a single version.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6448#discussion_r2462287543
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6448/review/3379281636 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251024/f50c2ea1/attachment.htm>
More information about the rails-dev
mailing list