Blob page only displays committer on refresh
Summary
When the author and committer are different, the blob page will not initially display both, but after refreshing the page it does so.
The latest commit in https://gitlab.com/ghinfey/committer-display-test can demonstrate the issue.
See recording:
CommitAuthorDisplayBug
Steps to reproduce
- Create a new project with a README.md file in GDK.
- Clone the project and make a change to the README.md file.
- Create a commit with a different author to committer for the change, eg
git commit --author="Author Name <author@example.com>" -m "Commit message" - Push the change and go to the project root, eg
http://gdk.test:3000/root/new-project - Select the README.md file to navigate to the blob viewer.
- Notice that only the author is displayed in the header:
- Refresh the page and notice that author and committer are viewed in the header:
What is the current bug behavior?
When initially visiting the blob page, only author information is displayed. Committer information (when applicable) is only displayed after a page refresh.
What is the expected correct behavior?
A refresh is not needed to display committer info on the blob page.
Edited by 🤖 GitLab Bot 🤖

