WIP: Vendoo 1.44.0 – UX Foundation & Guided Workspaces #29

Draft
Masterluke77 wants to merge 284 commits from release/1.44.0-ux-foundation-production-update-v1 into main
Showing only changes of commit e434a3d7d0 - Show all commits
+19 -1
View File
@@ -18,6 +18,23 @@
}
}
function loadActionRegistryAssets() {
if (!document.querySelector('link[data-ux-action-registry]')) {
const stylesheet = document.createElement('link');
stylesheet.rel = 'stylesheet';
stylesheet.href = '/action-registry.css?v=1.44.0';
stylesheet.setAttribute('data-ux-action-registry', 'style');
document.head.append(stylesheet);
}
if (!document.querySelector('script[data-ux-action-registry]')) {
const script = document.createElement('script');
script.src = '/action-registry.js?v=1.44.0';
script.async = false;
script.setAttribute('data-ux-action-registry', 'script');
document.body.append(script);
}
}
function loadGlobalNavigationAssets() {
if (!document.querySelector('link[data-ux-global-navigation]')) {
const stylesheet = document.createElement('link');
@@ -36,6 +53,7 @@
}
loadCommandPlatformAssets();
loadActionRegistryAssets();
loadGlobalNavigationAssets();
const moduleRoot = document.getElementById('admin-modules-panel');
@@ -227,4 +245,4 @@
setupModules();
setupExtensions();
})();
})();