adasd
All checks were successful
Deploy / deploy-staging (push) Successful in 7s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-06-07 00:51:49 +02:00
parent 08c0edc68b
commit e1d16d818d
8 changed files with 724 additions and 39 deletions

View File

@@ -20,22 +20,11 @@ final class DesktopState
}
/**
* @return array<int, array<string, string>>
* @return array<int, string>
*/
public static function defaultWidgets(): array
public static function defaultWidgetIds(): array
{
return [
[
'widget_id' => 'public-home',
'title' => 'Public Home',
'content' => 'Oeffentliches Dashboard als Startzustand fuer nicht eingeloggte Nutzer.',
],
[
'widget_id' => 'personal-links',
'title' => 'Persoenliche Links',
'content' => 'Platzhalter fuer spaetere user-spezifische Linklisten und Dashboards.',
],
];
return ['public-home', 'personal-links', 'system-status'];
}
/**
@@ -49,4 +38,28 @@ final class DesktopState
['id' => 'account', 'label' => 'Gast'],
];
}
/**
* @return array<int, array<string, string>>
*/
public static function quickActions(): array
{
return [
[
'action_id' => 'open-public-dashboard',
'label' => 'Public Dashboard',
'description' => 'Oeffnet die oeffentliche Startansicht als Fenster.',
],
[
'action_id' => 'toggle-all-widgets',
'label' => 'Widgets umschalten',
'description' => 'Blendet alle registrierten Widgets ein oder aus.',
],
[
'action_id' => 'cycle-skin',
'label' => 'Skin wechseln',
'description' => 'Wechselt zyklisch zwischen Windows, Apple und Linux.',
],
];
}
}