sindresorhus/refined-github



The issue has been closed
Add more information to `useful-not-found-page` #4617
fregante posted onGitHub
Description
Renamed files turn into 404s, but we add a link to the commit history:
<img width="877" alt="Screen Shot 9" src="https://user-images.githubusercontent.com/1402241/127319360-a6f19e37-3c3b-4c98-81d2-9058f80e3208.png">
What we if were more explicit about what happened to the file and link to the last known version?
Example:
- the file was deleted by
bab4ba
3 months ago - the file was renamed to
a.jsx
- the branch doesn't exist
- see the last version
Arguably these links are more useful than the breadcrumbs resolution and can be appended to the page as the API calls resolve
Example URL
https://github.com/gorhill/uBlock/blob/master/assets/ublock/resources.txt