directus / directus/docs

Marketplace icon metadata is missing

Open
#186 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
22
Forks
82
Avg merge
18h 49m
Merged PRs (30d)
4

Description

### Describe the Bug

In the docs it's mentioned that extensions developer can provide an icon for the extension: https://docs.directus.io/extensions/marketplace/publishing.html#additional-metadata

After noticing that the default icon is still used I checked the component and it's hardcoded to the default ones:
https://github.com/directus/directus/blob/main/app/src/modules/settings/routes/marketplace/components/extension-list-item.vue#L20C29-L20C49

Also it seems like the marketplace endpoint does not provides the icon field:
```
{
"id": "ff976cbc-9ade-4ff9-a7e1-ea2822fcb5a8",
"name": "directus-extension-field-actions",
"description": "Add advanced link & copy functionalities to your directus fields. Supports interfaces as well as displays.",
"total_downloads": 12926,
"verified": false,
"type": "bundle",
"last_updated": "2024-03-06T16:28:19.965Z",
"host_version": "^10.10.0",
"sandbox": true,
"license": "GPL-3.0",
"publisher": {
"username": "utomic-media",
"verified": false,
"github_name": null
}
},
```

### To Reproduce

Publish an extension with a custom icon. The marketplace will still display the default one

### Directus Version

v10.10.5

### Hosting Strategy

Self-Hosted (Docker Image)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.