Merge claude/1

This commit is contained in:
librelad 2026-05-30 21:34:18 +01:00
commit 547970b1b4
19 changed files with 17 additions and 17 deletions

View File

@ -31,7 +31,7 @@ LP.features.register({
'/components/backup/configuration/js/backup-configuration.js',
'/components/backup/configuration/js/backup-retention-presets.js',
'/components/backup/configuration/js/backup-engine-details.js',
'/core/ui/backup-app-card.js',
'/core/backup-card/backup-app-card.js',
],
async mount(ctx) {

View File

@ -69,9 +69,9 @@ class SystemLoader {
global: null,
dependencies: [],
scripts: [
'/core/ui/topbar.js',
'/core/ui/update-notifier.js',
'/core/ui/mobile-menu.js'
'/core/topbar/topbar.js',
'/core/update-notifier/update-notifier.js',
'/core/topbar/mobile-menu.js'
]
});
@ -89,7 +89,7 @@ class SystemLoader {
},
global: null,
dependencies: [],
script: '/core/ui/confirmation-dialog.js'
script: '/core/overlays/confirmation-dialog.js'
});
// Notifications
@ -106,7 +106,7 @@ class SystemLoader {
},
global: 'notificationSystem',
dependencies: [],
script: '/core/ui/notifications.js'
script: '/core/notifications/notifications.js'
});
// Dashboard
@ -209,7 +209,7 @@ class SystemLoader {
scripts: [
'/components/apps/port-manager/js/port-manager.js',
'/core/tasks/task-manager.js', // Add TaskManager for backup functionality
'/core/ui/backup-app-card.js',
'/core/backup-card/backup-app-card.js',
'/components/apps/services/js/services-manager.js',
'/components/apps/tools/js/tools-manager.js',
'/components/apps/routing/js/routing-manager.js',

View File

@ -369,7 +369,7 @@ class LibrePortalSPAClean {
// loadScript is idempotent — subsequent /backup navigations are no-ops.
await Promise.all([
this.loadScript('/components/backup/core/js/backup-page.js'),
this.loadScript('/core/ui/backup-app-card.js')
this.loadScript('/core/backup-card/backup-app-card.js')
]);
const html = await this.fetchContent('/components/backup/core/html/backup-content.html');
this.loadContent(html, 'Backups');

View File

@ -50,7 +50,7 @@ class TopbarComponent {
// Load fresh topbar HTML
try {
//// // console.log('Loading topbar HTML (SPA mode)');
const response = await fetch('/core/ui/topbar.html');
const response = await fetch('/core/topbar/topbar.html');
if (!response.ok) {
throw new Error(`Failed to load topbar: ${response.status}`);
}

View File

@ -67,8 +67,8 @@
})();
</script>
<script src="/core/theme/theme-registry.js"></script>
<script src="/core/boot/controls/custom-select.js"></script>
<script src="/core/boot/controls/custom-number.js"></script>
<script src="/core/forms/controls/custom-select.js"></script>
<script src="/core/forms/controls/custom-number.js"></script>
</head>
<body>
<!-- Topbar Container -->
@ -85,7 +85,7 @@
<!-- Scripts -->
<!-- Auth must load first — gates all other initialization -->
<script src="/core/boot/auth-manager.js"></script>
<script src="/core/boot/auth/auth-manager.js"></script>
<!-- Essential Bootstrap -->
<!-- LpUi runs first so body.lp-ui--advanced / lp-ui--dev are set
before any page/component renders → no FOUC of advanced sections. -->
@ -95,14 +95,14 @@
<script src="/core/data-loader/data-loader.js"></script>
<script src="/core/live/live-system.js"></script>
<script src="/core/ui-state/dismissible.js"></script>
<script src="/core/ui/eo-modal.js"></script>
<script src="/core/overlays/eo-modal.js"></script>
<script src="/core/tasks/task-refresh-coordinator.js"></script>
<script src="/components/dashboard/js/dashboard.js"></script>
<script src="/core/boot/system-loader.js"></script>
<script src="/core/boot/loading-ui.js"></script>
<script src="/core/boot/setup/setup-detector.js"></script>
<script src="/core/boot/setup/setup-wizard.js"></script>
<script src="/core/boot/setup/setup-completion-watcher.js"></script>
<script src="/core/loading/loading-ui.js"></script>
<script src="/core/setup/setup-detector.js"></script>
<script src="/core/setup/setup-wizard.js"></script>
<script src="/core/setup/setup-completion-watcher.js"></script>
<script src="/core/boot/system-orchestrator.js"></script>
<!-- Feature-module kernel. Currently passive: defines window.LP.features and
loads the page manifest; spa.js consults it for routing. See