feat(ui): open Mission Control from the title bar

This commit is contained in:
Mika Kuns
2026-06-26 16:11:50 +02:00
parent 283310a3fd
commit b1bd91292f
8 changed files with 44 additions and 3 deletions
+5
View File
@@ -1,5 +1,6 @@
using System;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Markup.Xaml;
using ClaudeDo.Ui.Services;
@@ -32,6 +33,10 @@ public partial class App : Application
FocusClearing.Install();
// The main window is authoritative — closing it shuts the app down even if the
// modeless Mission Control window is still open.
desktop.ShutdownMode = ShutdownMode.OnMainWindowClose;
desktop.MainWindow = new MainWindow
{
DataContext = services.GetRequiredService<IslandsShellViewModel>(),