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-configuration.js',
'/components/backup/configuration/js/backup-retention-presets.js', '/components/backup/configuration/js/backup-retention-presets.js',
'/components/backup/configuration/js/backup-engine-details.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) { async mount(ctx) {

View File

@ -69,9 +69,9 @@ class SystemLoader {
global: null, global: null,
dependencies: [], dependencies: [],
scripts: [ scripts: [
'/core/ui/topbar.js', '/core/topbar/topbar.js',
'/core/ui/update-notifier.js', '/core/update-notifier/update-notifier.js',
'/core/ui/mobile-menu.js' '/core/topbar/mobile-menu.js'
] ]
}); });
@ -89,7 +89,7 @@ class SystemLoader {
}, },
global: null, global: null,
dependencies: [], dependencies: [],
script: '/core/ui/confirmation-dialog.js' script: '/core/overlays/confirmation-dialog.js'
}); });
// Notifications // Notifications
@ -106,7 +106,7 @@ class SystemLoader {
}, },
global: 'notificationSystem', global: 'notificationSystem',
dependencies: [], dependencies: [],
script: '/core/ui/notifications.js' script: '/core/notifications/notifications.js'
}); });
// Dashboard // Dashboard
@ -209,7 +209,7 @@ class SystemLoader {
scripts: [ scripts: [
'/components/apps/port-manager/js/port-manager.js', '/components/apps/port-manager/js/port-manager.js',
'/core/tasks/task-manager.js', // Add TaskManager for backup functionality '/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/services/js/services-manager.js',
'/components/apps/tools/js/tools-manager.js', '/components/apps/tools/js/tools-manager.js',
'/components/apps/routing/js/routing-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. // loadScript is idempotent — subsequent /backup navigations are no-ops.
await Promise.all([ await Promise.all([
this.loadScript('/components/backup/core/js/backup-page.js'), 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'); const html = await this.fetchContent('/components/backup/core/html/backup-content.html');
this.loadContent(html, 'Backups'); this.loadContent(html, 'Backups');

View File

@ -50,7 +50,7 @@ class TopbarComponent {
// Load fresh topbar HTML // Load fresh topbar HTML
try { try {
//// // console.log('Loading topbar HTML (SPA mode)'); //// // 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) { if (!response.ok) {
throw new Error(`Failed to load topbar: ${response.status}`); throw new Error(`Failed to load topbar: ${response.status}`);
} }

View File

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