userscripts icon indicating copy to clipboard operation
userscripts copied to clipboard

GitHub Latest not working anymore with the new Issues (public preview)

Open jerone opened this issue 11 months ago • 1 comments

https://github.blog/changelog/2025-01-13-evolving-github-issues-public-preview/

Example: https://github.com/expo/dev-plugins/issues?sort=updated

jerone avatar Jan 15 '25 09:01 jerone

If you want to stick to the original script but with a fix to the sorting, apply this change:

diff --git a/GitHub_Latest.user.js b/GitHub_Latest.user.js
--- a/GitHub_Latest.user.js
+++ b/GitHub_Latest.user.js
@@ -36,7 +36,7 @@
        var button = list_item_issues_copy.firstElementChild;
        button.id = "latest-button"
-       button.href += "?sort=updated";
+       button.href += "?q=sort%3Aupdated-desc";
        button.style.float = "right";

Alternatively, you can use my version which handled this issue with no problems.

JourneyOver avatar Feb 09 '25 23:02 JourneyOver