LinusEkstrom / AddOn.Episerver.Settings

This Episerver addon tries to bring a standardized way of managing settings for Episerver solutions.
MIT License
11 stars 6 forks source link

Do not see "commerce" assets pane #71

Closed VaclavRoncka closed 12 months ago

VaclavRoncka commented 12 months ago

Hi, is it possible to see the Commerce assets pane when using this settings addon? How to set it up? Thank you :) image

LinusEkstrom commented 12 months ago

@vansterhant Do you know what's needed to be able to add cms and commerce gadgets in the "add gadgets" dialog?

vansterhant commented 12 months ago

hmm, I'm guessing a bit, but it can be the filtering categories that is supplied to the dialog.

looking at the code for the global view, there is nothing set for ComponentCategories

image

with a bit of luck updating that property with some magic strings would allow the dialog to show a selection of gadgets?!

vansterhant commented 12 months ago

@LinusEkstrom did an investigation and by adding some categories and making the right pane into a user customizable version it is possible to manually add gadgets. Have a look at the commit above. The question is if/which drawbacks there are to storing personalized data for this view?

LinusEkstrom commented 12 months ago

I don't see any problem with that @vansterhant as long as you still can reset the view.

LinusEkstrom commented 12 months ago

Hi @VaclavRoncka . We've built a new version with the support to add gadgets in the side bar, in the same way that it works in the CMS view. Once the new version has been accepted to the Optimizely Nuget feed you should be able to test this out.

VaclavRoncka commented 12 months ago

Hello guys! Thank you very much for such fast fix and the addon it self (we really like it!) 👍 I will test it and let you know...

LinusEkstrom commented 12 months ago

@VaclavRoncka Great to hear, and thank you for the great report that was easy to understand. This addon has been built brick by brick during almost 10 years now by small additions like this :)

VaclavRoncka commented 11 months ago

Hello, I just tested the "latest" nuget version and: Your change enabled the possibility to add "gadgets" (it was originally "empty") which is great! But there is still no "catalogs" menu => missing the possibility to drag and drop "commerce" content to the settings :( Looks like the "catalogs" is not a gadget.

image

LinusEkstrom commented 11 months ago

@vansterhant Do you have time to look into this?