Hi,
I've been developing the app for my company and I stuck with the issues I can't go ahead with.
Quick overview: the app is self-hosted, it has installation and data exchange API. It also has embedded script extension (which installs to the site on app installation) and widget that is actually a regular button, but it should be processed with our embedded script once detected on a page. Also this widget has settings that use data from our API (drop down options), so API request is required to connect the widget settings with the API.
So the issues are:
1) The button that is inside our widget is fully accessible in the Editor and sometimes it's confusing that it's settings appear instead of the widget settings. Is it possible to block widget content (buttons, other elements) from modification?
2) Http query from Velo code to our API is not perfect in my opinion. Is there an example of how to make this calls properly?
3) Image (it's url) is required for out button settings, so I wanted to add an image selector as an input to the widget' settings somehow to add an ability for the user to select an image from the media library. But the only way to do so is to add thumbnails element and hardcode an image url there. Is there a way to have a proper media library selector in a Custom panel?
Thanks in advance