Skip to content

Add GitHub Commit Sort#106

Merged
adamlui merged 4 commits intoawesome-scripts:masterfrom
xiaohuohumax:master
Mar 9, 2026
Merged

Add GitHub Commit Sort#106
adamlui merged 4 commits intoawesome-scripts:masterfrom
xiaohuohumax:master

Conversation

@xiaohuohumax
Copy link
Contributor

Added a GitHub-related userscript that: add a button to sort files in a GitHub repository by time.
Hope it will be useful.

Copy link
Member

@adamlui adamlui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice userscript functionality @xiaohuohumax! I think the button needs a tooltip or something to tell user, "This will sort by last edited" because user may install lots of GitHub usersripts, then they see the button with the lines and forget what is it for

@adamlui
Copy link
Member

adamlui commented Mar 4, 2026

@xiaohuohumax also if you rename the script to reflect the function it's even better (unless you want to add more criteria for sorting)

@xiaohuohumax
Copy link
Contributor Author

Nice userscript functionality @xiaohuohumax! I think the button needs a tooltip or something to tell user, "This will sort by last edited" because user may install lots of GitHub usersripts, then they see the button with the lines and forget what is it for

Adding tooltips to the button is indeed a good feature 👍; I will add it in the next version.

@xiaohuohumax also if you rename the script to reflect the function it's even better (unless you want to add more criteria for sorting)

This script will not add any other sorting rules. How about the name 'sort-github-commits-by-last-edited (.user.js)'🤔?

@devactivity-app
Copy link

@xiaohuohumax, ⭐3 XP earned, 🏆First Comment Added completed, 💪Level 1 achieved!
Contribute more to raise your XP/Level, complete challenges for extra achievements! [Sign up for personal dashboard]

icon

@adamlui
Copy link
Member

adamlui commented Mar 9, 2026

How about the name 'sort-github-commits-by-last-edited (.user.js)'🤔?

Sounds good!

@xiaohuohumax
Copy link
Contributor Author

I have updated the script to support tooltip, and I have also modified the description of the script in this PR😁.

PixPin_2026-03-09_21-23-50

@adamlui adamlui merged commit 64256d2 into awesome-scripts:master Mar 9, 2026
1 check passed
@devactivity-app
Copy link

Pull Request Summary by devActivity

Metrics

Cycle Time: 41d 23h 29m Coding Time: 8d 10h 10m Review Time: 5d 9h 24m Comments: 5

Achievements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants