-
-
Notifications
You must be signed in to change notification settings - Fork 165
GitHub sort content
Rob Garrison edited this page Jun 4, 2018
·
49 revisions
A userscript that makes some lists & markdown tables sortable
- This userscript makes the following content sortable; links to some example pages (install the userscript first!):
- Any tables inside of markdown -
https://github.com/:user/:repo
or wiki pages. - Repo files table -
https://github.com/:user/:repo
(sort content, message or age columns). - Your repos & your teams -
https://github.com/
. - Pinned Repos (org & user) -
https://github.com/:org
&https://github.com/:user
. - Organization repos -
https://github.com/:org
(inline with search input). - Organization people -
https://github.com/orgs/:org/people
(inline with search input). - Organization outside collaborators (own orgs) -
https://github.com/orgs/:org/outside-collaborators
. - Organization teams (own orgs) -
https://github.com/orgs/:org/teams
. - Repo stargazers -
https://github.com/:user/:repo/stargazers
. - Repo watchers -
https://github.com/:user/:repo/watchers
. - User repos -
https://github.com/:user?tab=repositories
. - User stars -
https://github.com/:user?tab=stars
. - User Followers:
- User Following:
- Watching -
https://github.com/watching
. - Global stars pages (REMOVED; already sortable):
- Any tables inside of markdown -
- The script uses tinysort:
- Therefore, only a ascending or descending sort of the list can be applied.
- The only way to reset the sort is to reload the page.
- Sorting of dates will work if all dates are within the same year; dates that span years will not sort properly - this is a limitation of the tinysort plugin.
- The sort only applies to the elements on the current page; lists that continue on to other pages are not included.
- Click this link to install from GitHub; or, install from GreasyFork or OpenUserJS.
* NOTE * Columns containing dates will not sort as expected because the tinysort library does not support it natively.
Markdown table
Organization repos/people (only the current page)
Following/You Know
- Complete rewrite for new layout.
- Update mutation script.
- Update mutation script.
- Code cleanup.
- Fix user/org sorting.
- Update mutation script url.
- Update GM4 polyfill.
- Add GM4 polyfill & update assets.
- Add sort to Your Teams.
- Fix sort container selectors.
- Update mutation script url.
- Fix linting issues.
- Prevent duplicate header on browser back (Chrome).
- Make repo file list sortable. Fixes issue #24.
- Change license to MIT.
- Fix linting.
- Remove extra css definitiion.
- Clean up "closest" function.
- Update to match layout changes.
- Remove unnecessary log.
- Clean up linting issues.
- Add sort to user navigation bar (Overview, Repositories, Stars, Followers & Following).
- Beautified.
- Add sort to watching list.
- Clean up code & Fix sorting issue on main page repo boxes.
- Include background no-repeat with sorted arrows. Fixes issue #5.
- Update user repo tab class name. See issue #5.
- Prevent JS error when clicking on the TOC userscript arrows.
- Add following/follower list sort.
- Add missing !important flag & screenshot.
- Initial commit.