From 7db9edaae9332099aebaef6d84799641a4dc5804 Mon Sep 17 00:00:00 2001 From: Enes Efe Tokta Date: Wed, 20 Aug 2025 02:54:59 +0300 Subject: [PATCH 1/4] Update App.xaml.cs --- FinTrack/App.xaml.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/FinTrack/App.xaml.cs b/FinTrack/App.xaml.cs index cea8ae9..a03b4be 100644 --- a/FinTrack/App.xaml.cs +++ b/FinTrack/App.xaml.cs @@ -110,7 +110,7 @@ protected override async void OnStartup(StartupEventArgs e) await _host.StartAsync(); var logger = _host.Services.GetRequiredService>(); - logger.LogInformation("Uygulama başlatıldı ve Host çalışıyor."); + logger.LogInformation("Application started and Host is running."); var window = _host.Services.GetRequiredService(); window.Show(); @@ -123,9 +123,9 @@ private void SetupGlobalExceptionHandling() DispatcherUnhandledException += (sender, e) => { var logger = _host.Services.GetRequiredService>(); - logger.LogCritical(e.Exception, "YAKALANAMAYAN UI HATASI!"); + logger.LogCritical(e.Exception, "UNHANDLED UI EXCEPTION!"); - MessageBox.Show("Beklenmedik bir hata oluştu. Uygulama kapanacak. Detaylar log dosyasına yazıldı.", "Kritik Hata", MessageBoxButton.OK, MessageBoxImage.Error); + MessageBox.Show("An unexpected error occurred. The application will close. Details have been written to the log file.", "Critical Error", MessageBoxButton.OK, MessageBoxImage.Error); e.Handled = true; Shutdown(); }; @@ -133,7 +133,7 @@ private void SetupGlobalExceptionHandling() AppDomain.CurrentDomain.UnhandledException += (sender, e) => { var logger = _host.Services.GetRequiredService>(); - logger.LogCritical(e.ExceptionObject as Exception, "YAKALANAMAYAN ARKA PLAN HATASI!"); + logger.LogCritical(e.ExceptionObject as Exception, "UNHANDLED BACKGROUND EXCEPTION!"); }; } From a087d35433c1edc2131f8ae44fd4a7704b79ab52 Mon Sep 17 00:00:00 2001 From: Enes Efe Tokta Date: Wed, 20 Aug 2025 23:55:54 +0300 Subject: [PATCH 2/4] feat(AuthenticatorWindow): Enhance AuthenticatorWindow UI with drop shadow and margin Increased window height to 620, added a green DropShadowEffect and margin to the main border for improved visual appearance. --- FinTrack/Views/AuthenticatorWindow.xaml | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/FinTrack/Views/AuthenticatorWindow.xaml b/FinTrack/Views/AuthenticatorWindow.xaml index f3a87c3..d17f0e8 100644 --- a/FinTrack/Views/AuthenticatorWindow.xaml +++ b/FinTrack/Views/AuthenticatorWindow.xaml @@ -6,10 +6,9 @@ xmlns:views="clr-namespace:FinTrackForWindows.Views" xmlns:viewmodels="clr-namespace:FinTrackForWindows.ViewModels" mc:Ignorable="d" - Title="FinTrack" Height="600" Width="450" + Title="FinTrack" Height="620" Width="450" WindowStartupLocation="CenterScreen" - - WindowStyle="None" + WindowStyle="None" AllowsTransparency="True" Background="Transparent" ResizeMode="NoResize"> @@ -35,7 +34,16 @@ + BorderThickness="1" + Margin="20"> + + + + @@ -47,13 +55,13 @@ - + -