status-desktop icon indicating copy to clipboard operation
status-desktop copied to clipboard

[ProfileShowcase] Provide community image to the collectibles delegates in the profile popup

Open alexjba opened this issue 10 months ago • 1 comments

We don't have communityImage roleName provided in the collectibles model. These are the roleNames we currently have:

      CollectibleRole.Uid.int:"uid",
      CollectibleRole.ChainId.int:"chainId",
      CollectibleRole.ContractAddress.int:"contractAddress",
      CollectibleRole.TokenId.int:"tokenId",
      CollectibleRole.Name.int:"name",
      CollectibleRole.MediaUrl.int:"mediaUrl",
      CollectibleRole.MediaType.int:"mediaType",
      CollectibleRole.ImageUrl.int:"imageUrl",
      CollectibleRole.BackgroundColor.int:"backgroundColor",
      CollectibleRole.CollectionUid.int:"collectionUid",
      CollectibleRole.CollectionName.int:"collectionName",
      CollectibleRole.CollectionSlug.int:"collectionSlug",
      CollectibleRole.IsLoading.int:"isLoading",
      CollectibleRole.Ownership.int:"ownership",
      CollectibleRole.CommunityId.int:"communityId",
      CollectibleRole.CommunityName.int:"communityName",
      CollectibleRole.CommunityColor.int:"communityColor",
      CollectibleRole.CommunityPrivilegesLevel.int:"communityPrivilegesLevel",
      CollectibleRole.TokenType.int:"tokenType",

@dlipicar Would it be a good idea to add the community image as well in the collectibles model?

Originally posted by @alexjba in https://github.com/status-im/status-desktop/pull/13755#discussion_r1541007322

alexjba avatar Mar 27 '24 14:03 alexjba