docs icon indicating copy to clipboard operation
docs copied to clipboard

Marketplace icon metadata is missing

Open Dominic-Marcelino opened this issue 1 year ago • 1 comments

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)

Dominic-Marcelino avatar Apr 04 '24 13:04 Dominic-Marcelino