With this, the user can create vanilla JavaScript methods that can be called from anywhere in the application.
This basically allows one to extend Cockpit capabilities to the infinite and beyond.
I also exposed the cockpit-actions and data-lake methods globally, so the user can call those from their functions. They are accessible under window.cockpit.
Once we merge the DIY widget, I will change the current v-text-field with a proper Monaco editor.
With this, the user can create vanilla JavaScript methods that can be called from anywhere in the application. This basically allows one to extend Cockpit capabilities to the infinite and beyond.
I also exposed the cockpit-actions and data-lake methods globally, so the user can call those from their functions. They are accessible under
window.cockpit
.Once we merge the DIY widget, I will change the current
v-text-field
with a proper Monaco editor.Fix #569