-
-
Notifications
You must be signed in to change notification settings - Fork 165
GitHub sort content
Rob Garrison edited this page May 16, 2017
·
49 revisions
A userscript that makes some lists & markdown tables sortable
- This userscript makes the following content sortable, and examples
- Any tables inside of markdown - https://github.com/Mottie/GitHub-userscripts
- The repos you contribute to & your repos list - https://github.com/
- Organization repos - https://github.com/jquery
- Organization members - https://github.com/orgs/jquery/people
- Overview pinned & popular repos - https://github.com/addyosmani
- User repos - https://github.com/addyosmani?tab=repositories
- User Stars
- User Followers
- User Following
- Stars list - https://github.com/stars
- Watching list - https://github.com/watching
- The script uses tinysort:
- So 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.
* 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
- 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.