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

Offen Anfängerfreundlich
#5,544 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
67/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
github
Bereich
desktop

Rechercherichtung

Gehe vom Code des Settings-Panels aus, der Organisationssymbole für Repository-Einträge abruft, und verfolge, wie er den GitHub-Host ermittelt. Passe die Suche so an, dass sie den Host des Repositorys verwendet, und überprüfe anschließend, dass bei einem Repository auf *.ghe.com das Organisationssymbol des Enterprise-Hosts angezeigt wird, wenn eine gleichnamige Organisation auf github.com ein anderes Symbol hat.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Keine Sprachdaten
Sterne
2.3k
Forks
202
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus github/app

Alle Issues in github/app

Ähnliche Issues

Weitere Issues zu Desktop Dev

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.