[openstreetmap/openstreetmap-website] Show tag changes in object history view (PR #6448)

Ian Dees notifications at github.com
Sun Oct 26 02:59:08 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),

I made a change in fa4310f to remove the wikidata preview. It seems to work ... usually ... but it definitely makes the whole tag diff situation messier.

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

Message ID: <openstreetmap/openstreetmap-website/pull/6448/review/3380396758 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251025/6c33360a/attachment.htm>


More information about the rails-dev mailing list