From d319fc19f9b5e322e54053debfc5c6506e31aa67 Mon Sep 17 00:00:00 2001 From: achiez Date: Wed, 8 Oct 2025 18:08:38 +0300 Subject: [PATCH] Refine UX, fix auth crash, and revert to .NET 8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Reverted target framework to .NET 8.0 for stability. - Added autofocus to all dialog input fields (e.g. password dialogs). - Fixed crash when relogging into accounts without Steam Guard and added proper error message. - Unified and improved “Confirm Action” dialog design and text clarity. - Added setting to disable ripple effect animations for better performance. - Reduced minimum auto-confirmation timer interval from 10s to 5s. - App now auto-selects the most appropriate language on first launch. - Added trimming to proxy parse input - Fixed incorrect hint about maFile binding when using login-based mode. - Added ESC key behavior to remove focus from account search - Minor UI polish and cleanup across dialogs. --- .gitignore | 4 +- changelog/1.7.4.html | 2 +- .../NebulaAuth.LegacyConverter.csproj | 2 +- src/NebulaAuth/MainWindow.xaml | 11 ++- src/NebulaAuth/MainWindow.xaml.cs | 6 ++ src/NebulaAuth/Model/MaClient.cs | 4 +- src/NebulaAuth/Model/Settings.cs | 4 + src/NebulaAuth/NebulaAuth.csproj | 2 +- src/NebulaAuth/PlannedChanges.txt | 11 --- src/NebulaAuth/Utility/ExceptionHandler.cs | 21 ++++ src/NebulaAuth/Utility/LanguageUtility.cs | 36 +++++++ .../View/Dialogs/ConfirmCancelDialog.xaml | 96 ++++++++++++++----- .../View/Dialogs/LoginAgainDialog.xaml | 2 +- .../Dialogs/LoginAgainOnImportDialog.xaml | 2 +- .../View/Dialogs/SetCryptPasswordDialog.xaml | 2 +- .../View/Dialogs/WaitLoginDialog.xaml | 3 +- src/NebulaAuth/View/LinkerStepTemplates.xaml | 1 + .../View/MafileMoverStepTemplates.xaml | 1 + src/NebulaAuth/View/ProxyManagerView.xaml | 1 + src/NebulaAuth/View/SettingsView.xaml | 32 ++++--- .../ViewModel/Linker/LinkAccountVM.cs | 7 +- .../Linker/Steps/[7]LinkAccountDoneStepVM.cs | 19 +--- src/NebulaAuth/ViewModel/MainVM.cs | 1 - src/NebulaAuth/ViewModel/MainVM_MAAC.cs | 6 +- .../ViewModel/Other/ProxyManagerVM.cs | 1 + src/NebulaAuth/ViewModel/Other/SettingsVM.cs | 6 ++ src/NebulaAuth/localization.loc.json | 62 +++++++++--- src/SteamLibForked/SteamLibForked.csproj | 8 +- src/SteamLibForked/Utility/SteamIdParser.cs | 16 ++-- 29 files changed, 258 insertions(+), 111 deletions(-) delete mode 100644 src/NebulaAuth/PlannedChanges.txt create mode 100644 src/NebulaAuth/Utility/LanguageUtility.cs diff --git a/.gitignore b/.gitignore index 9491a2f..ce61fe3 100644 --- a/.gitignore +++ b/.gitignore @@ -360,4 +360,6 @@ MigrationBackup/ .ionide/ # Fody - auto-generated XML schema -FodyWeavers.xsd \ No newline at end of file +FodyWeavers.xsd + +todo/ \ No newline at end of file diff --git a/changelog/1.7.4.html b/changelog/1.7.4.html index 33fe816..2720e04 100644 --- a/changelog/1.7.4.html +++ b/changelog/1.7.4.html @@ -76,7 +76,7 @@ t.me/nebulaauth -
  • FIX: Resolved issue where a "Confirmation Error" notification appeared despite the confirmation being successful.
  • +
  • FIX: Resolved issue where a "Confirmation Error" notification appeared despite the confirmation being successful.
  • diff --git a/src/NebulaAuth.LegacyConverter/NebulaAuth.LegacyConverter.csproj b/src/NebulaAuth.LegacyConverter/NebulaAuth.LegacyConverter.csproj index e1632f6..fa02bbb 100644 --- a/src/NebulaAuth.LegacyConverter/NebulaAuth.LegacyConverter.csproj +++ b/src/NebulaAuth.LegacyConverter/NebulaAuth.LegacyConverter.csproj @@ -2,7 +2,7 @@ Exe - net9.0 + net8.0 enable enable diff --git a/src/NebulaAuth/MainWindow.xaml b/src/NebulaAuth/MainWindow.xaml index df97241..9050177 100644 --- a/src/NebulaAuth/MainWindow.xaml +++ b/src/NebulaAuth/MainWindow.xaml @@ -18,7 +18,8 @@ FontFamily="{md:MaterialDesignFont}" TextElement.Foreground="{DynamicResource BaseContentBrush}" mc:Ignorable="d" - d:DataContext="{d:DesignInstance viewModel:MainVM}"> + d:DataContext="{d:DesignInstance viewModel:MainVM}" + md:RippleAssist.IsDisabled="{Binding Settings.RippleDisabled}"> @@ -63,6 +64,7 @@ + + @@ -173,6 +176,7 @@ ToolTip="{Tr MainWindow.AppBar.Proxy.ProxyAlert.DefaultInUse}" ToolTipService.InitialShowDelay="300" Visibility="{Binding IsDefaultProxy, Converter={StaticResource BooleanToVisibilityConverter}}" /> + + Text="{Binding SearchText, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" + x:Name="SearchField" + KeyDown="SearchField_OnKeyDown" /> @@ -382,7 +388,6 @@ Grid.Row="1" Height="4" Style="{StaticResource MaterialDesignLinearProgressBar}" MaxTime="30" TimeRemaining="{Binding CodeProgress, Mode=OneWay}" /> - - + CommandParameter="{StaticResource True}"> + ОК + + + \ No newline at end of file diff --git a/src/NebulaAuth/View/Dialogs/LoginAgainDialog.xaml b/src/NebulaAuth/View/Dialogs/LoginAgainDialog.xaml index 0a02b2a..5ab7aa3 100644 --- a/src/NebulaAuth/View/Dialogs/LoginAgainDialog.xaml +++ b/src/NebulaAuth/View/Dialogs/LoginAgainDialog.xaml @@ -45,7 +45,7 @@ - - - diff --git a/src/NebulaAuth/View/Dialogs/WaitLoginDialog.xaml b/src/NebulaAuth/View/Dialogs/WaitLoginDialog.xaml index eb8c40d..4e62dd9 100644 --- a/src/NebulaAuth/View/Dialogs/WaitLoginDialog.xaml +++ b/src/NebulaAuth/View/Dialogs/WaitLoginDialog.xaml @@ -28,7 +28,8 @@ - + diff --git a/src/NebulaAuth/View/LinkerStepTemplates.xaml b/src/NebulaAuth/View/LinkerStepTemplates.xaml index 5921781..4d9ff20 100644 --- a/src/NebulaAuth/View/LinkerStepTemplates.xaml +++ b/src/NebulaAuth/View/LinkerStepTemplates.xaml @@ -11,6 +11,7 @@ diff --git a/src/NebulaAuth/View/SettingsView.xaml b/src/NebulaAuth/View/SettingsView.xaml index 0f048fb..2361d5a 100644 --- a/src/NebulaAuth/View/SettingsView.xaml +++ b/src/NebulaAuth/View/SettingsView.xaml @@ -8,7 +8,8 @@ mc:Ignorable="d" d:DesignHeight="650" FontFamily="{materialDesign:MaterialDesignFont}" - MinHeight="600" + MinHeight="400" + MaxHeight="600" MinWidth="400" MaxWidth="400" d:DataContext="{d:DesignInstance other:SettingsVM}" @@ -46,7 +47,7 @@ - + - + + + - - - + IsChecked="{Binding ApplyBlurBackground}" + FontSize="15" /> +