[SCM] postgis.net branch website updated. clarity-final-254-g50f3813

git at osgeo.org git at osgeo.org
Sat Aug 15 10:01:11 PDT 2026


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "postgis.net".

The branch, website has been updated
       via  50f3813b0973e5ba3bdfaeefc9505d4f911ba01b (commit)
       via  df84396c4b638bed3fc957ad4ee0a04579f9e7c9 (commit)
      from  365dff45fb6f003f30ec1c7e3ffdf127ec073de4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 50f3813b0973e5ba3bdfaeefc9505d4f911ba01b
Merge: 365dff4 df84396
Author: Darafei Praliaskouski <komzpa at gmail.com>
Date:   Sat Aug 15 10:01:10 2026 -0700

    Merge pull request 'Link compatibility browser labels to changelogs' (!33) from Komzpa/postgis.net:compat/link-targets-20260812 into website
    
    Reviewed-on: https://gitea.osgeo.org/postgis/postgis.net/pulls/33


commit df84396c4b638bed3fc957ad4ee0a04579f9e7c9
Author: Darafei Praliaskouski <me at komzpa.net>
Date:   Wed Aug 12 14:34:32 2026 +0400

    Link compatibility browser labels to source pages

diff --git a/content/development/compatibility/index.md b/content/development/compatibility/index.md
index e825f21..12a0ddb 100644
--- a/content/development/compatibility/index.md
+++ b/content/development/compatibility/index.md
@@ -11,9 +11,9 @@ browser shows release intersections across PostgreSQL and dependency versions,
 keeps downstream packaging informational, and keeps historical and patch-level
 detail behind explicit view controls.
 
-<link rel="stylesheet" href="support-browser.css?v=17">
+<link rel="stylesheet" href="support-browser.css?v=18">
 
-<div id="postgis-support-browser" class="postgis-support-browser" data-source="compatibility.json?v=12">
+<div id="postgis-support-browser" class="postgis-support-browser" data-source="compatibility.json?v=13">
   <p>Loading compatibility data...</p>
 </div>
 
diff --git a/content/development/compatibility/support-browser.css b/content/development/compatibility/support-browser.css
index cb6abcc..c2af146 100644
--- a/content/development/compatibility/support-browser.css
+++ b/content/development/compatibility/support-browser.css
@@ -308,6 +308,24 @@ main.container:has(.postgis-support-browser) .support-matrix-shell .support-colu
   width: max-content;
 }
 
+.support-group-head a.support-group-head-label,
+.support-series-group-link,
+.support-series-detail-name a {
+  color: inherit;
+  text-decoration: none;
+}
+
+.support-group-head a.support-group-head-label:hover,
+.support-group-head a.support-group-head-label:focus,
+.support-series-group-link:hover,
+.support-series-group-link:focus,
+.support-series-detail-name a:hover,
+.support-series-detail-name a:focus {
+  text-decoration: underline;
+  text-decoration-thickness: 1px;
+  text-underline-offset: 0.12rem;
+}
+
 .support-corner--overview {
   vertical-align: bottom !important;
 }
diff --git a/content/development/compatibility/support-browser.js b/content/development/compatibility/support-browser.js
index de9fe10..ffc6417 100644
--- a/content/development/compatibility/support-browser.js
+++ b/content/development/compatibility/support-browser.js
@@ -9,6 +9,10 @@
     return value === undefined || value === null || value === "" ? "n/a" : String(value);
   }
 
+  function linkTarget(primary, fallback) {
+    return primary && primary.url ? primary : fallback && fallback.url ? fallback : null;
+  }
+
   function dimensionByKey(matrix, key) {
     return (matrix.dimensions || []).filter(function (dimension) {
       return dimension.key === key;
@@ -177,11 +181,12 @@
     wrap.className = "support-column-head";
     wrap.title = column.detail;
 
-    var labelWrap = document.createElement(column.source && column.source.url ? "a" : "span");
+    var labelTarget = linkTarget(column.release, column.source);
+    var labelWrap = document.createElement(labelTarget ? "a" : "span");
     labelWrap.className = "support-column-source";
-    if (column.source && column.source.url) {
-      labelWrap.href = column.source.url;
-      labelWrap.title = column.source.value;
+    if (labelTarget) {
+      labelWrap.href = labelTarget.url;
+      labelWrap.title = labelTarget.title || labelTarget.value;
     }
     var label = document.createElement("strong");
     label.textContent = column.label;
@@ -225,9 +230,17 @@
     header.className = "support-series-group";
     header.rowSpan = rowSpan;
     header.setAttribute("data-series-index", String(groupIndex));
+    var target = linkTarget(group.source, null);
+    var holder = document.createElement(target ? "a" : "span");
+    holder.className = "support-series-group-link";
+    if (target) {
+      holder.href = target.url;
+      holder.title = target.title || target.value;
+    }
     var label = document.createElement("strong");
     label.textContent = group.label;
-    header.appendChild(label);
+    holder.appendChild(label);
+    header.appendChild(holder);
     return header;
   }
 
@@ -241,11 +254,12 @@
       name.className += " support-patch-name";
       var primary = document.createElement("strong");
       primary.textContent = row.primary;
-      if (row.source && row.source.url) {
+      var patchTarget = linkTarget(row.release, row.source);
+      if (patchTarget) {
         var primaryLink = document.createElement("a");
         primaryLink.className = "support-patch-source";
-        primaryLink.href = row.source.url;
-        primaryLink.title = row.source.value;
+        primaryLink.href = patchTarget.url;
+        primaryLink.title = patchTarget.title || patchTarget.value;
         primaryLink.appendChild(primary);
         name.appendChild(primaryLink);
       } else {
@@ -256,7 +270,12 @@
       name.appendChild(secondary);
     } else {
       name.className += " support-series-detail-name";
-      var latest = document.createElement("span");
+      var seriesTarget = linkTarget(row.release, row.source);
+      var latest = document.createElement(seriesTarget ? "a" : "span");
+      if (seriesTarget) {
+        latest.href = seriesTarget.url;
+        latest.title = seriesTarget.title || seriesTarget.value;
+      }
       latest.textContent = row.primary;
       name.appendChild(latest);
     }
@@ -545,9 +564,14 @@
       header.colSpan = group.columns.length;
       header.setAttribute("data-column-start", String(start));
       header.setAttribute("data-column-end", String(start + group.columns.length - 1));
-      var groupLabel = document.createElement("span");
+      var groupSource = linkTarget(group.dimension.source, null);
+      var groupLabel = document.createElement(groupSource ? "a" : "span");
       groupLabel.className = "support-group-head-label";
       groupLabel.textContent = group.dimension.label;
+      if (groupSource) {
+        groupLabel.href = groupSource.url;
+        groupLabel.title = groupSource.title || groupSource.value;
+      }
       header.appendChild(groupLabel);
       groupHeader.appendChild(header);
       start += group.columns.length;

-----------------------------------------------------------------------

Summary of changes:
 content/development/compatibility/index.md         |  4 +-
 .../development/compatibility/support-browser.css  | 18 +++++++++
 .../development/compatibility/support-browser.js   | 44 +++++++++++++++++-----
 3 files changed, 54 insertions(+), 12 deletions(-)


hooks/post-receive
-- 
postgis.net


More information about the postgis-tickets mailing list