Closed aarongable closed 6 years ago
- I get taken to a view of the most recent ~hundred commits
IMHO, a link that says "Next" should not take you to a page that repeats the contents of the page you're currently looking at, and I am a little surprised that you expect it to. But that's just a reflection of the link text; I think it's actually fine behavior for the link from the repo index page to take you to a log starting from the tip. So I would be ok with your suggestion if we also change the text to say "More" or something.
Absolutely agreed; I think the best fix for the first half of this bug is for the front page to have something like a "More" or "Log" link, rather than having the same "Next>>" link that full log pages have.
I just noticed another issue with the next/previous links:
Expected result: the next page of results Actual result: a 404, because the url populates "null" instead of "HEAD"
Jeez, who knows how long that's been broken: https://gerrit-review.googlesource.com/#/c/gitiles/+/158831
On Fri, Feb 9, 2018 at 3:27 PM Aaron Gable notifications@github.com wrote:
I just noticed another issue with the next/previous links:
- Go to any raw +log url, like https://chromium.googlesource.com/chromium/src/+log/
- Click "Next >>"
Expected result: the next page of results Actual result: a 404, because the url populates "null" instead of "HEAD"
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/google/gitiles/issues/128#issuecomment-364555730, or mute the thread https://github.com/notifications/unsubscribe-auth/AAL5b58z2OoTw-kKrhYIow17tk1u6V3Vks5tTKpMgaJpZM4R9kGy .
Dang that was fast, you beat me to it. And your solution is better anyway. Thanks for finding those fixes so fast!
What steps will reproduce the problem?
What is the expected output?
What do you see instead?
What steps will reproduce the problem?
What is the expected result?
What do you see instead?