Github onebox does not point to individual commits in PR links

(Alan Tan) #1

Both links generate the same onebox even though the first link is pointing to a particular commit in the PR.

(Robin Ward) #3

It’s because it’s a pull request onebox, not a commit onebox :slight_smile:

I wouldn’t say it’s a bug so much as “we never implemented a different view for the PR onebox if a specific commit is linked to.” I’m not 100% sure what it should show here – the same title but a subtitle with the commit?

(Alan Tan) #4

I think it should just use the commit onebox which represents the link better.

(Robin Ward) #5

Sure, good suggestion. The latest onebox handles this as a commit onebox:

(Robin Ward) closed #6