Need suggestions how to properly treat the widgets.
Let’s say I installed a widget from the marketplace, then customized it somehow. So far so good. However, when the new version arrives, will it overwrite my edits? If so, how can I manage this in a sane way? Keeping diffs in a secret place is probably not the best way to solve it.
And, generally, how custom widgets are supposed to be managed? Especially if I want to use a marketplace widget as a template? Thanks!
Updates are not automatically pushed. You have to remove the widget and then reinstall it from the marketplace to get the updates. You are in full control. If you are happy with the widget as it is now with your edits, you need never update it at all.
If there is a change to the widget that you must include in yours, the options are to copy the code for your version somewhere, remove it, then reinstall from the marketpalce and remake your edits. Or you can review what’s changed to the posted widget and manually make those changes to your widget.
If you want to keep your edited widget and the original posted widget separate, after installing the widget you can copy the code, create a new widget with a new ID and paste the copied code and save. This will create your own copy of the widget to edit while preserving the original.
What ever makes sense to you. There is no right or wrong way to do it.