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

This commit is contained in:
2026-06-07 01:30:02 +02:00
parent 0395c790f3
commit 541d411009
2 changed files with 6 additions and 27 deletions

View File

@@ -16,29 +16,6 @@ final class WindowManager
*/
public function defaultWindows(): array
{
$defaults = ['welcome-center', 'public-dashboard'];
$windows = [];
foreach ($defaults as $index => $appId) {
$app = $this->registry->find($appId);
if ($app === null) {
continue;
}
$windows[] = [
'window_id' => 'window-' . $appId,
'app_id' => $appId,
'title' => $app['title'],
'state' => $index === 0 ? 'focused' : 'open',
'x' => 72 + ($index * 48),
'y' => 84 + ($index * 36),
'width' => $app['default_width'] ?? 640,
'height' => $app['default_height'] ?? 420,
'content' => $app['summary'] ?? '',
];
}
return $windows;
return [];
}
}