git-history icon indicating copy to clipboard operation
git-history copied to clipboard

Support browsing directories

Open rweisleder opened this issue 6 years ago • 2 comments

When changing the URL from

https://github-history.netlify.com/pomber/github-history/blob/master/src/index.js

to

https://github-history.netlify.com/pomber/github-history/blob/master/src/

I get an "Unexpected error. Check the console."

DOMException: "String contains an invalid character" index.js:30:8
	314 index.js:30

GitHub itself handles this by redirecting to

https://github.com/pomber/github-history/tree/master/src

rweisleder avatar Feb 07 '19 18:02 rweisleder

https://github.com/pomber/github-history/blob/master/src/ - doesn't exist. That's why Github redirect you to ../tree/master/src I suppose it's obvious that you get an error when you try to check a history of unexisted page

osynavets avatar Feb 07 '19 19:02 osynavets

Adding my input here as requested.

Instead of navigating the history of a single file, it would be great to navigate the history of an entire repo. File by file.

I'm imagining a navigation bar on the side so you can select different files etc.

chriswales95 avatar Feb 10 '19 19:02 chriswales95