# Use correct provider icons for extension repository links \(\#58108\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/b8c75f17170b3d3e5bfd7f11881fd629caccc95f)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: b8c75f17170b3d3e5bfd7f11881fd629caccc95f

Requested commit: b8c75f17170b3d3e5bfd7f11881fd629caccc95f

Commit: b8c75f17170b3d3e5bfd7f11881fd629caccc95f

Tree: 480978f409533cd47b971d96110b3973f297216e

Author: Albert Bogusz

Committer: GitHub

## Message

```
Use correct provider icons for extension repository links (#58108)

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [ ] Unsafe blocks (if any) have justifying comments (N/A)
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [ ] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

I was unable to find an issue or PR which mentions this.

Extensions with non-GitHub repository links always use the GitHub icon,
which is inconsistent with the changes merged in #44738 and #57500. This
change makes `extension_ui.rs` use the Git hosting provider registry to
determine these icons. Below is a preview of the change:

<div align="center">
    <img
        width="450"
        alt="Preview"

src="https://github.com/user-attachments/assets/e35f0eed-de54-48f9-824d-8a5b9bfc596f"
    />
</div>

Release Notes:

- Improved extension repository links to show provider-specific icons.
```

## Parents

- [bbd198f57ba90ff35b8b01f78442c0de1c5a02fc](https://git.cafe/gitcafe/zed/commit/bbd198f57ba90ff35b8b01f78442c0de1c5a02fc?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/b8c75f17170b3d3e5bfd7f11881fd629caccc95f?format=markdown)
