From 5e27486b1847de40dcdebb7019ecb25515a71968 Mon Sep 17 00:00:00 2001 From: mika kuns Date: Fri, 24 Jul 2026 11:55:29 +0200 Subject: [PATCH] =?UTF-8?q?=EF=BB=BFchore(claude-do):=20Update=20notif=20p?= =?UTF-8?q?opup=20is=20still=20not=20in=20the=20bottom=20Right=20hand=20co?= =?UTF-8?q?r?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit THe update notification should be in the Bottom Rught hand corner as a Small Popup card. IT should have the Update and Dismiss Butotns. It should only show when there is a new Update available, not if everything is up to date ClaudeDo-Task: c14606f009e44e4ba04bfe5bcbc884ad --- .../ViewModels/IslandsShellViewModel.cs | 11 --- src/ClaudeDo.Ui/Views/MainWindow.axaml | 75 +++++++++---------- 2 files changed, 34 insertions(+), 52 deletions(-) diff --git a/src/ClaudeDo.Ui/ViewModels/IslandsShellViewModel.cs b/src/ClaudeDo.Ui/ViewModels/IslandsShellViewModel.cs index 8066f6c4..2910ebe8 100644 --- a/src/ClaudeDo.Ui/ViewModels/IslandsShellViewModel.cs +++ b/src/ClaudeDo.Ui/ViewModels/IslandsShellViewModel.cs @@ -97,7 +97,6 @@ public sealed partial class IslandsShellViewModel : ViewModelBase, IDisposable [ObservableProperty] private bool _isUpdateBannerVisible; [ObservableProperty] private string? _updateBannerLatestVersion; - [ObservableProperty] private string? _inlineUpdateStatus; private bool _bannerDismissedThisSession; [ObservableProperty] @@ -305,25 +304,15 @@ public sealed partial class IslandsShellViewModel : ViewModelBase, IDisposable if (_bannerDismissedThisSession) { IsUpdateBannerVisible = false; break; } UpdateBannerLatestVersion = _updateCheck.LatestVersion; IsUpdateBannerVisible = true; - InlineUpdateStatus = null; break; case UpdateCheckStatus.UpToDate: IsUpdateBannerVisible = false; - ShowInlineStatus($"You're up to date (v{_updateCheck.CurrentVersion})"); break; case UpdateCheckStatus.CheckFailed: - ShowInlineStatus("Could not check for updates"); break; } } - private async void ShowInlineStatus(string text) - { - InlineUpdateStatus = text; - await Task.Delay(3000); - if (InlineUpdateStatus == text) InlineUpdateStatus = null; - } - [RelayCommand] private void OpenMissionControl() { diff --git a/src/ClaudeDo.Ui/Views/MainWindow.axaml b/src/ClaudeDo.Ui/Views/MainWindow.axaml index b895b2ad..b2b70245 100644 --- a/src/ClaudeDo.Ui/Views/MainWindow.axaml +++ b/src/ClaudeDo.Ui/Views/MainWindow.axaml @@ -22,7 +22,7 @@ - + - - - - - - - - - -