Skip to content

Commit c872694

Browse files
xiaohuohumaxgithub-actions[bot]
authored andcommitted
build: 📦 build user script
1 parent 2af2432 commit c872694

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

dist/github-commit-sort.user.js renamed to dist/sort-github-commits-by-last-edited.user.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
// ==UserScript==
2-
// @name GitHub 仓库文件按提交时间排序(GitHub Commit Sort
3-
// @namespace xiaohuohumax/userscripts/github-commit-sort
4-
// @version 1.1.3
2+
// @name GitHub 仓库文件按提交时间排序(Sort Github Commits By Last Edited
3+
// @namespace xiaohuohumax/userscripts/sort-github-commits-by-last-edited
4+
// @version 1.2.0
55
// @author xiaohuohumax
66
// @description GitHub 仓库无法快速查看最新的变更文件?试试这个 GitHub 仓库文件按提交时间排序的用户脚本吧!
77
// @license MIT
88
// @icon https://github.githubassets.com/favicons/favicon-dark.png
99
// @source https://github.com/xiaohuohumax/userscripts.git
10-
// @downloadURL https://raw.githubusercontent.com/xiaohuohumax/userscripts/main/dist/github-commit-sort.user.js
11-
// @updateURL https://raw.githubusercontent.com/xiaohuohumax/userscripts/main/dist/github-commit-sort.user.js
10+
// @downloadURL https://raw.githubusercontent.com/xiaohuohumax/userscripts/main/dist/sort-github-commits-by-last-edited.user.js
11+
// @updateURL https://raw.githubusercontent.com/xiaohuohumax/userscripts/main/dist/sort-github-commits-by-last-edited.user.js
1212
// @match https://github.com/*
1313
// @grant GM_addValueChangeListener
1414
// @grant GM_getValue
@@ -45,8 +45,8 @@
4545
debounced.flush = (...args) => func(...args);
4646
return debounced;
4747
};
48-
const ID = "github-commit-sort";
49-
const VERSION = "1.1.3";
48+
const ID = "sort-github-commits-by-last-edited";
49+
const VERSION = "1.2.0";
5050
var _GM_addValueChangeListener = /* @__PURE__ */ (() => typeof GM_addValueChangeListener != "undefined" ? GM_addValueChangeListener : void 0)();
5151
var _GM_getValue = /* @__PURE__ */ (() => typeof GM_getValue != "undefined" ? GM_getValue : void 0)();
5252
var _GM_setValue = /* @__PURE__ */ (() => typeof GM_setValue != "undefined" ? GM_setValue : void 0)();
@@ -159,6 +159,7 @@
159159
if (!sortButton) {
160160
sortButton = document.createElement("button");
161161
sortButton.textContent = store.sortIcon;
162+
sortButton.title = "Sort commits by last edited";
162163
sortButton.classList.add("Button", "Button--iconOnly", "Button--secondary");
163164
sortButton.id = SORT_BUTTON_ID;
164165
sortButton.style.width = "var(--control-xsmall-size)";

0 commit comments

Comments
 (0)