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

Đang mở Phù hợp với người mới
#5,544 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
67/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github
Lĩnh vực
desktop

Hướng nghiên cứu

Bắt đầu từ mã của bảng Settings lấy biểu tượng tổ chức cho các mục kho lưu trữ, rồi theo dõi cách mã xác định máy chủ GitHub. Cập nhật việc tra cứu để sử dụng máy chủ của kho lưu trữ, sau đó xác minh rằng kho lưu trữ trên *.ghe.com hiển thị biểu tượng tổ chức Enterprise khi một tổ chức github.com cùng tên có biểu tượng khác.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
2.3k
Fork
202
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của github/app

Tất cả issue của github/app

Issue tương tự

Thêm issue về Desktop Dev

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.