New desktop
Some checks failed
Deploy / deploy-staging (push) Failing after 6s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-06-06 03:20:50 +02:00
parent 756b4e119b
commit 888981c782
127 changed files with 31275 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
<?php
declare(strict_types=1);
namespace Desktop;
final class DesktopState
{
/**
* @return array<string, mixed>
*/
public static function defaultWorkspace(): array
{
return [
'workspace_id' => 'default',
'title' => 'Persoenlicher Desktop',
'supports_public_home' => true,
'supports_multi_workspace' => true,
];
}
/**
* @return array<int, array<string, string>>
*/
public static function defaultWidgets(): 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 array<int, array<string, string>>
*/
public static function trayItems(): array
{
return [
['id' => 'network', 'label' => 'Netzwerk'],
['id' => 'widgets', 'label' => 'Widgets'],
['id' => 'account', 'label' => 'Gast'],
];
}
}