From 6738e09443cac005e46305337f2e824ade853f6b Mon Sep 17 00:00:00 2001 From: pizzaboxer Date: Thu, 29 Aug 2024 11:01:00 +0100 Subject: [PATCH] Alterations to how bug reports are handled - New field for log files in issue templates (which the exception dialog will directly fill out) - Exception dialog lets you open the log file directly now that locating it isn't necessary anymore --- .github/ISSUE_TEMPLATE/bug_report.yaml | 7 +++++ Bloxstrap/Resources/Strings.Designer.cs | 27 +++++++------------ Bloxstrap/Resources/Strings.resx | 7 ++--- .../Elements/ContextMenu/MenuContainer.xaml | 2 +- .../UI/Elements/Dialogs/ExceptionDialog.xaml | 2 +- .../Elements/Dialogs/ExceptionDialog.xaml.cs | 8 +++--- 6 files changed, 24 insertions(+), 29 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index 56f01666..e76f2328 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -32,3 +32,10 @@ body: description: Provide a comprehensive description of the problem you're facing. Don't forget to attach any additional resources you may have, such as log files and screenshots. validations: required: true + - type: textarea + id: log + attributes: + label: Bloxstrap Log + description: If you're getting a Bloxstrap Exception error, upload your log file here. Otherwise, just leave it empty. + value: "N/A" + render: text \ No newline at end of file diff --git a/Bloxstrap/Resources/Strings.Designer.cs b/Bloxstrap/Resources/Strings.Designer.cs index 61592fe9..1ce10353 100644 --- a/Bloxstrap/Resources/Strings.Designer.cs +++ b/Bloxstrap/Resources/Strings.Designer.cs @@ -449,15 +449,6 @@ public static string Common_ImportJson { } } - /// - /// Looks up a localized string similar to Locate log file. - /// - public static string Common_LocateLogFile { - get { - return ResourceManager.GetString("Common.LocateLogFile", resourceCulture); - } - } - /// /// Looks up a localized string similar to Miscellaneous. /// @@ -521,6 +512,15 @@ public static string Common_OK { } } + /// + /// Looks up a localized string similar to Open log file. + /// + public static string Common_OpenLogFile { + get { + return ResourceManager.GetString("Common.OpenLogFile", resourceCulture); + } + } + /// /// Looks up a localized string similar to Presets. /// @@ -629,15 +629,6 @@ public static string ContextMenu_CopyDeeplinkInvite { } } - /// - /// Looks up a localized string similar to Open log file. - /// - public static string ContextMenu_OpenLogFile { - get { - return ResourceManager.GetString("ContextMenu.OpenLogFile", resourceCulture); - } - } - /// /// Looks up a localized string similar to Roblox is still launching. A log file will only be available once Roblox launches.. /// diff --git a/Bloxstrap/Resources/Strings.resx b/Bloxstrap/Resources/Strings.resx index 70f23a25..52c7f52e 100644 --- a/Bloxstrap/Resources/Strings.resx +++ b/Bloxstrap/Resources/Strings.resx @@ -226,8 +226,8 @@ Your ReShade configuration files will still be saved, and you can locate them by Import JSON - - Locate log file + + Open log file Miscellaneous @@ -268,9 +268,6 @@ Your ReShade configuration files will still be saved, and you can locate them by Copy invite deeplink - - Open log file - See server details diff --git a/Bloxstrap/UI/Elements/ContextMenu/MenuContainer.xaml b/Bloxstrap/UI/Elements/ContextMenu/MenuContainer.xaml index a926eb4c..88a73803 100644 --- a/Bloxstrap/UI/Elements/ContextMenu/MenuContainer.xaml +++ b/Bloxstrap/UI/Elements/ContextMenu/MenuContainer.xaml @@ -81,7 +81,7 @@ - + diff --git a/Bloxstrap/UI/Elements/Dialogs/ExceptionDialog.xaml b/Bloxstrap/UI/Elements/Dialogs/ExceptionDialog.xaml index 4c1dd33c..1fa1c010 100644 --- a/Bloxstrap/UI/Elements/Dialogs/ExceptionDialog.xaml +++ b/Bloxstrap/UI/Elements/Dialogs/ExceptionDialog.xaml @@ -41,7 +41,7 @@ -