Going back in browser while looking through commits in an MR does not refresh
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
When browsing through commits in a merge request, I expect to be able to use the browser back and forward. This does not currently work. The URL gets updated, but the page does not get refreshed.
Steps to reproduce
- Create a merge request on gitlab.com with multiple commits.
- Go into the first commit in the chain, and then click "Next".
- Try to go back to the previous commit by using the browser back button.
- See that the URL changes from e.g.
https://gitlab.com/<tenant>/<repo>/-/merge_requests/<mrid>/diffs?commit_id=commitid2
tohttps://gitlab.com/<tenant>/<repo>/-/merge_requests/<mrid>/diffs?commit_id=commitid1
- See that the content of the page stays the same, with no refresh.
This has consistent behaviour on macOS Sonoma Version 14.4, Chrome Version 131.0.6778.85 (Official Build) (arm64), on Gitlab.com.
Edited by 🤖 GitLab Bot 🤖