diff --git a/.gitignore b/.gitignore index c9eafe71..cf85fe3c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Umsetzungsanweisung/Old-Nexus/ +data/ diff --git a/config/apps.php b/config/apps.php index 7d8c4f84..bf724e90 100644 --- a/config/apps.php +++ b/config/apps.php @@ -42,6 +42,20 @@ return [ 'module_name' => 'desktop', 'summary' => 'Vorbereitung fuer mehrere persoenliche Dashboards und Workspace-Verwaltung.', ], + [ + 'app_id' => 'user-self-management', + 'title' => 'User Self Management', + 'icon' => 'US', + 'entry_route' => '/apps/user-self-management', + 'window_mode' => 'window', + 'content_mode' => 'native-module', + 'default_width' => 980, + 'default_height' => 700, + 'supports_widget' => true, + 'supports_tray' => false, + 'module_name' => 'desktop', + 'summary' => 'Persoenliche Einstellungen fuer Desktop-Typ, Benutzerdaten, Apps und Widgets in einem gemeinsamen Setup-Bereich.', + ], [ 'app_id' => 'admin-apps', 'title' => 'Admin Apps', diff --git a/config/widgets.php b/config/widgets.php index 93f25507..25782d12 100644 --- a/config/widgets.php +++ b/config/widgets.php @@ -3,6 +3,18 @@ declare(strict_types=1); return [ + [ + 'widget_id' => 'setup-launcher', + 'title' => 'Setup', + 'icon' => 'ST', + 'zone' => 'sidebar', + 'default_enabled' => true, + 'supports_public_home' => true, + 'summary' => 'Startet die persoenlichen Desktop-Einstellungen fuer Skin, Apps, Widgets und Benutzerdaten.', + 'content' => 'Oeffnet den zentralen Setup-Bereich mit linker Navigation und lokaler Persistenz pro Benutzer.', + 'launch_app_id' => 'user-self-management', + 'action_label' => 'Setup oeffnen', + ], [ 'widget_id' => 'public-home', 'title' => 'Public Home', diff --git a/partials/desktop/shell.php b/partials/desktop/shell.php index 55a7f53c..82b1152b 100644 --- a/partials/desktop/shell.php +++ b/partials/desktop/shell.php @@ -21,10 +21,14 @@ $assetVersion = static function (string $publicPath): string { }; $hasMiningChecker = false; +$hasUserSelfManagement = false; foreach ($desktopPayload['apps'] as $desktopApp) { if (($desktopApp['app_id'] ?? null) === 'mining-checker') { $hasMiningChecker = true; - break; + } + + if (($desktopApp['app_id'] ?? null) === 'user-self-management') { + $hasUserSelfManagement = true; } } @@ -71,8 +75,6 @@ $renderStartIcon = static function (array $profile): string { Fenster
@@ -135,7 +137,6 @@ $renderStartIcon = static function (array $profile): string { Logout - @@ -156,5 +157,9 @@ $renderStartIcon = static function (array $profile): string { + + + +