# Onebox of github commits overview is just the onebox of the first commit

**URL:** https://meta.discourse.org/t/onebox-of-github-commits-overview-is-just-the-onebox-of-the-first-commit/80254
**Category:** Feature
**Tags:** pr-welcome
**Created:** [2월 10, 2018, 11:53오전 UTC](https://meta.discourse.org/t/onebox-of-github-commits-overview-is-just-the-onebox-of-the-first-commit/80254 "2018-02-10T11:53:51Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rriemann](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rriemann/32/115238_2.png) [@rriemann](https://meta.discourse.org/u/rriemann)
#### Post date: [2월 10, 2018, 11:53오전 UTC](https://meta.discourse.org/t/onebox-of-github-commits-overview-is-just-the-onebox-of-the-first-commit/80254/1 "2018-02-10T11:53:51Z")

</div>

Hello,

for the link [https://github.com/beta-europe/www.beta-europe.org/commits/master](https://github.com/beta-europe/www.beta-europe.org/commits/master), I expected to have a onebox different from a precise commit. This is a bit misleading.

Onebox for the link above:

(edit by @david: screenshot of the old result, for future reference)

 ![18](https://global.discourse-cdn.com/meta/original/3X/3/d/3d13236138488e8ce2484cd1e6d0e85928fb2463.png)

> **[Commits · beta-europe/www.beta-europe.org](https://github.com/beta-europe/www.beta-europe.org/commits/master)**
>
> The official website of the BETA association. Contribute to beta-europe/www.beta-europe.org development by creating an account on GitHub.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2월 13, 2018, 6:09오전 UTC](https://meta.discourse.org/t/onebox-of-github-commits-overview-is-just-the-onebox-of-the-first-commit/80254/2 "2018-02-13T06:09:06Z")

</div>

Agree, we can do better here #pr-welcome

---

<div class="post-metadata">

### Author: ![maja](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maja/32/129533_2.png) [@maja](https://meta.discourse.org/u/maja)
#### Post date: [2월 20, 2018, 8:07오후 UTC](https://meta.discourse.org/t/onebox-of-github-commits-overview-is-just-the-onebox-of-the-first-commit/80254/3 "2018-02-20T20:07:09Z")

</div>

Links leading to issues and pull requests overview both render whitelistedgeneric onebox:

> **[Issues · rails/rails](https://github.com/rails/rails/issues)**
>
> Ruby on Rails. Contribute to rails/rails development by creating an account on GitHub.

[https://github.com/rails/rails/pulls](https://github.com/rails/rails/pulls)

Should the same happen when adding a link to commit history as well?

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [10월 9, 2019, 10:48오전 UTC](https://meta.discourse.org/t/onebox-of-github-commits-overview-is-just-the-onebox-of-the-first-commit/80254/5 "2019-10-09T10:48:40Z")

</div>

Maja가 제안한 대로, 여러 커밋에 대한 링크는 이제 화이트리스트에 등록된 일반 onebox로 렌더링됩니다.

> <https://github.com/discourse/onebox/commit/4103d115c199458a9a9368e5962dd20e674abf52>
>
> Links to multiple commits will now use the default whitelistedgeneric onebox.
> 
> h…ttps://meta.discourse.org/t/onebox-of-github-commits-overview-is-just-the-onebox-of-the-first-commit/80254/

불행히도 GitHub가 이러한 URL에 제공하는 오픈그래프 데이터는 일반적입니다. 리포지토리의 이름/설명만 표시됩니다. 하지만 여전히 첫 번째 커밋을 임의로 렌더링하는 것보다 혼란이 적다고 생각합니다.

이러한 “다중 커밋” 링크를 위한 완전히 새로운 onebox는 여전히 #pr-welcome입니다. 시도해 보시려는 분이 있다면 환영합니다.
