From 31304b9db27cfe60ac8d36e8a5af80206ac876c6 Mon Sep 17 00:00:00 2001 From: NeoCoderMatrix86 <40752681+NeoCoderMatrix86@users.noreply.github.com> Date: Wed, 10 Apr 2024 09:57:10 +0200 Subject: [PATCH 01/46] Menu is now responsive --- .../Resources/Localization/MainLayout/de.json | 9 +- .../Resources/Localization/MainLayout/en.json | 9 +- .../Localization/OptionsDialog/de.json | 2 +- .../Localization/OptionsDialog/en.json | 2 +- AudioCuesheetEditor/Shared/MainLayout.razor | 178 +++++++++++------- 5 files changed, 121 insertions(+), 79 deletions(-) diff --git a/AudioCuesheetEditor/Resources/Localization/MainLayout/de.json b/AudioCuesheetEditor/Resources/Localization/MainLayout/de.json index d1b08919..6423b557 100644 --- a/AudioCuesheetEditor/Resources/Localization/MainLayout/de.json +++ b/AudioCuesheetEditor/Resources/Localization/MainLayout/de.json @@ -11,8 +11,8 @@ "Please check processinghints for errors, otherwise the file is not exportable: {0}": "Bitte prüfen sie die Bearbeitungshinweise auf Fehler. Andernfalls ist Datei nicht exportierbar: {0}", "Download cuesheet": "Cuesheet herunterladen", "Save project": "Projekt speichern", - "Open exportprofiles": "Export Profile anzeigen", - "Select ViewMode": "Anzeigemodus auswählen", + "Open exportprofiles": "Exportprofile anzeigen", + "ViewMode": "Anzeigemodus", "Reset": "Zurücksetzen", "Delete all tracks": "Alle Titel löschen", "Reset cuesheet": "Cuesheet zurücksetzen", @@ -26,7 +26,7 @@ "Do you really want to delete all tracks? This can not be reversed.": "Möchten Sie wirklich alle Titel löschen? Dies kann nicht rückgängig gemacht werden.", "Confirm restart of application. All unsaved changes are lost!": "Bitte Bestätigen Sie, dass die komplette Anwendung neugestartet werden soll. Alle ungespeicherten Änderungen werden dadurch verloren!", "Confirm reset of application. All unsaved changes are lost and the application is reloaded!": "Bitte Bestätigen Sie, dass die komplette Anwendung auf Werkseinstellungen zurückgesetzt werden soll. Alle Daten werden gelöscht und die Anwedung neu geladen. Alle nicht gespeicherten Daten sind gelöscht!", - "ViewModeFull": "Komplette Bearbeitung", + "ViewModeFull": "Detailbearbeitung", "ViewModeRecord": "Aufnahmemodus", "ViewModeImport": "Import Assistent", "Undo": "Rückgängig", @@ -71,6 +71,7 @@ "PreGap": "Vorlücke", "PostGap": "Nachlücke", "Error details": "Fehlerdetails", - "Reload application": "Applikation neu laden" + "Reload application": "Applikation neu laden", + "Options": "Optionen" } } \ No newline at end of file diff --git a/AudioCuesheetEditor/Resources/Localization/MainLayout/en.json b/AudioCuesheetEditor/Resources/Localization/MainLayout/en.json index c1c490d8..20138987 100644 --- a/AudioCuesheetEditor/Resources/Localization/MainLayout/en.json +++ b/AudioCuesheetEditor/Resources/Localization/MainLayout/en.json @@ -11,8 +11,8 @@ "Please check processinghints for errors, otherwise the file is not exportable: {0}": "Please check processinghints for errors, otherwise the file is not exportable: {0}", "Download cuesheet": "Download cuesheet", "Save project": "Save project", - "Open exportprofiles": "Display Export Profiles", - "Select ViewMode": "Select viewmode", + "Open exportprofiles": "Display Exportprofiles", + "ViewMode": "Viewmode", "Reset": "Reset", "Delete all tracks": "Delete all tracks", "Reset cuesheet": "Reset cuesheet", @@ -28,7 +28,7 @@ "Confirm reset of application. All unsaved changes are lost and the application is reloaded!": "Please confirm, that you want to reset the whole application. All data will be reset and the application will be reloaded. Every unchanged data will be lost!", "ViewModeFull": "Full edit mode", "ViewModeRecord": "Live record mode", - "ViewModeImport": "Import assistant mode", + "ViewModeImport": "Import assistant", "Undo": "Undo", "Redo": "Redo", "Tools": "Tools", @@ -71,6 +71,7 @@ "PreGap": "Pregap", "PostGap": "Postgap", "Error details": "Error details", - "Reload application": "Reload application" + "Reload application": "Reload application", + "Options": "Options" } } \ No newline at end of file diff --git a/AudioCuesheetEditor/Resources/Localization/OptionsDialog/de.json b/AudioCuesheetEditor/Resources/Localization/OptionsDialog/de.json index 1931284a..af0e6203 100644 --- a/AudioCuesheetEditor/Resources/Localization/OptionsDialog/de.json +++ b/AudioCuesheetEditor/Resources/Localization/OptionsDialog/de.json @@ -6,7 +6,7 @@ "Record settings": "Aufnahme Einstellungen", "Culture setting": "Sprache wählen", "Default viewmode": "Standard Anzeigemodus", - "ViewModeFull": "Komplette Bearbeitung", + "ViewModeFull": "Detailbearbeitung", "ViewModeRecord": "Aufnahmemodus", "ViewModeImport": "Import Assistent", "Cuesheet filename": "Cuesheet Dateiname", diff --git a/AudioCuesheetEditor/Resources/Localization/OptionsDialog/en.json b/AudioCuesheetEditor/Resources/Localization/OptionsDialog/en.json index 3d7bc2af..d4da8ab8 100644 --- a/AudioCuesheetEditor/Resources/Localization/OptionsDialog/en.json +++ b/AudioCuesheetEditor/Resources/Localization/OptionsDialog/en.json @@ -8,7 +8,7 @@ "Default viewmode": "Default viewmode", "ViewModeFull": "Full edit mode", "ViewModeRecord": "Live record mode", - "ViewModeImport": "Import assistant mode", + "ViewModeImport": "Import assistant", "Cuesheet filename": "Cuesheet filename", "Project filename": "Project filename", "Automatically link tracks": "Automatically link tracks", diff --git a/AudioCuesheetEditor/Shared/MainLayout.razor b/AudioCuesheetEditor/Shared/MainLayout.razor index 00a6f2b7..482ae113 100644 --- a/AudioCuesheetEditor/Shared/MainLayout.razor +++ b/AudioCuesheetEditor/Shared/MainLayout.razor @@ -37,7 +37,11 @@ along with Foobar. If not, see - + + @if (displayMenuBar) + { + + } @@ -82,77 +86,13 @@ along with Foobar. If not, see - - - - @_localizer["Export"] - - - - - - - - - - - - - - - - - - - - @_localizer["Select ViewMode"] - - - @foreach (var name in Enum.GetNames(typeof(ViewMode))) - { - - - - } - - - - - - - @_localizer["Reset"] - - - - - - - - - - - - - - - - - - } - - - + @_localizer["Help"] @@ -163,9 +103,106 @@ along with Foobar. If not, see - - @Body - + + @if (displayMenuBar) + { + + + + + + + + + + + + + @_localizer["ViewMode"] + + + @foreach (var name in Enum.GetNames(typeof(ViewMode))) + { + + + + } + + + + + + + + + + + @_localizer["Export"] + + + + + + + + + + + + + + + + + + + + + + + + + + @_localizer["Reset"] + + + + + + + + + + + + + + + + + + + + + + + + + + + } + + + @Body + + + @@ -376,6 +413,9 @@ along with Foobar. If not, see @code { + //TODO: Top Menu + Bar? sidebar; + public class SelectExportProfileModel { public Guid Id { get; private set; } From 96a39634c363f2507bcc599d5432c85715951b7c Mon Sep 17 00:00:00 2001 From: NeoCoderMatrix86 <40752681+NeoCoderMatrix86@users.noreply.github.com> Date: Wed, 10 Apr 2024 11:31:13 +0200 Subject: [PATCH 02/46] Update MainLayout.razor --- AudioCuesheetEditor/Shared/MainLayout.razor | 56 ++++++++++----------- 1 file changed, 27 insertions(+), 29 deletions(-) diff --git a/AudioCuesheetEditor/Shared/MainLayout.razor b/AudioCuesheetEditor/Shared/MainLayout.razor index 482ae113..4395911a 100644 --- a/AudioCuesheetEditor/Shared/MainLayout.razor +++ b/AudioCuesheetEditor/Shared/MainLayout.razor @@ -59,35 +59,32 @@ along with Foobar. If not, see @if (displayMenuBar) { - - - - - - - - - - - - - - - + + + + + + + + + + } @@ -414,6 +411,7 @@ along with Foobar. If not, see @code { //TODO: Top Menu + //TODO: Make text of undo/redo display only when space is available Bar? sidebar; public class SelectExportProfileModel From d4cc4312466eaa01c07226dd04b339a54c72ef4f Mon Sep 17 00:00:00 2001 From: NeoCoderMatrix86 <40752681+NeoCoderMatrix86@users.noreply.github.com> Date: Wed, 10 Apr 2024 14:14:15 +0200 Subject: [PATCH 03/46] Update MainLayout.razor --- AudioCuesheetEditor/Shared/MainLayout.razor | 106 ++++++++++++-------- 1 file changed, 62 insertions(+), 44 deletions(-) diff --git a/AudioCuesheetEditor/Shared/MainLayout.razor b/AudioCuesheetEditor/Shared/MainLayout.razor index 4395911a..32c9da3e 100644 --- a/AudioCuesheetEditor/Shared/MainLayout.razor +++ b/AudioCuesheetEditor/Shared/MainLayout.razor @@ -37,10 +37,18 @@ along with Foobar. If not, see - - @if (displayMenuBar) + + @if ((displayMenuBar) && (sidebar != null)) { - + //Just a little a hack for displaying a toggler for the sidebar always and independent from the breakpoint of the top bar + + + } @@ -57,47 +65,56 @@ along with Foobar. If not, see - @if (displayMenuBar) - { - - - - - - - - - - - } - - - - - - - @_localizer["Help"] - - - @_localizer["About"] - - + + + @if (displayMenuBar) + { + + + + + + + + + + + + + } + + + + + + + + + + + @_localizer["Help"] + @_localizer["About"] + + + + + @@ -412,6 +429,7 @@ along with Foobar. If not, see @code { //TODO: Top Menu //TODO: Make text of undo/redo display only when space is available + //TODO: Language selection in top menu Bar? sidebar; public class SelectExportProfileModel From 719da63429744a490d791e8fc5037ceecbfc5b59 Mon Sep 17 00:00:00 2001 From: NeoCoderMatrix86 <40752681+NeoCoderMatrix86@users.noreply.github.com> Date: Wed, 10 Apr 2024 14:25:41 +0200 Subject: [PATCH 04/46] Update MainLayout.razor --- AudioCuesheetEditor/Shared/MainLayout.razor | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/AudioCuesheetEditor/Shared/MainLayout.razor b/AudioCuesheetEditor/Shared/MainLayout.razor index 32c9da3e..61c3f7ac 100644 --- a/AudioCuesheetEditor/Shared/MainLayout.razor +++ b/AudioCuesheetEditor/Shared/MainLayout.razor @@ -51,18 +51,12 @@ along with Foobar. If not, see } - - - - - - - - - - AudioCuesheetEditor - - + + + + + + AudioCuesheetEditor From 81bf75762a05d974d69b9586a399c3494483b8bf Mon Sep 17 00:00:00 2001 From: NeoCoderMatrix86 <40752681+NeoCoderMatrix86@users.noreply.github.com> Date: Wed, 10 Apr 2024 14:37:20 +0200 Subject: [PATCH 05/46] Update MainLayout.razor --- AudioCuesheetEditor/Shared/MainLayout.razor | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/AudioCuesheetEditor/Shared/MainLayout.razor b/AudioCuesheetEditor/Shared/MainLayout.razor index 61c3f7ac..e91f2f46 100644 --- a/AudioCuesheetEditor/Shared/MainLayout.razor +++ b/AudioCuesheetEditor/Shared/MainLayout.razor @@ -37,7 +37,7 @@ along with Foobar. If not, see - + @if ((displayMenuBar) && (sidebar != null)) { //Just a little a hack for displaying a toggler for the sidebar always and independent from the breakpoint of the top bar @@ -71,9 +71,7 @@ along with Foobar. If not, see - - @_localizer["Undo"] - + @_localizer["Undo"] @@ -84,9 +82,7 @@ along with Foobar. If not, see - - @_localizer["Redo"] - + @_localizer["Redo"] @@ -421,8 +417,6 @@ along with Foobar. If not, see @code { - //TODO: Top Menu - //TODO: Make text of undo/redo display only when space is available //TODO: Language selection in top menu Bar? sidebar; From 7a19055809528c9f9f136799e64c2eb2ad9fe3e0 Mon Sep 17 00:00:00 2001 From: NeoCoderMatrix86 <40752681+NeoCoderMatrix86@users.noreply.github.com> Date: Wed, 10 Apr 2024 15:05:48 +0200 Subject: [PATCH 06/46] Added culture selection to top menu --- AudioCuesheetEditor/Shared/CultureSelector.razor | 4 ++-- AudioCuesheetEditor/Shared/MainLayout.razor | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/AudioCuesheetEditor/Shared/CultureSelector.razor b/AudioCuesheetEditor/Shared/CultureSelector.razor index c78bbf7a..d8bb3c73 100644 --- a/AudioCuesheetEditor/Shared/CultureSelector.razor +++ b/AudioCuesheetEditor/Shared/CultureSelector.razor @@ -24,12 +24,12 @@ along with Foobar. If not, see @inject LocalStorageOptionsProvider _localStorageOptionsProvider - + - +