Skip to content

ramimbo/github-sortout

Repository files navigation

github-sortout

Userscript that adds sorting to GitHub issue/PR timelines and a recent public actions view.

Install

  1. Install Tampermonkey (Chrome/Edge/Safari) or Violentmonkey (Firefox/Chrome)
  2. Click install script

Features

Timeline sorting - on issues and PRs, a sort bar appears above the loaded activity:

  • Default (restores original order)
  • Newest first / Oldest first
  • Most reactions / Fewest reactions
  • By type: comments -> reviews -> bot comments -> events

Sorting only affects activity GitHub has loaded on the page. Click GitHub's "Load more" first if older items are hidden.

Recent actions - the Sortout button opens a full-screen view of your recent public GitHub activity, newest first. It uses GitHub's public Events API for PRs, issues, comments, PR reviews, and review comments.

It shows the latest 20 actions by default, with options for 50 or 100 and sorting by date, type, or repository.

Jump buttons - up/down arrows sit near the Sortout button. On issues and PRs they jump through the loaded conversation; elsewhere they jump to the top or bottom of the page.

Browser support

Any browser running Tampermonkey or Violentmonkey:

  • Chrome/Chromium (Brave, Edge, Arc, Opera)
  • Firefox
  • Safari via Userscripts

Notes

  • Sorting is non-destructive - switching back to Default restores the original order without a reload
  • Handles GitHub's Turbo/Pjax navigation so the sort bar survives in-page transitions
  • Recent actions are public GitHub activity only
  • No GitHub token is used or stored

License

MIT

About

Userscript that sorts GitHub issue and PR timelines

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors