UX: dashboard links to git commits list instead of git comparison

UX: dashboard links to git commits list instead of git comparison

Previously the link went to a comparison of the installed commit with the tests-passed branch. This change will show the list of installed commits.

diff --git a/app/assets/javascripts/admin/models/version-check.js.es6 b/app/assets/javascripts/admin/models/version-check.js.es6
index ce41d66713..2012d0ff08 100644
--- a/app/assets/javascripts/admin/models/version-check.js.es6
+++ b/app/assets/javascripts/admin/models/version-check.js.es6
@@ -17,12 +17,10 @@ const VersionCheck = Discourse.Model.extend({
     return missingVersionsCount === 1;
   },
 
-  @computed("git_branch", "installed_sha")
-  gitLink(gitBranch, installedSHA) {
-    if (gitBranch && installedSHA) {
-      return `https://github.com/discourse/discourse/compare/${installedSHA}...${gitBranch}`;
-    } else if (installedSHA) {
-      return `https://github.com/discourse/discourse/tree/${installedSHA}`;
+  @computed("installed_sha")
+  gitLink(installedSHA) {
+    if (installedSHA) {
+      return `https://github.com/discourse/discourse/commits/${installedSHA}`;
     }
   },

GitHub sha: 85140aa0

1 Like

This commit has been mentioned on Discourse Meta. There might be relevant details there: