Cannot set both current package file and current screenshot
Closed this issue ยท 3 comments
I have recently released a new package here: https://our.umbraco.com/packages/backoffice-extensions/color-pickr/
However it seems we can no longer both set current package file and current screenshot. This current screenshot will be used as package icon in list of packages.
e.g. here: https://our.umbraco.com/packages/
Here I have set the first release as current package (this in used in the big "Download Package" button) on the package page:
I can then go to screenshots and set package icon as current (this will make it used this as package icon in overview).
when I then go back to package the first package release is no longer current package???
and no available from "Download Package" button.
I can however go back to packages and set the first release as current again. This will however remove the package icon from being current, but it seems the package icon still appears in the package list. I guess it just need to set the as current once to set/update the package icon from the default icon or a previous package icon?
Previous I think it was possible to set both current in packages and in screenshots. They should obvious not conflict with each other.
I have always felt the package icon should be a separate property to make it more clear how to set an icon for the package. This could also specify it the icon should be a specific extension, size etc.
Maybe it could with a new "package icon" property use this by default, but fallback to "current" screenshot for now. Or maybe a background job to set the package icon from "current" screenshot?
Sometime in future we could probably only use this property to get the package icon. We could still list the package icon together with the screenshots or maybe we want to re-design the package page a bit, so package icon is shown somewhere else on the package page.
Thanks for reporting this Bjarne!
It is currently not working super well, the package team had plans to revamp the entire create package flow as there are a ton of small bugs like this. #68
Unfortunately we ran into some issues that meant it would be delayed a bit, and we are currently working on Hacktoberfest preparations - however this is something we will return to after or maybe during Hacktoberfest ๐
Cool ๐
Maybe this during Hacktoberfest someone wants to help making Our even better (I guess there's a lot that can be improved) besides of course making Umbraco even more awesome ๐
Anyway I got the package released https://our.umbraco.com/packages/backoffice-extensions/color-pickr/ and made to build the Umbraco package and NuGet package in one click: https://github.com/bjarnef/color-pickr/blob/master/build/build.cmd