Settings shows github.com organization icons for repositories hosted on `*.ghe.com`

オープン 初心者向け
#5,544 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
67/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github
領域
desktop

調査の方向性

Settings パネルでリポジトリ項目の組織アイコンを取得するコードから始め、GitHub ホストの判定方法を追ってください。検索でリポジトリのホストを使うように更新し、同名の github.com 組織のアイコンが異なる場合に、*.ghe.com 上のリポジトリで Enterprise 組織のアイコンが表示されることを確認してください。

索引モデルが issue の本文から書いたものです。

説明

triage
Short summary

When signed in to a GitHub Enterprise Cloud instance on *.ghe.com, the Settings panel fetches repository organization icons from github.com.

Affected version or release

v1.1.35

Installation context

No response

What happened?

Description

When signed in to a GitHub Enterprise Cloud instance on *.ghe.com, the Settings panel fetches repository organization icons from github.com. If an organization with the same name exists on github.com, its icon is displayed instead of the icon belonging to the organization on the enterprise instance.

Steps to reproduce

  1. Sign in to a *.ghe.com instance.
  2. Add a repository whose organization name also exists on github.com, with a different organization icon.
  3. Open the Settings panel and view the repository entry.
  4. Observe that the icon belongs to the same-named organization on github.com.

Expected behavior

Organization icons should be resolved using the repository’s GitHub host, so repositories on *.ghe.com display their enterprise organization’s icon.

Actual behavior

The icon is fetched from the same-named organization on github.com, resulting in incorrect branding.

Steps to reproduce

No response

Expected behavior

No response

Additional context

No response

主要言語
言語のデータがありません
スター
2.3k
フォーク
202
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/app のほかの issue

github/app の issue をすべて見る

似ている issue

Desktop Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。